[afnog] ipfw question

Tumi Mogale tumi_mogale1 at yahoo.com
Thu Nov 9 13:21:06 UTC 2006


--- Patrick Okui <pokui at psg.com> wrote:

> On Thursday 09 November 2006 12:41, Tumi Mogale
> wrote:
> > what is the ipfw rule that would allow all traffic
> > from xl1 (10.0.2.0/24) to xl2 (10.0.1.0/24) which
> is
> > also the internet but not to xl0 (10.0.3.0/24)?
> 
> # WARNING:, untested.. use these as a skeleton not
> as the gospel :D
> # first start with exactly what you wrote above.. in
> ipfw speek
> #
> ipfw add deny ip from 10.0.2.0/24 to any via xl0
> ipfw add allow ip from 10.0.2.0/24 to any via xl2

there is no need to specify "in" or "out" ?

-tm



 
____________________________________________________________________________________
Sponsored Link

Free Uniden 5.8GHz Phone System with Packet8 Internet Phone Service
http://www.getpacket8.net/yahoo2



More information about the afnog mailing list