I have followed the NAT-HOWTO to set up iptables1-2.6a with kernel 2.4.18,
using modules.

The iptables_nat module loads fine, but 

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

gives: iptables: No chain/target/match by that name

I've checked that the 'libipt_MASQUERADE.so' file is in /usr/lib/iptables.  If I 
command:
iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to 62.255.122.217
then this happens:

iptables -t nat --list
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       all  --  anywhere             anywhere           to:192.168.1.0

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

So now I'm stumped!

What I am attempting to do is to rpovide my other two machines on my
local LAN (192.168.1....) with internet access via 192.168.1.3 using ppp.
If I get this to the point where it works then it will be worth mu while buying
into broadband.

Sorry to be so stupid, all suggestions welcomed.

Richard

Reply via email to