|
Hello,
I'm trying to setup NAT on a MIPs platform. I
applied the patches from the Iptable v1.2.5 distribution to the kernel and
rebuilt it along with the netfilter modules.
I can install the kmods for Iptables successfully.
However, the userland iptables command fails with "can't initialize iptables
table `nat`: Bad address".
I searched the user and develop mailing list to no
avail.
Has anyone encountered this problem
before?
Thanks,
Gerald Stanton
Entise Systems, Inc.
bash-2.04# iptables -t nat -A POSTROUTING -o eth1
-j MASQUERADE
iptables v1.2.5: can't initialize iptables table `nat': Bad address Perhaps iptables or your kernel needs to be upgraded. bash-2.04#
lsmod
Module Size Used by iptable_nat 19968 0 (unused) ip_conntrack 20480 1 [iptable_nat] ip_tables 16160 3 [iptable_nat] bash-2.04# depmod -ae
bash-2.04#
lsmod
Module Size Used by iptable_nat 19968 0 (unused) ip_conntrack 20480 1 [iptable_nat] ip_tables 16160 3 [iptable_nat] bash-2.04# insmod ipt_MASQUERADE
Using /lib/modules/2.4.17sb20020206/kernel/net/ipv4/netfilter/ipt_MASQUERADE.o bash-2.04#
lsmod
Module Size Used by ipt_MASQUERADE 1856 0 (unused) iptable_nat 19968 0 [ipt_MASQUERADE] ip_conntrack 20480 1 [ipt_MASQUERADE iptable_nat] ip_tables 16160 4 [ipt_MASQUERADE iptable_nat] bash-2.04# iptables -t nat -A POSTROUTING -o eth1
-j MASQUERADE
iptables v1.2.5: can't initialize iptables table `nat': Bad address Perhaps iptables or your kernel needs to be upgraded. bash-2.04#
|
