Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptable module missing after kernel upgrade.
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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 442
Location: India

PostPosted: Mon Jan 20, 2014 2:41 pm    Post subject: iptable module missing after kernel upgrade. Reply with quote

Hi Experts,

I recently upgraded the kernel version on my Server.
make menuconfig, selected the iptable module.
make module_install

Rebooted the server and it came up with the new module

# uname -a
Linux flexcolo 3.12.8
#2 SMP Mon Jan 20 16:05:45 IST 2014 x86_64 x86_64 x86_64 GNU/Linux

Now somehow I am not able run the iptable nat module as it comes up with the below error:-

# iptables -t nat -L
FATAL: Module ip_tables not found.
iptables v1.4.7: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


ip table filter work just fine
iptables -t filter -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere 172.28.124.0/24
ACCEPT all -- anywhere 192.168.210.0/30
ACCEPT all -- anywhere 192.168.0.0/26

When I do lsmod | grep ip

]# lsmod | grep ip
ipmi_si 47206 1
nf_conntrack_ipv4 10417 4
nf_defrag_ipv4 1646 1 nf_conntrack_ipv4
nf_conntrack 89933 3 nf_conntrack_ftp,nf_conntrack_ipv4,xt_state
iptable_filter 1698 1
iptable_mangle 1775 0

I dont see ip_table or iptable_nat module here.

please let know if I need to install them and from where can I download them.

Appreciate all your help in advance.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13504

PostPosted: Tue Jan 21, 2014 2:14 am    Post subject: Reply with quote

You may not have built NAT support for your kernel. If you disabled the NAT table in your kernel configuration, then no module would have been built. If that is the case, you must configure a new kernel with the options you need, then reboot to it.

In general, if you anticipate leaving a feature loaded indefinitely, you should make it builtin.
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