Port forwarding
Andy
ag1234 at carmen.se
Wed Jan 19 08:49:34 UTC 2005
David Hoffman wrote:
> Unless he has a multi-homed system with more than one interface on the
> internet, I'm not sure that forwarding/routing will work.
It works, I even tested this. There is no reason for it not working even
on one interface, provided that:
- you accept port 80 connections,
- you enabled forwarding (echo "1" > /proc/sys/net/ipv4/ip_forward),
- you use both lines in my original posting (DNAT and SNAT),
- you have a route from this computer to the real http server (the
default route is sufficient if you're able to reach the http server from
the forwarding computer).
/Andy
More information about the users
mailing list