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@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@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@gmail.com To: centos@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@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
First tried lowercase - no matter, error remains.
2013/3/22 Joseph Spenner joseph85750@yahoo.com
From: Andrey B. Kiselev mr.slonoboy@gmail.com To: centos@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@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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 03/22/2013 02:47 PM, Andrey B. Kiselev wrote:
First tried lowercase - no matter, error remains.
To be fair, as soon as you started recompiling your kernel, you no longer had a supported CentOS system. It starts to call into question what options you have enabled for your custom kernel build. For example, do you have NAT support either built-in to your kernel, or built as a module?
-Zack
2013/3/22 Joseph Spenner joseph85750@yahoo.com
From: Andrey B. Kiselev mr.slonoboy@gmail.com To: centos@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@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').