Re: How to preserve iptables when running the GUI tool ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Dec 5, 2011 at 3:09 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:
>
>> Not sure what the GUI tool does (I'd assume it clears iptables if you
>> tell it to disable the firewall...) but 'service iptables save' writes
>> a file named iptables in /etc/sysconfig that you should be able to
>> back up somewhere.  However, a normal 'service iptables stop'  which
>> will happen in a shutdown/reboot, etc. will also overwrite that file.
>
> no it does not
>
> since my first begin with linux i generate iptables-rules with shells-cripts
> calling "service iptables save" at the end and stop iptables will NEVER
> touch this rules

Hmmm, seems to be optional, depending how IPTABLES_SAVE_ON_STOP (etc.)
 is set in /etc/sysconfig/iptables-config.

-- 
   Les Mikesell
     lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux