Re: Port forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux