View previous topic :: View next topic |
Author |
Message |
BlackMan890 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/118612446949369fbb22174.gif)
Joined: 03 Jul 2005 Posts: 134 Location: Iceland
|
Posted: Tue Jun 19, 2007 9:59 am Post subject: (Given up) little help with bringing iptables up and running |
|
|
Hello there.
I am having a little problem with bringing the iptables up and running. The only part which gets me down is the part where you configure the kernel.
I checked this wiki: http://gentoo-wiki.com/HOWTO_Iptables_for_newbies
But I cant find any of the options (the only option I can find is the following:
Code: | Networking ---->
Networking options ---->
Network packet filtering framework (Netfilter)---> |
I cant find however the subpackages:
Code: | Core Netfilter Configuration ---->
["enable"] Netfilter connection tracking support--->Layer 3 Independent Connection tracking
["enable"] Netfilter Xtables support (required for ip_tables)
["enable"] "state" match support
IP: Netfilter Configuration --->
["enable"] IPv4 connection tracking support (required for NAT) required by "Layer 3 Independent Connection tracking" above (caused many headaches)
["enable"] IP tables support (required for filtering/masq/NAT)
["enable"] Packet Filtering |
Also I tried doing make && make install module_install but I did not like the end of the install:
Code: | INSTALL net/bluetooth/sco.ko
INSTALL net/ieee80211/ieee80211.ko
INSTALL net/ieee80211/ieee80211_crypt.ko
INSTALL net/ieee80211/ieee80211_crypt_ccmp.ko
INSTALL net/ieee80211/ieee80211_crypt_tkip.ko
INSTALL net/ieee80211/ieee80211_crypt_wep.ko
INSTALL net/ieee80211/softmac/ieee80211softmac.ko
INSTALL net/sunrpc/sunrpc.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map 2.6.20-gentoo-r8; fi
localhost linux # |
Please help me set-up ip_tables.
The following still doesn't work:
Code: | localhost linux # modprobe ip_tables
FATAL: Module ip_tables not found. |
Sincerely:
Jonatan Nilsson
Last edited by BlackMan890 on Tue Jun 19, 2007 6:21 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Tue Jun 19, 2007 4:51 pm Post subject: |
|
|
Well, what do you see?
If you've got this in menuconfig:
Code: |
[*] Networking support
Networking options --->
[*] Network packet filtering framework (Netfilter) --->
|
you should be able to access all the submenus. _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BlackMan890 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/118612446949369fbb22174.gif)
Joined: 03 Jul 2005 Posts: 134 Location: Iceland
|
Posted: Tue Jun 19, 2007 6:21 pm Post subject: |
|
|
That's the thing, there are no submenus
Plus after compiling only modules and rebooting I get Kernel Panic. So I have givin up on the idea of setting up IPTables. I am thinking on using squid instead although I may have to set-up IPTables in order to redirect everything to the proxy :S.
Thanks anyway. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Tue Jun 19, 2007 8:47 pm Post subject: |
|
|
OK, you selected "[*] Network packet filtering framework (Netfilter)"? You have to hit 'y', otherwise there won't be any submenus when you hit enter. _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|