Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Given up) little help with bringing iptables up and running
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
BlackMan890
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2005
Posts: 134
Location: Iceland

PostPosted: Tue Jun 19, 2007 9:59 am    Post subject: (Given up) little help with bringing iptables up and running Reply with quote

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
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Jun 19, 2007 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
BlackMan890
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2005
Posts: 134
Location: Iceland

PostPosted: Tue Jun 19, 2007 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Jun 19, 2007 8:47 pm    Post subject: Reply with quote

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
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