Web Hosting Talk







View Full Version : ouch...bastille firewall with Cpanel


conanqtran
03-10-2003, 02:10 PM
Hi all, i installed bastille firewall, everything is fine untill i start the firewall, i got this:


root@baby [~]# /etc/rc.d/init.d/bastille-firewall restart
modprobe: Can't open dependencies file /lib/modules/2.4.20-hostnoc-686smp-1/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.20-hostnoc-686smp-1/modules.dep (No such file or directory)
iptables v1.2.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
modprobe: Can't open dependencies file /lib/modules/2.4.20-hostnoc-686smp-1/modules.dep (No such file or directory)
iptables v1.2.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
modprobe: Can't open dependencies file /lib/modules/2.4.20-hostnoc-686smp-1/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.20-hostnoc-686smp-1/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.20-hostnoc-686smp-1/modules.dep (No such file or directory)
Setting up IP spoofing protection... done.
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
Allowing traffic from trusted interfaces... done.
Setting up chains for public/internal interface traffic... done.
Setting up general rules... done.
Setting up outbound rules... done.

what about it, could you give me some info? looks like there are errors: something to do with my kernel, but the firewall is running

thanks :)

inteltechs
03-10-2003, 02:20 PM
you need to recompile your kernel

conanqtran
03-10-2003, 02:27 PM
i can tell the the firewall is running on my system and it blocks those ports that i wanted to blocks, so does this mean that the firewall is working probably?

i have know clue how to recompile my kernel though...any step by step info on this would be great, thanks :)

inteltechs
03-10-2003, 02:38 PM
Originally posted by conanqtran
i can tell the the firewall is running on my system and it blocks those ports that i wanted to blocks, so does this mean that the firewall is working probably?

i have know clue how to recompile my kernel though...any step by step info on this would be great, thanks :)

you can try the lastest rpm kernel release from redhat. After you get the rpm file... do rpm -Uvh name_of_the_latest_kernel_file. You might have to restall bastille but it will work.

conanqtran
03-10-2003, 02:44 PM
so u mean the latset kernel release from redhat got iptable support yeah or do i need to configure something else

thanks for the help though ;)

inteltechs
03-10-2003, 02:46 PM
Originally posted by conanqtran
so u mean the latset kernel release from redhat got iptable support yeah or do i need to configure something else

thanks for the help though ;)

you don't need to configure anything else after running rpm -Uvh xxx... you might check the bootloader to make sure it will boot the redhat kernel image.

conanqtran
03-10-2003, 02:52 PM
thanks, care to give me the link to the red hat 7.3 latest kernel :D

conanqtran
03-10-2003, 09:23 PM
I have Nocster support guy (Herb) recomplied my kernel with the IPTables options built in as modules. Then I went ahead and reinstall Bastille, working like a charm now :D

Big thank to Herb (Herbert Jackson) for saving my day