First page Back Continue Last page Summary Graphic
Add Port Forwarding Rules
Now that port forwarding is enabled, we need to add a rule telling it how we want our web traffic forwarded. In the ipchains resource script, add these lines:
echo -n "Allowing Web from the Internet to 192.168.100.2.."
/usr/sbin/ipmasqadm portfw -a -P tcp -L 206.55.55.254 80 -R 192.168.100.2 80
This says redirect traffic coming to 206.55.55.254 on port 80 to 192.168.100.2 on port 80.
Notes: