From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 10:31:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37DBB37B401 for ; Mon, 4 Aug 2003 10:31:23 -0700 (PDT) Received: from barryg.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7303D43FBD for ; Mon, 4 Aug 2003 10:31:22 -0700 (PDT) (envelope-from bill@celestial.com) Received: by barryg.mi.celestial.com (Postfix, from userid 203) id ECF44639A9; Mon, 4 Aug 2003 10:31:20 -0700 (PDT) Date: Mon, 4 Aug 2003 10:31:20 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20030804103120.A17984@barryg.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <200308041007.18995.mwoodson@sricrm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200308041007.18995.mwoodson@sricrm.com>; from mwoodson@sricrm.com on Mon, Aug 04, 2003 at 10:07:18AM -0700 Subject: Re: [JunkMail] Re: Finding your dynamic external IP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 17:31:23 -0000 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