Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2003 21:38:38 -0500
From:      David Kelly <dkelly@HiWAAY.net>
To:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: Help setup home network when gateways, ip asigned by DHCP
Message-ID:  <200308212138.38818.dkelly@HiWAAY.net>
In-Reply-To: <20030821211755.096b57e2.rod.person@hotpop.com>
References:  <20030821211755.096b57e2.rod.person@hotpop.com>

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

On Thursday 21 August 2003 08:17 pm, Rod Person wrote:
>
> My problem is that my gateway get its external ip address via DHCP.
> I can't figure out how to setup ipfw rules to use DHCP addresses.

Use either the "me" pseudo-address or trigger on the interface. A few 
rules copied out of my current ipfw configuration:

00600 allow tcp from me to any setup
01400 allow udp from me to any dst-port 53 keep-state
01500 allow udp from me to any dst-port 123 keep-state
01600 allow udp from 69.1.30.0/24 67 to me dst-port 68
01700 allow udp from me 68 to 69.1.30.0/24 dst-port 67

-- 
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.



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