Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(solved) Help setting up shorewall
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
<3
l33t
l33t


Joined: 21 Oct 2004
Posts: 950

PostPosted: Thu Jun 02, 2011 7:47 am    Post subject: (solved) Help setting up shorewall Reply with quote

I am pretty newb when it comes to networking and security. Anyways I am trying to set up a simple shorewall firewall on my laptop. I emerged shorewall with the doc use flag and copied the Sample/Universal config files to /etc/shorewall as instructed in the shorewall universal configuration.

Now when I run shorewall check I get this error

Quote:
# shorewall check
Checking...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
WARNING: Unknown configuration option (EXPORTMODULES) ignored : /etc/shorewall/shorewall.conf (line 197)
Loading Modules...
ERROR: Shorewall 4.4.15.1 requires Multi-port Match in your kernel and iptables


I searched the kernel and the only thing with the word "multiport" in it has been compiled in and I don't know how to add it to iptables. Can someone point me into what I should do next?


Last edited by <3 on Mon Jun 06, 2011 5:51 am; edited 1 time in total
Back to top
View user's profile Send private message
griever
n00b
n00b


Joined: 24 Sep 2002
Posts: 57

PostPosted: Sun Jun 05, 2011 9:45 pm    Post subject: Reply with quote

I ran into this with shorewall too.

Maybe this is what you already have enabled in your kernel but I'll offer it up as a suggestion...

Under Networking Support --> Networking Options --> Network packet filtering framework (Netfilter) --> Core Netfilter Configuration --> "multiport" Multiple port match support

I have this compiled into my kernel (2.6.38-gentoo-r6). Shorewall went on to say I needed a few other things enabled, one at a time, so there were multiple kernel compiles (compilations?) that followed.

Hope that helps.
Back to top
View user's profile Send private message
<3
l33t
l33t


Joined: 21 Oct 2004
Posts: 950

PostPosted: Mon Jun 06, 2011 5:21 am    Post subject: Reply with quote

I don't seem to have this option for ""multiport" Multiple port ". I am running the same kernel version as you.
Back to top
View user's profile Send private message
<3
l33t
l33t


Joined: 21 Oct 2004
Posts: 950

PostPosted: Mon Jun 06, 2011 5:51 am    Post subject: Reply with quote

Found it! I guess I needed to have "Advanced netfilter configuration" enabled in order to see that option. Thx for your help. I wouldn't have found this otherwise.
Back to top
View user's profile Send private message
griever
n00b
n00b


Joined: 24 Sep 2002
Posts: 57

PostPosted: Mon Jun 06, 2011 6:03 am    Post subject: Reply with quote

Did you say "yes" to "advanced netfilter configuration"? It's the item right above the "core netfilter configuration" menu item. If not, then the option for the multiport doesn't show up in the "core netfilter configuration" submenu.
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