Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot get shorewall to work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
scumsurfer
n00b
n00b


Joined: 02 Jul 2007
Posts: 4

PostPosted: Mon Jul 02, 2007 1:14 pm    Post subject: Cannot get shorewall to work Reply with quote

Hi,

I'm really battling to get Shorewall to work. I know the problem is not with shorewall itself but rather with the kernel/iptables. The error that I get is the following:

ERROR: Traffic Shaping requires mangle support in your kernel and iptables
/sbin/shorewall: line 529: 5390 Terminated $SHOREWALL_SHELL ${SHAREDIR}/compiler $debugging $nolock compile ${VARDIR}/.start

I did add mangle support together with iptables into the kernel (directly, not as modules)

grep -i mangle /usr/src/linux/.config
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_ARP_MANGLE=y
CONFIG_IP6_NF_MANGLE=y

After adding mangle support, I emerged shorewall, iproute2 and iptables. After configuring shorewall and then starting it the error as above appears. Seeing that mangle support is added to the kernel I think the problem lies with iptables because

iptables -t mangle -L
iptables v1.3.5: can't initialize iptables table `mangle': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Otherwise I'm missing something. Any help would be really appreciated.

Thanks

Carl Werner
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Mon Jul 02, 2007 5:05 pm    Post subject: Reply with quote

Can you access the other standard table listings? The only other things that come to mind are that you need to reboot, the net-firewall/iptables package is screwed up, or the error message is right: you need to upgrade net-firewall/iptables.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum