i just can't figure out how to do it!
this box is running gentoo, with a 2.6.17 kernel
in make menuconfig, i've tried messing with the networking ==> networking options ==> network packet filtering section, but no matter how many times i try, i just can't seem to get it to work!
its been a while since i've touched linux, so im a bit rusty, but i used to use the following set of commands to enable nat to share my box's internet connection
Code:
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
however, these commands fail because it cant find the module iptable_nat
Code:
localhost linux # modprobe iptable_nat
FATAL: Module iptable_nat not found.
localhost linux # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
FATAL: Module ip_tables not found.
iptables v1.3.5: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
so, can you guys help me get this module up and running? >.< i hate using my router to distribute internet xD