Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 19:01:38 +0700 (ICT)
From:      Olivier Nicole <on@cs.ait.ac.th>
To:        eivanov@abv.bg
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: IPFW Question
Message-ID:  <200305271201.TAA02777@banyan.cs.ait.ac.th>
In-Reply-To: <1365537713.1054027616171.JavaMail.nobody@storage.ni.bg> (message from Evgeny Ivanov on Tue, 27 May 2003 12:26:56 %2B0300 (EEST))
References:  <1365537713.1054027616171.JavaMail.nobody@storage.ni.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305271201.TAA02777>