View previous topic :: View next topic |
Author |
Message |
treelin Tux's lil' helper
Joined: 12 Aug 2009 Posts: 105
|
Posted: Sun Aug 16, 2009 12:24 pm Post subject: firewall setup |
|
|
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 |
|
|
TA Munchkin n00b
Joined: 31 Jul 2009 Posts: 11 Location: USica
|
Posted: Sun Aug 16, 2009 7:09 pm Post subject: |
|
|
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 |
|
|
vincent- Retired Dev
Joined: 13 Jan 2007 Posts: 415 Location: Valencia (Spain)
|
Posted: Mon Aug 17, 2009 8:51 am Post subject: |
|
|
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 |
|
|
vincent- Retired Dev
Joined: 13 Jan 2007 Posts: 415 Location: Valencia (Spain)
|
Posted: Mon Aug 17, 2009 8:57 am Post subject: |
|
|
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 |
|
|
treelin Tux's lil' helper
Joined: 12 Aug 2009 Posts: 105
|
Posted: Mon Aug 17, 2009 8:58 am Post subject: |
|
|
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 |
|
|
vincent- Retired Dev
Joined: 13 Jan 2007 Posts: 415 Location: Valencia (Spain)
|
Posted: Mon Aug 17, 2009 9:10 am Post subject: |
|
|
Have you recompiled the kernel and are you using the new kernel image that supports ipv6 and iptables for ipv6? |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Mon Aug 17, 2009 2:58 pm Post subject: |
|
|
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 |
|
|
|