You are not logged in.

#1 2011-11-27 07:01:14

mike55
Member
Registered: 2010-08-13
Posts: 16

iptables won't start [solved]

Hello,

I recently installed ArchLinux and updated it with pacman -Syu

I went to (among other things) install some firewall rules from iptables, in what I hope was the correct way...

iptables-save > /etc/iptables/iptables.rules
/etc/rc.d/iptables restart

I tried to list the rules here...

[root@localhost etc]# iptables --list
FATAL: Could not load /lib/modules/2.6.32-lts/modules.dep: No such file or directory
iptables v1.4.12.1: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
[root@localhost etc]# /etc/rc.d/iptables start
:: Starting IP Tables                                                                  [FAIL]
[root@localhost etc]#

I have no idea what to do.  I figured something is configured wrong somewhere, but my poor googling skills weren't able to save me. sad

[root@localhost etc]# uname -r
2.6.32-lts
[root@localhost modules]# cd /lib/modules
[root@localhost modules]# dir
2.6.18-194.17.4.el5xen  2.6.32.48-1-lts  extramodules-2.6.32-lts
[root@localhost modules]#

Last edited by mike55 (2011-11-27 16:30:10)

Offline

#2 2011-11-27 12:41:20

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: iptables won't start [solved]

HI Mike,
check if you followed step 1 of the iptables wiki:
https://wiki.archlinux.org/index.php/Ip … stallation

Last edited by Strike0 (2011-11-27 12:42:29)

Offline

#3 2011-11-27 12:56:51

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: iptables won't start [solved]

don't update the kernel if you don't plan to reboot.


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2011-11-27 16:29:58

mike55
Member
Registered: 2010-08-13
Posts: 16

Re: iptables won't start [solved]

Wow I r stupid.  Thanks a lot smile

Offline

Board footer

Powered by FluxBB