Re: iptables local forwarding

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



Hi,

On Thu, Oct 23, 2008 at 09:15, Tom Brown <tom@xxxxxxxx> wrote:
> However this does not get put into the iptables configuration even after
> running iptables-save

iptables-save will only output the rules in a way that
iptables-restore will be able to rebuild the rules from.

If what you want is for these rules to be up when you boot the
machine, what you want is probably "service iptables save", which will
use iptables-save to record these rules to /etc/sysconfig/iptables,
and a script automatically calls iptables-restore to read that file
upon boot.

HTH,
Filipe
_______________________________________________
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