View previous topic :: View next topic |
Author |
Message |
arachn1d Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/202445774740f24df058ac6.jpg)
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Mon Apr 19, 2004 5:36 am Post subject: IP_TABLES ERROR |
|
|
I can't get ip_tables to work with my system
keeps giving me errors
An error occured when checking your current IPtables configuration :
modprobe: Can't locate module ip_tables
iptables v1.2.9: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
This may indicate that your kernel does not support IPtables
with webmin and even by hand
I re-cnofigured the kernel to support it even added everything there but still no luck anyone help plz?
or can someone point me in the direction of another good firewall...? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gava77 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Kenny.jpg)
Joined: 12 Jan 2003 Posts: 6 Location: Groningen, The Netherlands
|
Posted: Mon Apr 19, 2004 8:55 am Post subject: |
|
|
Please can you post your dmesg? You and we) can see IF your kernel is loading IPTABLES. Furthermore you should:
Code: |
# rc-update add iptables default
|
what states rc-status?
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Janne Pikkarainen Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/10433783463f526aba4144d.jpg)
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Mon Apr 19, 2004 9:45 am Post subject: |
|
|
Try to compile kernel iptables support as modules, if it is not so already. You may also try re-emerging iptables. _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nikolei n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar32.gif)
Joined: 15 Dec 2003 Posts: 37
|
Posted: Mon Apr 19, 2004 10:14 am Post subject: |
|
|
this error messages says, that you have forgotten activate
Networking Options --> Netfilter Configration --> Packet Filtering
in the kernel.
so activate it and compile the kernel. then it will work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arachn1d Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/202445774740f24df058ac6.jpg)
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Mon Apr 19, 2004 7:01 pm Post subject: |
|
|
okay thanks im not at my server now but i will check it...
how do i show you mmy kernel config?
( sorry im noobie )
thx all for your help i appreciate it! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arachn1d Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/202445774740f24df058ac6.jpg)
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Tue Apr 20, 2004 5:18 am Post subject: |
|
|
everything in netfilter is * |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nikolei n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar32.gif)
Joined: 15 Dec 2003 Posts: 37
|
Posted: Tue Apr 20, 2004 9:59 am Post subject: |
|
|
then there might be three possibilieties:
(1) a missmatch between your version of iptables and the kernel
(2) restrictions to access kernel parameters (normally also kernel based!).
(3) a typical computerproblem like "it does not work, but there is no reason. but someday it will work and we do not know why." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arachn1d Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/202445774740f24df058ac6.jpg)
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Wed Apr 21, 2004 6:45 am Post subject: |
|
|
how would i fix 1 or 2? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arachn1d Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/202445774740f24df058ac6.jpg)
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Thu Apr 22, 2004 3:09 am Post subject: |
|
|
bumpy |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kallamej Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3896974784c480ee5977f8.gif)
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Thu Apr 22, 2004 8:31 am Post subject: |
|
|
If you compile your kernel by hand the config file is /usr/src/linux/.config. If you use genkernel it is in /etc/genkernel or something like that.
In make menuconfig (or genkernel --menuconfig), under Network Options, do you have [*] Network packet filtering (replaces ipchains)? Then, under IP: Netfilter Configuration ---> make everything [M] as Janne Pikkarainen suggested. Then follow the normal procedures for compiling the kernel as given in the handbook. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arachn1d Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/202445774740f24df058ac6.jpg)
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Fri Apr 23, 2004 6:51 am Post subject: |
|
|
yes i have that |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kallamej Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3896974784c480ee5977f8.gif)
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Fri Apr 23, 2004 8:17 am Post subject: |
|
|
Just to make sure the modules are there. What's the output of Code: | ls -l /lib/modules/`uname -r`/kernel/net/ipv4/netfilter/ip_tables.* |
And you didn't forget to mount /boot before copying the new kernel? You may also want to consult the security guide. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arachn1d Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/202445774740f24df058ac6.jpg)
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Sat Apr 24, 2004 4:50 pm Post subject: |
|
|
oolo i didnt mount anything..
do i have to?
i did that line and i got no such directory |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kallamej Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3896974784c480ee5977f8.gif)
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Sun Apr 25, 2004 4:14 pm Post subject: |
|
|
If you have a separate boot partition you have to mount it before you copy a new kernel to it. Otherwise it's as good as copying it to /dev/null, the kernel won't be were your boot loader is looking for it. If you still have everything compiled built in the kernel, you won't have the modules, and most probably not the directory. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|