Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 10:31:20 -0700
From:      Bill Campbell <freebsd@celestial.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: [JunkMail] Re: Finding your dynamic external IP
Message-ID:  <20030804103120.A17984@barryg.mi.celestial.com>
In-Reply-To: <200308041007.18995.mwoodson@sricrm.com>; from mwoodson@sricrm.com on Mon, Aug 04, 2003 at 10:07:18AM -0700
References:  <Pine.BSF.4.21.0308040833470.3102-100000@server1.ultratrends.com> <200308041007.18995.mwoodson@sricrm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 04, 2003 at 10:07:18AM -0700, Mark Woodson wrote:
...
>dhclient allows you to execute scripts when it runs.
>
>man dhclient-scripts and see the HOOKS sections, but the gist is that you can 
>create an /etc/dhclient-(enter|exit)-hooks script to do whatever you might 
>need.

This is fine so long as your system is directly connected to the public
Internet, but doesn't work if going through a NAT router of some kind.  We
use quite a few LinkSys VPN boxes at client sites because they're cheap,
easy to configure, and reliable.  Unfortunately they're not easy to query
to find status which is why I started using the sshclient service I posted
here last week.

Bill
--
INTERNET:   bill@Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Freedom from prices is freedom from responsibility. You can simply pass
laws, using the magic wand of government to satisfy your own desires at
unspecified costs to be paid by others.'' -- Thomas Sowell Aug 2000



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