On Mon, Sep 22, 2008 at 5:08 PM, Theo v. Werkhoven
Sun, 21 Sep 2008, by terrorpup@gmail.com:
Is there a way that I can drop and ip rules with out doing iptables -F? I am not sure what change from 10 to 11, but when I make changes, and restart SuSEFirewall it take forever. What I am looking for a quick way to make changes to my rules with out restarting the firewall.
Use 'iptables -L --line-numbers' to show the chains with rulenumbers and then delete a rule with 'iptable -D <chain> rulenum' You can also insert or replace rules in chains of course. The manual (that you already read of course..) tells the whole tale.
Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.3 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.22 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks, I have the delete part down. The problem I have let say I delete this rule iptables -D INPUT -s 66.23.219.85 -j DROP Well the rule is gone, but unless I do iptables -F, it still blocking. So I am looking at a way to drop the rule and refresh my rules. Thank Theo for the feedback. I will keep digging. Payne -- -- Command, n.: Statement presented by a human and accepted by a computer in such a manner as to make the human feel as if he is in control. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org