From owner-freebsd-questions Tue Dec 12 8:16:59 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 12 08:16:57 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id DA50137B402 for ; Tue, 12 Dec 2000 08:16:56 -0800 (PST) Received: (from dkelly@localhost) by mail.hiwaay.net (8.11.0/8.11.0) id eBCGGtY17724; Tue, 12 Dec 2000 10:16:55 -0600 (CST) Date: Tue, 12 Dec 2000 10:16:55 -0600 From: David Kelly To: "Donald J . Maddox" Cc: Chris Browning , freebsd-questions@FreeBSD.ORG Subject: Re: How to use simple firewall with DHCP? follow-up Message-ID: <20001212101655.A15302@HiWAAY.net> References: <200012121406.eBCE6U424815@grumpy.dyndns.org> <20001212102001.A3218@cae88-102-101.sc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001212102001.A3218@cae88-102-101.sc.rr.com>; from dmaddox@sc.rr.com on Tue, Dec 12, 2000 at 10:20:02AM -0500 Sender: dkelly@mail.hiwaay.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 12, 2000 at 10:20:02AM -0500, Donald J . Maddox wrote: > You could have dhclient do this automagically when the lease > changes with an appropriate /etc/dhclient-exit-hooks, no? Yup. But when I go that far I'm going to move my firewall rules out of rc.firewall using a copy of rc.firewall stripped of the stuff I don't use. Its fairly simple in rc.conf. Off the top of my head its not the -exit hook you want, but there is one for "update" as you only want things to change if there has been an update. Also I use DynDNS.org and ddup and would want to hook that in too. But only on changes, not on simple lease renewal. -- David Kelly N4HHE, dkelly@hiwaay.net (hm) ====================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message