-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30-Jul-2002/13:34 -0500, [EMAIL PROTECTED] wrote: >How can I switch it so I am using iptables and not ipchains
1. Create a script with all the commands to setup an iptables firewall that does what you want. Be sure to include the command "service iptables save" to save the firewall settings so that they will be used each time iptables is started. Tweaking and re-running a script like this is the easiest way I know to manage a firewall in a command-line environment. 2. Set your initscripts so that iptables runs automatically in the runlevels that support networking: chkconfig --level 345 iptables on 3. Set your initscripts so that ipchains does not run automatically: chkconfig --level 345 ipchains off 4. Turn off ipchains: service ipchains stop 5. Turn on iptables: service iptables start 6. Run your iptables firewall script: /usr/local/sbin/firewall.sh 7. If there were any errors during script execution, debug and rerun the script until satisfied. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: 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 <mailto:[EMAIL PROTECTED]> 0x6C94239D iD8DBQE9RxTHpCpg3WyUI50RAqCNAJ9Q1qKr4wjAhe8/cAUoj4gCmpdo6ACgyKMG V+DtLNeRIFU472rePT9bdRg= =J/Vy -----END PGP SIGNATURE----- -- redhat-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list