[CentOS] Centos6 iptables startup vs. restart?

Les Mikesell lesmikesell at gmail.com
Tue Apr 3 12:25:30 UTC 2012


On Tue, Apr 3, 2012 at 5:54 AM, Dennis Jacobfeuerborn
<dennisml at conversis.de> wrote:
>
>> The iptables redirect works fine once the commands are loaded.  My
>> problem is just that the boot-time startup isn't loading the saved
>> state from /etc/sysconfig/iptables, but a subsequent 'service iptables
>> restart' does - and it is something new in 6.x.
>>
>
> Did you make sure that the service is active and that the iptables service
> is actually startet on bootup?
>
> Try "chkconfig --list iptables" to see if it is active and "chkconfig
> iptables on" to activate it.
>

Yes, it does start, but the initial rules don't include the port
redirection in the nat table.

-- 
  Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list