i insert modules located at /lib/modules/2.6.1/kernel/net/ipv4/netfilter like insmod ip_tables.ko insmod iptables_filter.ko and others now iptables works just fine but i after reboot i have to insert them again how to make them permanent ??? Thanks and Regards Talha ----- Original Message ----- From: "Muhammad Talha" <talha@xxxxxxxxxxxxxxxx> To: <netfilter@xxxxxxxxxxxxxxxxxxx> Sent: Tuesday, January 13, 2004 4:53 PM Subject: Re: kernel 2.6.x and iptables > > > > > for both users with the 'failed to initialize' error -- 1) did you build > iptables as modules or > > into the kernel? > > as module > > -- 2) are you *certain* you disabled ipchains > > Yes i disable ipchains > . > > 3) are you *certain* that you built iptables with the correct kernel? > > -- if you change kernels you usually have to rebuilt the iptables > code -- > > export KERNEL_DIR=xxxxx make > > where xxxxx is the full path to your appropriate kernel source code. > > > > yes i select correct kernel > > export KERNEL_DIR=/usr/src/linux-2.6.1 > then > make & make install > > > this is usually caused after a kernel rebuild by building modules and > NOT loading them, especially > > if the iptables stuff was built into the kernel in the previous kernel. > > -- try > > insmod ip_tables > > you might get yet another error ... > > > > Yes u r right :( > > insmod ip_tables > > Can't open 'ip_tables' : No such file or directory > > there is no module ip_module i have search the system > > > Ummm ...anyone know off the top if RedHat puts iptables in as modules or > builds it in? > > > > > > Alistair > > > > >