Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Romain Moyne <aero_climb@yahoo.fr>
To: Andreas Kretschmer <andreas_kretschmer@despammed.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: [despammed] port translation
Date: Sun, 11 Jan 2004 12:03:57 +0100	[thread overview]
Message-ID: <40012D9D.3000201@yahoo.fr> (raw)
In-Reply-To: <20040111104602.GA2551@kaufbach.delug.de>

Andreas Kretschmer a écrit :

>am  Sun, dem 11.01.2004, um 11:21:17 +0100 mailte Romain Moyne folgendes:
>  
>
>>Hello,
>>
>>I'm French and my english is bad ;)
>>    
>>
>
>I'm German and my english is bad, too ;-)
>
>  
>
>>I have a http server (debian 3.0) behind a router (debian 3.0). I have a 
>>problem when I want to log the visitor's IP of my website with PHP or 
>>Perl or all language. I have always the IP of my router ! Somebody tell 
>>me that I must do port translation but I have searched and I haven't 
>>fand anything.
>>Can you help me ?
>>This is the rules of my router :
>>
>>iptables -t nat -A PREROUTING -d MyIP -p tcp --dport 80 -j DNAT 
>>--to-destination 192.168.0.3:80
>>    
>>
>
>With this rule you make a 'DNAT', the WebServer can only see the
>Source-IP from your router.
>
>You can install a WebServer or an Proxy for your Webserver on the
>router, than you can see the visitor's IP and you can log this.
>
>A other way is to analyse the logged packets on the router.
>
>
>Andreas
>  
>
There isn't another possibility ? I must install a proxy ? (a proxy with 
a pentium 133Mhz will run bad ?)



  reply	other threads:[~2004-01-11 11:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-11 10:21 port translation Romain Moyne
2004-01-11 10:46 ` [despammed] " Andreas Kretschmer
2004-01-11 11:03   ` Romain Moyne [this message]
2004-01-11 11:28     ` Andreas Kretschmer
2004-01-11 11:37 ` Antony Stone
2004-01-11 12:43 ` Cedric Blancher
2004-01-11 12:53   ` Romain Moyne
2004-01-11 13:03     ` Antony Stone
2004-01-11 13:32     ` Cedric Blancher
2004-01-11 13:45       ` Romain Moyne
2004-01-11 13:55         ` Antony Stone
2004-01-11 14:03           ` Romain Moyne
2004-01-16 22:32 ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40012D9D.3000201@yahoo.fr \
    --to=aero_climb@yahoo.fr \
    --cc=andreas_kretschmer@despammed.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox