Floog
06-22-2002, 11:06 AM
Please help me get iptables ver. 1.2.6a working on my routerbox. As of last night, I have spent 32 hours recompiling kernel 2.4.18 and re-installing iptables to try to get my firewall rules working, but still no go.
I've been all over netfilter.org and google.com/linux, but can't figure out what I am doing incorrectly.
Here's the error message upon booting routerbox, which is a p166 mhz, 64 megs. RAM, Slack 8, kernel 2.4.18, and iptables 1.2.6a:
iptables v1.2.6a: 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 have tried configuring the kernel with all the netfilter, nat, and iptables options built-in to the kernel itself. I have also tried doing configuration with all the iptables stuff as Modules.
Kernel recompile goes perfectly normal--- that's right, I sit and watch for hours to see if I can glean any warning or error messages.
eth0 is up and can access the dsl router/internet.
eth1 is recognized but not passing any packets back and forth to LAN clients because iptables is not functioning.
Here's the entirety of my rc.firewall file; it's pretty much wide open just to get things off the ground:
iptables -F FORWARD
iptables -F INPUT
iptables -F OUTPUT
iptables -F OUTPUT
iptables -t nat -F POSTROUTING
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
All thoughts and ideas are greatly appreciated.
Please help this tired and desperate fella.
Mike
I've been all over netfilter.org and google.com/linux, but can't figure out what I am doing incorrectly.
Here's the error message upon booting routerbox, which is a p166 mhz, 64 megs. RAM, Slack 8, kernel 2.4.18, and iptables 1.2.6a:
iptables v1.2.6a: 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 have tried configuring the kernel with all the netfilter, nat, and iptables options built-in to the kernel itself. I have also tried doing configuration with all the iptables stuff as Modules.
Kernel recompile goes perfectly normal--- that's right, I sit and watch for hours to see if I can glean any warning or error messages.
eth0 is up and can access the dsl router/internet.
eth1 is recognized but not passing any packets back and forth to LAN clients because iptables is not functioning.
Here's the entirety of my rc.firewall file; it's pretty much wide open just to get things off the ground:
iptables -F FORWARD
iptables -F INPUT
iptables -F OUTPUT
iptables -F OUTPUT
iptables -t nat -F POSTROUTING
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
All thoughts and ideas are greatly appreciated.
Please help this tired and desperate fella.
Mike