LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Debian + ipchains: protocol not available (https://www.linuxquestions.org/questions/linux-security-4/debian-ipchains-protocol-not-available-104316/)

jleavitt 10-15-2003 01:50 PM

Debian + ipchains: protocol not available
 
Hello Everyone, sorry to waste your time, I know this is a newbie question but I really need some help!

I am trying to setup a firewall on a debian machine. No matter which firewall software I try and run I still get the same message

ipchains: protocol not available.

I've tried to apt-get ipchains and it sais that I alrady have the newest version. Also when I try to setup a new rule "ipchains -N fw1" I get the same message.

So I guess the question is what did I do wrong? What do I do to fix it? and what type of firewall should I be running on a debian machine?

Thank you for your time!

-jim

crabboy 10-15-2003 01:56 PM

If you have a fairly recent version of debian (kernel version > 2.4) you will need to use iptables instead of ipchains. ipchains is older and used with the 2.2 version of the kernel.

jleavitt 10-15-2003 02:10 PM

Ok thanks,I am using debian 3.0 woody, it uses a 2.2 version of the kernel. But it still doesn't work? Any suggestions?

unSpawn 10-16-2003 09:03 AM

Does lsmod show the ipchains.o module loaded?

jleavitt 10-16-2003 09:43 AM

no lsmod only shows me:

parport_pc
parport
af_packet

thats it.

So i am going to assume that means that ipchains is not running? Do I just need to install the module? or just start it up?

Please advise!

unSpawn 10-16-2003 09:54 AM

See if you got it: "find /lib/modules/$(uname -r) -type f -name ipchains.o", then try to "insmod" it manually.

jleavitt 10-17-2003 09:24 AM

I get nothing when I search for the module. So I am gonna guess that it means I dont have it and I should get it and install it. Thanks for your help!


All times are GMT -5. The time now is 11:18 PM.