* Troubles with NAT/MASQUERADE
@ 2003-12-22 19:03 Gary Thomas
0 siblings, 0 replies; only message in thread
From: Gary Thomas @ 2003-12-22 19:03 UTC (permalink / raw)
To: 'Netfilter Mailinglist'
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-22 19:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-22 19:03 Troubles with NAT/MASQUERADE Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox