Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 09:42:29 -0500 (CDT)
From:      John Heyer <john@snake.supranet.net>
To:        <questions@freebsd.org>
Subject:   ipfw question - network traffic to itself?
Message-ID:  <20011003092803.A48410-100000@snake.supranet.net>

next in thread | raw e-mail | index | archive | help

I need an ipfw ruleset that will allow all traffic if it's on the same
network or going through the same interface, and can't figure out an easy
way to do this.  Currently I'm just specifying the applicable networks
by hand:

$fwcmd add 4000 allow all from 192.168.40.0/24 to 192.168.40.0/24
$fwcmd add 4000 allow all from 10.1.1.0/24 to 10.1.1.0/24
$fwcmd add 4000 allow all from 10.10.10.0/24 to 10.10.10.0/24

But I may need to copy these rules to other machines and would like to
avoid having to hard code the networks each time.  Are there any
provisions in ipfw to simply let a network talk to itself?  TIA

--
Johh Heyer - john@personal.supranet.net - http://heyer.supranet.net

"Me fail English?  That's unpossible!"  -- Ralph Wiggam


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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