[CentOS] Problems with 'iptables'

Zack Colgan security-watch-zack at clearbearing.com
Fri Mar 22 20:59:53 UTC 2013


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 at yahoo.com>
> 
>>
>>
>>> 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').





More information about the CentOS mailing list