Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2001 16:27:40 -0700 (PDT)
From:      Chuck Rouillard <chuckr@opus.sandiegoca.ncr.com>
To:        Jason Borkowsky <jcborkow@tcpns.com>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: DHCP and IPFW
Message-ID:  <Pine.BSF.4.31.0105301604250.40943-100000@opus.sandiegoca.ncr.com>
In-Reply-To: <Pine.BSF.4.21.0105301411440.44433-100000@bemused.tcpns.com>

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

On Wed, 30 May 2001, Jason Borkowsky wrote:

>
> Does anyone have an example of their IPFW ruleset that integrates DHCP? I
> am trying to figure out the simplest, yet securest, way to do this. Thank
> you!
[snip]

I'm guessing IP changes are central to this question.
If so, configure your ruleset(s) using variables. For
example:

oif="ed0"
iif="ed1"
dns0="xxx.xxx.xxx.xxx"
dns1="yyy.yyy.yyy.yyy"

and possibly:

dhcp0="zzz.zzz.zzz.zzz"
...

Then, specify interfaces and IPs like ${oif}, ${iif},
and ${dns0} in your ruleset(s).


.cr



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?Pine.BSF.4.31.0105301604250.40943-100000>