[CentOS] Putting nat routing into place permanently? -- service iptables save
Preston Crawford
me at prestoncrawford.com
Tue Nov 1 17:26:24 UTC 2005
On Tue, 2005-11-01 at 09:18 -0800, Bryan J. Smith wrote:
> Preston Crawford <me at prestoncrawford.com> 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
More information about the CentOS
mailing list