View previous topic :: View next topic |
Author |
Message |
sinz n00b
Joined: 04 Dec 2003 Posts: 9
|
Posted: Wed Jan 28, 2004 11:03 pm Post subject: iptables ? |
|
|
Hi,
Im trying to get xmail working on my gentoo box and it seams to want iptables. I have trying emerge'ing iptables but when I go to run it, it says
"modprobe: Can't locate module ip_tables
iptables v1.2.8: can't initialize iptables table `nat': iptables who? (do you need to insmod?)"
Im fairly new to linux and would appreciate any help or even a point in the right direction.
Thanks,
Mick _________________ Where there is hope, there is Linux. |
|
Back to top |
|
|
maxcow Tux's lil' helper
Joined: 04 Jul 2003 Posts: 126
|
Posted: Thu Jan 29, 2004 12:57 am Post subject: |
|
|
you need to compile the module iptables in your kernel:
do as root:
Code: | cd /usr/src/linux
make menuconfig
(search the iptables module and press M, then exit)
(then do one of these:)
make && make modules_install (this is for a 2.6 kernel)
make dep && make clean bzImage modules
modules_install (for a 2.4 kernel)
mount /boot
cp arch/i386/boot/bzImage /boot |
then you have to reboot.
then you can include the iptables module doing
or maybe it's done at automatically at boot.
Last edited by maxcow on Thu Jan 29, 2004 1:00 am; edited 1 time in total |
|
Back to top |
|
|
triwebb1 Tux's lil' helper
Joined: 19 Oct 2003 Posts: 87
|
Posted: Thu Jan 29, 2004 12:58 am Post subject: |
|
|
Is xmail a mail client? If it is, then just use a different one. If you really want xmail, then I guess you will need to compile the iptables stuff in your kernel. You will need to eneble ip netfiltering and nat support in the kernel, then recompile the userland iptables (emerge iptables). |
|
Back to top |
|
|
Aphex3K Apprentice
Joined: 18 Nov 2003 Posts: 182 Location: Germany
|
Posted: Thu Jan 29, 2004 7:47 am Post subject: |
|
|
maxcow wrote: | you need to compile the module iptables in your kernel:
do as root:
Code: | cd /usr/src/linux
make menuconfig
(search the iptables module and press M, then exit) |
|
I wonder if you could give me a hand on where to find this option. I'm confused by the menu-config. I think it should be somewhere around networking...
What about IP-Filtering and/or Socketfiltering? Are they necessary to get iptables to work?
Thanks in Advance _________________ managing a server running gentoo... |
|
Back to top |
|
|
Baldzius Apprentice
Joined: 17 Mar 2003 Posts: 154 Location: Lithuania
|
Posted: Thu Jan 29, 2004 11:14 am Post subject: |
|
|
Aphex3K wrote: | I wonder if you could give me a hand on where to find this option. I'm confused by the menu-config. I think it should be somewhere around networking...
What about IP-Filtering and/or Socketfiltering? Are they necessary to get iptables to work?
Thanks in Advance |
It is under Networking Options -> Network packet filtering (replaces ipchains)
Then you go IP:Netfilter configuration ---> and select options you need {i prefer selecting all as modules} |
|
Back to top |
|
|
Aphex3K Apprentice
Joined: 18 Nov 2003 Posts: 182 Location: Germany
|
Posted: Thu Jan 29, 2004 1:20 pm Post subject: |
|
|
Baldzius wrote: | It is under Networking Options -> Network packet filtering (replaces ipchains)
Then you go IP:Netfilter configuration ---> and select options you need {i prefer selecting all as modules} |
Thanks, i'll try this and leave the Network-/Socketfiltering unchecked... _________________ managing a server running gentoo... |
|
Back to top |
|
|
|