Re: iptables

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



2009/9/15 Filipe Brandenburger <filbranden@xxxxxxxxx>:
> I suggest you use "iptables" commands to add and delete rules until
> you set the firewall the way you want, and when everything is ready
> use the "service iptables save" command, that will write a new
> /etc/sysconfig/iptables with the current rules you have.

Typing iptables commands alone may get boring, so you can also write
your own script, with variables and stuff to make things easier and
then use "service iptables save" when everything is OK. Keep your own
script around so you can test new rules. But you can rest assured that
if anything goes wrong, your firewall will always load the last saved
set of rules. That's what I do and it works just fine for me.
_______________________________________________
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