SLUG Mailing List Archives
- To: "'slug@xxxxxxxxxxx'" <slug@xxxxxxxxxxx>
- Subject: [SLUG] Ipforwarding
- From: George Vieira <georgev@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri Aug 11 15:42:30 2000
I have ipmasqadm working well with my setup at home and so on but I have one
My linux firewall is on 200.xxx.xxx.200 and I have routes for
200.xxx.xxx.201 to go to the this firewall. The linux box has a rule for the
201 address be a port forward for port 80 to an internal machine using the
/usr/sbin/ipmasqadm portfw -a -P tcp -L 200.xxx.xxx.201 80 -R 10.0.0.10 80
this is so the outside IP address for 200.xxx.xxx.201:80 goes to an internal
machines web server.
Now what I would like to confirm is how does the firewall IP forward the
internal webservers internal IP back out via the external address and not
the external address of the firewall... eg.. go out as 200.xxx.xxx.201 and
not as 200.xxx.xxx.200
I have the feeling (haven't been able to check) that the internal machine is
masqueraded as the firewalls IP and not the webservers external IP..
Can somebody guide me on how to ipchain this to it's correct rule..??
Citadel Computer Systems P/L