[Novalug] iptables - persistant local rules

greg pryzby greg@pryzby.org
Sat Feb 28 20:39:41 EST 2015


http://wiki.centos.org/HowTos/Network/IPTables

iptables .....
service iptables save

On Sat, Feb 28, 2015 at 6:39 PM, Jon LaBadie via Novalug
<novalug@firemountain.net> wrote:
> CentOS 6.6
>
> It seems that on start up, iptables initializes its
> rule set from /etc/sysconfig/iptables.
>
> I can add a rule there and it does take effect when
> iptables is restarted.
>
> However, /etc/sysconfig/iptables is overwritten by
> the gui firewall builder (or configurer) and comments
> in the file advise don't hand edit.
>
> So what is the proper way to get a rule added to
> iptables on each start up, one that won't get
> overwritten?
>
> Jon
> --
> Jon H. LaBadie                  novalugml@jgcomp.com
>  11226 South Shore Rd           (703) 787-0688 (H)
>  Reston, VA  20190              (703) 935-6720 (C)
> **********************************************************************
> The Novalug mailing list is hosted by firemountain.net.
>
> To unsubscribe or change delivery options:
> http://www.firemountain.net/mailman/listinfo/novalug



-- 
greg pryzby                              greg at pryzby dot org
http://www.linkedin.com/in/gpryzby

TWTR: gpryzby
WEB:  http://www.MakeRoomForArt.com/
BLOG: http://lonetrikerphotography.tumblr.com/ (photos)



More information about the Novalug mailing list