Thanks for the files! I found out I have to load them with insmod. Is that correct?
I didn't get it working with modprobe.
Loading ip_tables.ko and iptable_filter.ko was enough.
iptables -L -n works. So far so good.
However, inserting an entry like iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE returns this error:
- Code: Select all
iptables v1.4.12.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
I tried to load iptable_nat.ko but got this error:
- Code: Select all
insmod: can't insert './iptable_nat.ko': unknown symbol in module or invalid parameter
From dmesg:
- Code: Select all
iptable_nat: Unknown symbol nf_nat_packet (err 0)
iptable_nat: Unknown symbol nf_nat_setup_info (err 0)
iptable_nat: Unknown symbol nf_nat_icmp_reply_translation (err 0)
Then I tried to load all modules.
Not all succeeded. These failed with the same type of error:
- ipt_MASQUERADE.ko
ipt_NETMAP.ko
ipt_REDIRECT.ko
iptable_nat.ko
From dmesg:
- Code: Select all
ipt_MASQUERADE: Unknown symbol nf_nat_setup_info (err 0)
ipt_NETMAP: Unknown symbol nf_nat_setup_info (err 0)
ipt_REDIRECT: Unknown symbol nf_nat_setup_info (err 0)
So I guess there is a file missing?