on redhat 7.1, there's an init script for ipchains and another for iptables. you can do: /sbin/chkconfig ipchains off /sbin/chkconfig iptables on
to set the ipchains stuff to not load on reboots, and the iptables stuff to instead. if you set any rules with ipchains, they won't be copied over. you'll have to add rules with iptables manually and then "service iptables save" to save them (to /etc/sysconfig/iptables) so they load on restarts. a bunch of that stuff is redhat-specific, and as i said that's 7.1, but i imagine it's similar on 7.2. there are plenty of other ways of accomplishing what you want to do, but the above is probably the most consistent with redhat's setup. good luck. -tcl. On Sun, 18 Nov 2001, Rodolfo J. Paiz wrote: > Hi! > > 7.2 defaults to ipchains, and even through a couple of installs I've missed > where it asks me (does it?) whether I want to use ipchains or iptables. > Now, I *want* iptables, but the system always insmod's ipchains upon reboot. > > How do I tell it to forget ipchains and always start iptables? So far I > have a file called from rc.local which does this: > > rmmod ipchains > modprobe ipt_MASQUERADE > > I'm reading Rusty's docs as quickly as I can, but it will still take me a > few days to pull things together properly. This one question, however, is > one for which I have not seen an answer. > > > -- > Rodolfo J. Paiz > [EMAIL PROTECTED] > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list