From: Richard A Downing <richard.downing@bcs.org.uk>
To: netfilter@lists.samba.org
Subject: Masquerade (Newbie)
Date: Sun, 9 Jun 2002 16:47:32 +0100 [thread overview]
Message-ID: <200206091647.32562.richard.downing@bcs.org.uk> (raw)
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
next reply other threads:[~2002-06-09 15:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-09 15:47 Richard A Downing [this message]
2002-06-09 15:56 ` Masquerade (Newbie) 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200206091647.32562.richard.downing@bcs.org.uk \
--to=richard.downing@bcs.org.uk \
--cc=netfilter@lists.samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox