DNAT port forwards won't work from inside.
Posted on 2004-08-04
I have setup DNAT port forwards on my Linux box with IPtables to forward incoming web traffic (or whatever port) to an internal windows box.
It works fine from external machines (ie. other machines on the internet), but it won't work from machines on the Internal network (192.168.0.0/24) which use the linux box as a default gateway to nat out.
I have a friend who says that port forwards on his netgear router work from both internal and external.
How do I configure IPtables so that port forwards will work from inside?