iptables /ipchains
Trying to change over to iptables,
I can load iptables and it seems to be working, but it is not masking the internal ip address.
iptables -P FORWARD DROP
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
a look at trafshow shows the masked clients ip address and the destination address. but nothing is making it back to the client. I am not at all familiar with iptables, but I need to do some port forwarding and I cannot get ipmasqadm to work with my 2.4.2-2 kernel.
Anybody doing port forwarding on this kernal with ipchains?
|