Linux Netfilter discussions
 help / color / mirror / Atom feed
* Masquerade (Newbie)
@ 2002-06-09 15:47 Richard A Downing
  2002-06-09 15:56 ` Antony Stone
  0 siblings, 1 reply; 6+ messages in thread
From: Richard A Downing @ 2002-06-09 15:47 UTC (permalink / raw)
  To: netfilter

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-06-10 16:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-09 15:47 Masquerade (Newbie) Richard A Downing
2002-06-09 15:56 ` Antony Stone
     [not found]   ` <200206091704.08650.richard.downing@bcs.org.uk>
2002-06-09 16:21     ` Antony Stone
     [not found]       ` <200206092118.53543.richard.downing@bcs.org.uk>
2002-06-09 21:26         ` Antony Stone
2002-06-10 16:44           ` Richard A Downing
2002-06-10 16:54             ` Francois Chenais

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox