From: Gary Thomas <gary@chez-thomas.org>
To: 'Netfilter Mailinglist' <netfilter@lists.netfilter.org>
Subject: Troubles with NAT/MASQUERADE
Date: 22 Dec 2003 12:03:47 -0700 [thread overview]
Message-ID: <1072119826.25353.25.camel@hermes> (raw)
I'm trying to upgrade from an ipchains (working!) firewall+nat
setup to one using iptables. However, I get stuck when I
try to enable masquerading.
[root@hermes userspace]# ./iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables: Invalid argument
I think the modules I need are loaded:
[root@hermes linux-2.4.20]# lsmod
Module Size Used by Not tainted
ipt_MASQUERADE 2200 0 (autoclean)
ipt_mark 984 0 (autoclean)
iptable_mangle 2776 1 (autoclean)
iptable_nat 22008 1 (autoclean) [ipt_MASQUERADE]
ipt_state 1080 92 (autoclean)
ipt_REJECT 4024 4 (autoclean)
ipt_limit 1560 6 (autoclean)
ipt_LOG 4184 6 (autoclean)
ip_conntrack_ftp 5520 0 (unused)
ip_conntrack_irc 4368 0 (unused)
ip_conntrack 28296 4 [ipt_MASQUERADE iptable_nat ipt_state ip_conntrack_ftp ip_conntrack_irc]
iptable_filter 2412 1 (autoclean)
ip_tables 15096 11 [ipt_MASQUERADE ipt_mark iptable_mangle iptable_nat ipt_state ipt_REJECT ipt_limit ipt_LOG iptable_filter]
<snip>
Any ideas?
--
Gary Thomas <gary@chez-thomas.org>
reply other threads:[~2003-12-22 19:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1072119826.25353.25.camel@hermes \
--to=gary@chez-thomas.org \
--cc=netfilter@lists.netfilter.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