[lug] port forwarding

llornkcor ljp at llornkcor.com
Thu Nov 30 06:01:57 MST 2000


On 11/29/2000 22:23:02, Deva Samartha spoketh thusly:
>I am not sure if that is what you want?
>portforwarding masqueraded on firewall:
>
>ipmasqadm portfw -a -P tcp -L 55.555.555.555 80  -R 99.99.99.99 80
>

thanks, I got it working with
$IPCHAINS -A inet-in -p tcp -s 0.0.0.0/0.0.0.0 6699:6699 -d 0.0.0.0/0.0.0.0 -i $LANDEV -j ACCEPT
$IPMASQ portfw -f
$IPMASQ portfw -a -P tcp -L $LOCALIP 6699 -R 192.168.0.1 6699

,.. heh, it also helps to have the kernel compiled correctly, with port forwarding. I think THAT was my 
stumbling-bumbling block. Can't put a round block through a hole thats not there.

DOH-


LP






More information about the LUG mailing list