IPFW Question

Olivier Nicole on at cs.ait.ac.th
Tue May 27 05:01:04 PDT 2003


> I want to add a rule that sets limit for all other networks 
> Is there a way to set rule like : 
>
> add pipe 20 that will match to all network exept those from ${nets} . 

What about:

 ipfw add 100 pipe 10  ip from ${nets} to 192.168.1.1 via rl0 
 ipfw add 200 skipto 400 ip from ${nets} to 192.168.1.1 via rl0 
 ipfw add 300 pipe 20 any...

On first thought it should do the trick.

Olivier


More information about the freebsd-ipfw mailing list