Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2000 22:08:07 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        freebsd-questions@freebsd.org
Cc:        "Tommy Forrest - KE4PYM" <tforrest@mcs.net>
Subject:   Re: How to use simple firewall with DHCP? 
Message-ID:  <200012130408.eBD487447484@grumpy.dyndns.org>
In-Reply-To: Message from David Kelly <dkelly@hiwaay.net>  of "Tue, 12 Dec 2000 21:33:27 CST." <200012130333.eBD3Xm402910@grumpy.dyndns.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
David Kelly writes:
> Then all you have to do is "sh /etc/rc.firewall" whenever dhclient 
> changes your IP address. To trap for changes by dhclient I think the 
> following will work (untried) if placed in /etc/dhclient-exit-hooks.
> Not sure if the file needs to be chmod +x'ed. Shouldn't hurt if you 
> keep it rwx'able by root only.

Update: /etc/dhclient-exit-hooks needs to be executable. But more work
needs to be done on my ddup support as the way my script is written it
will run ddup on every REBOOT because it doesn't know if the address
changed or not. DynDNS specifically frowns on needless updates.

--
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.




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?200012130408.eBD487447484>