Hello! Sorry if this question is already asked, but I not finding answer for it... I have server with CentOS 6.4, later it will be router for home network. When I tried tune iptables I have error: [root at gateway sysconfig]# iptables -t NAT -A POSTROUTING -o eth0 -j MASQUERADE 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. iptables 1.4.7 (latest version), custom kernel 3.8.3. from kernel.org (too latest version) How to fix this error, it's desirable without rebuild kernel?
On 03/22/2013 02:16 PM, Andrey B. Kiselev wrote:> Hello! > > Sorry if this question is already asked, but I not finding answer for it... > I have server with CentOS 6.4, later it will be router for home network. > > When I tried tune iptables I have error: > [root at gateway sysconfig]# iptables -t NAT -A POSTROUTING -o eth0 -j > MASQUERADE > 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. > > iptables 1.4.7 (latest version), custom kernel 3.8.3. from kernel.org (too > latest version) > > How to fix this error, it's desirable without rebuild kernel?The NAT table is actually 'nat', not 'NAT'. Try it with the lower case and you should have better luck. -Zack
>From: Andrey B. Kiselev <mr.slonoboy at gmail.com> >To: centos at centos.org >Sent: Friday, March 22, 2013 11:16 AM >Subject: [CentOS] Problems with 'iptables'>>Hello! > >Sorry if this question is already asked, but I not finding answer for it... >I have server with CentOS 6.4, later it will be router for home network. > >When I tried tune iptables I have error: >[root at gateway sysconfig]# iptables -t NAT -A POSTROUTING -o eth0 -j >MASQUERADE >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. > >iptables 1.4.7 (latest version), custom kernel 3.8.3. from kernel.org (too >latest version) > >How to fix this error, it's desirable without rebuild kernel?_______________________________________________ ==Try lowercase 'nat' (instead of uppercase 'NAT'). If life gives you lemons, keep them-- because hey.. free lemons. "~heart~ Sticker"? fixer:? http://microflush.org/stuff/stickers/heartFix.html