Putting nat routing into place permanently? -- service iptables save

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



On Tue, 2005-11-01 at 09:18 -0800, Bryan J. Smith wrote:
> Preston Crawford <me@xxxxxxxxxxxxxxxxxxx> wrote:
> > Okay, here you lost me. Are you saying we run
> > /etc/sysconfig/iptables at boot for the various runlevels?
> 
> Er, /etc/init.d/iptables (which will use
> /etc/sysconfig/iptables) at the various boot-levels, yes.
> E.g.,
>   # chkconfig --level 2345 iptables on
> 
> /etc/sysconfig/iptables is not a directly executable script,
> it's a config file with pseudo (and quite incomplete)
> iptables lines and other info.
> 
> It is written (from the rules in memory) when you run:
>   # sysconfig iptables save  
> 

Duh, I didn't read it right (missed the /etc) part. Thanks.

Preston


[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