Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firewall setup
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
treelin
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2009
Posts: 105

PostPosted: Sun Aug 16, 2009 12:24 pm    Post subject: firewall setup Reply with quote

i had emerged webmin iptables and shorewall.
i put some infos in the webmin https://localhost:10000/
and when i tried to check firewall i took this Checking...
FATAL: Module ip6_tables not found.
ip6tables v1.4.4: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
ERROR: The command "/sbin/ip6tables -N fooX4371" failed
i tried to recomppile my kernel but i did not find networking....perhaps the deafault 2.6.30 kernel has iptables enabled
what have i to do?
thank you
Back to top
View user's profile Send private message
TA Munchkin
n00b
n00b


Joined: 31 Jul 2009
Posts: 11
Location: USica

PostPosted: Sun Aug 16, 2009 7:09 pm    Post subject: Reply with quote

First off is IPv6 necessary? Try recompiling iptables with
Code:
USE="-ipv6" emerge iptables -va
and see if that works, I believe you don't have ipv6 enabled in kernel which could cause that.
Back to top
View user's profile Send private message
vincent-
Retired Dev
Retired Dev


Joined: 13 Jan 2007
Posts: 415
Location: Valencia (Spain)

PostPosted: Mon Aug 17, 2009 8:51 am    Post subject: Reply with quote

make menuconfig

Code:
Networking support
--> Networking options
      --> The IPv6 Protocol


and

Code:
Networking support
--> Networking options
      --> Network packet filtering framework (Netfilter)
            --> IPv6: Netfilter Configuration


Last edited by vincent- on Mon Aug 17, 2009 8:58 am; edited 1 time in total
Back to top
View user's profile Send private message
vincent-
Retired Dev
Retired Dev


Joined: 13 Jan 2007
Posts: 415
Location: Valencia (Spain)

PostPosted: Mon Aug 17, 2009 8:57 am    Post subject: Reply with quote

TA Munchkin wrote:
First off is IPv6 necessary? Try recompiling iptables with
Code:
USE="-ipv6" emerge iptables -va
and see if that works, I believe you don't have ipv6 enabled in kernel which could cause that.


iptables doesn't have any use flag.

Code:
# equery uses net-firewall/iptables
[ Searching for packages matching net-firewall/iptables... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ No USE flags found for net-firewall/iptables-1.4.3.2]


Look the last line -> No USE flags found for net-firewall/iptables-1.4.3.2
Back to top
View user's profile Send private message
treelin
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2009
Posts: 105

PostPosted: Mon Aug 17, 2009 8:58 am    Post subject: Reply with quote

sorry forget the ipv6...i don not have...but i took the same message with ip...
Checking...
FATAL: Module ip_tables not found.
iptables v1.4.4: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
ERROR: The command "/sbin/iptables -N fooX4371" failed
Back to top
View user's profile Send private message
vincent-
Retired Dev
Retired Dev


Joined: 13 Jan 2007
Posts: 415
Location: Valencia (Spain)

PostPosted: Mon Aug 17, 2009 9:10 am    Post subject: Reply with quote

Have you recompiled the kernel and are you using the new kernel image that supports ipv6 and iptables for ipv6?
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Mon Aug 17, 2009 2:58 pm    Post subject: Reply with quote

a lot of those scripts/apps expect all of the iptables stuff to be build as modules, rather than built into the kernel

pain in the rear if you ask me - that's half the reason I ended up just doing my own script, and going the iptables save route
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
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