Hello,
I'm French and my english is bad ;)
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
Romain