Date: 03 Jan 2002 23:33:59 -0500 From: Joe Clarke <marcus@marcuscom.com> To: "Stephen J. Roznowski" <sjr@home.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DHCP & ipfw Message-ID: <1010118840.86152.53.camel@shumai.marcuscom.com> In-Reply-To: <200201040422.g044M5641882@cc158233-a.catv1.md.home.com> References: <200201040422.g044M5641882@cc158233-a.catv1.md.home.com>
index | next in thread | previous in thread | raw e-mail
On Thu, 2002-01-03 at 23:22, Stephen J. Roznowski wrote:
> I'm sure that I'm missing something obvious....
>
> When you are setting up a system to use DHCP, how do you get the
> (possibly) dynamic IP information into rc.firewall (or equivalent local
> script)?
You can use the "me" option in rc.firewall
${fwcmd} add pass tcp from any to me 22 setup
This will match any IP address configured on an interface in the system.
Joe
>
> Thanks,
> --
> Stephen J. Roznowski (sjr@home.com)
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1010118840.86152.53.camel>
