/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Hi all.
I'm having a spot of bother getting iptables working in any meaningful sense. I'm 
trying to set up a masquerading firewall between my dhcp-governed cable modem 
connection, and an internal network 192.168.1.0
All three interfaces work fine; the internal network works fine; I can ping from my 
windows box through to the external interface on the Linux box; the Linux box can 
access the Internet normally through the modem.
I've always used monolithic kernels before, so forgive me if I'm making a dumb 
mistake. If I insmod the ip_tables module, then run the last line in the HOWTO test 
script (with the interfaces reversed), I get the following:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

modprobe: Can't locate module ip_tables
iptables v1.2.2: can't initialise iptables table 'nat': Table does not exist (do you 
need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I'm running 2.4.6, patched with the latest iptables download. I do note that 
/etc/modules.conf only contains two lines about net-pf-4 and 5. Does this mean that 
modprobe can't look up the modules correctly, or do I have another problem? If I 
insmod ip_conntrack and iptable_nat manually, my error message for the command above 
changes to:
iptables: No chain/target/match by that name
I'm afraid I don't understand that.
So do I need to build a proper /etc/modules.conf, or is the problem worse than that?
All help seriously appreciated.
Cheers,
James

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to