Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2003 22:00:27 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Brian McCann <bjm1287@ritvax.rit.edu>
Cc:        questions@freebsd.org
Subject:   RE: IPFW and DHCPD
Message-ID:  <20030126215555.U2592@wonkity.com>
In-Reply-To: <000801c2c5ba$cf7845b0$1500a8c0@dogbert>
References:  <000801c2c5ba$cf7845b0$1500a8c0@dogbert>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Jan 2003, Brian McCann wrote:

> You need to allow UDP ports 67&68 for full DHCP support, in both
> directions...so....
>
> "ipfw add allow any 67 to any any via int out"
> "ipfw add allow any 67 to any any via int in"
> "ipfw add allow any 68 to any any via int out"
> "ipfw add allow any 68 to any any via int in"
>
> Something like that should do it.
>
> Hope that helps.

ipfw didn't like those rules (ipfw: invalid protocol ``any'').  I think
it can be done easier, too:

${fwcmd} add pass udp from any 67,68 to any via ${iif}

But I'm not seeing any counts on that rule when a notebook client tries
for a DHCP lease, and the client never gets a lease.

-Warren Block * Rapid City, South Dakota USA

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?20030126215555.U2592>