IPFW: delete range of rules?

Lane lane at joeandlane.com
Wed Nov 29 12:38:49 PST 2006


On Wednesday 29 November 2006 13:55, Dan Mahoney, System Admin wrote:
> Hey all, the ipfw man page says rules can be deleted individually or in
> groups, but I don't see (other than the sets) an easy way to craft
> deletion of rules in a range (for example, 500-550).
>
> As the system I'm using crafts client rules by client numbers, this is a
> kinda useful feature, is it available somewhere?
>
> -Dan
>
> --
>
> "There is no right and wrong, there is only fun and boring."
>
> -Fisher Stevens, "Hackers"
>
> --------Dan Mahoney--------
> Techie,  Sysadmin,  WebGeek
> Gushi on efnet/undernet IRC
> ICQ: 13735144   AIM: LarpGM
> Site:  http://www.gushi.org
> ---------------------------
>
> _______________________________________________
Whoops!

I see that you *can* delete multiple rules like this:

ipfw delete 5150 5200 5300

lane


More information about the freebsd-questions mailing list