Click to See Complete Forum and Search --> : loading iptables
plasmid
03-28-2001, 06:35 PM
I have been trying to get a firewall working on my new 2.4 kernel. I got iptables using apt-get, but I can't seem to load the modules into the kernel. I tried using modprobe, but it says it can't find the modules. am I doing something wrong?
-plasmid
bdg1983
03-29-2001, 08:53 AM
Does iptables need to be compiled into the kernel?
If not, did you download and install the 2.4 kernel modules?
tachyonism
03-29-2001, 11:23 AM
Take a look at your /lib/modules directory and find iptables modules there.
If there isn't any, you have to compile the kernel again, and modulized all iptables options.
plasmid
03-29-2001, 01:40 PM
Do they need to be in a modular form, or can they be built into the kernel directly?
-plasmid
plasmid
03-29-2001, 11:19 PM
I checked my kernel config...the options were built directly into the kernel, not as modules...do I have to recompile as modules, or can it function as it is built in.
-plasmid
tachyonism
04-04-2001, 06:21 AM
/lib/modules/2.4.2/kernel/net/ipv4/netfilter
There's where I find the iptables modules, and it's containing :
ip_conntrack.o ipt_LOG.o ipt_TOS.o ipt_state.o
ip_conntrack_ftp.o ipt_MARK.o ipt_limit.o ipt_tos.o
ip_nat_ftp.o ipt_MASQUERADE.o ipt_mac.o iptable_filter.o
ip_tables.o ipt_REDIRECT.o ipt_mark.o iptable_mangle.o
ipchains.o ipt_REJECT.o ipt_multiport.o iptable_nat.o
I compiled them as modules, not built in. and works like a charm.
[ 04 April 2001: Message edited by: tachyonism ]