-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09-Sep-2002/15:28 -0400, Arthur Chan <[EMAIL PROTECTED]> wrote: >I am unsure where to put my ipchain rules. It is also a matter if timing. [snip]
The best way to do this is to take advantage of the existing ipchains init script. It already starts in the correct order and is setup to do what needs to be done. All you need to do is build a shell script containing the ipchains commands for the fules that you want. At the end of the script, add the command that saves the rules to /etc/sysconfig/ipchains: service ipchains save Now anytime you start ipchains using the initscript, it will read the rules you saved and implement them. When you need to change the rules, just edit your script and run it. The rules will be changed and saved. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux: the choice of a GNU Generation. <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]> iD8DBQE9fP+2pCpg3WyUI50RAvaNAKDDuW7mpn3pRaWhdLG9O4N4xuOioACfbxYU g2v/FdOf0AFyZNNrAITSZ0o= =N+LV -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list