Re: Sane way to add iptables entries with kickstart

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

 



service iptables save fails. any attempts to put data into /etc/sysconfig/iptables get reset on reboot.

- andrew



James S. Martin wrote:
Why edit the file? Just set the rules with the iptables command and do a "service iptables save" to save the rules when you are done (even after reboots).


James


Andrew M. Williams wrote:

I added entries to that file during %post, they disappeared on reboot.

- andrew


Eric Griffis wrote:

Tuesday, February 4, 2003, 11:29:27 AM, Andrew wrote:


Is there a sane way to add iptables rules in the %post section




Look at /etc/sysconfig/iptables on any redhat box. It's a pretty
straight-forward text file, except for the [..,..] numbers at the
beginning of certain lines. Anybody know what those numbers represent?
I've set them to 0's in the past without noticeable side effects.

...eric





_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list





_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list







[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux