Page 1 of 1

Problem With Logging ip addresses

Posted: Fri Apr 20, 2012 1:49 pm
by vixxant
Need help here .. The problem that i am having is when a client in subnet 172.18.0.0/24 which is added to ether3 tries to access the webserver which is also in ether3 in subnet 192.168.1.0/24 the webserver sees the client ip as 192.168.1.1 which is the ip added to ether3 interface. how can i make it forward the actual client ip which is the 172.18.0.0/24 subnet. thanks

Re: Problem With Logging ip addresses

Posted: Fri Apr 20, 2012 6:28 pm
by Feklar
Narrow down your masquerade rule so that it specifies the out interface of your WAN port.

Re: Problem With Logging ip addresses

Posted: Sat Apr 21, 2012 5:09 pm
by vixxant
that solved the problem .. thanks