From owner-freebsd-questions Sat Nov 25 15:48:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id B1E2137B4CF for ; Sat, 25 Nov 2000 15:48:30 -0800 (PST) Received: (qmail 81266 invoked by uid 100); 25 Nov 2000 23:48:30 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14880.20429.721300.35133@guru.mired.org> Date: Sat, 25 Nov 2000 17:48:29 -0600 (CST) To: questions@freebsd.org Subject: Re: web hosting with a dynamic IP address question X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Banning types: > I would like to call into my computer and access it like a web host > from somewhere else on the web. My thought is that this should be possible > if my IP address is known. > > Since my dynamic IP address changes on every dialup, > would it not be possible for my FreeBSD machine to, following connection > do some inquiry into what my IP address is, then have FreeBSD copy the > IP address to my external WEB site, where I could have a link/script > that takes the address and guides me into my home server? Yup, you can do that. If you can put CGI on your external web site, you don't even need to figure out what the IP address is. Use a CGI script (hopefully password protected) that looks like: #!/bin/sh cat >../redirect.html <Redirect

Your machine is over there.

EOF cat < will provide this service for free. You use a script to change their dns in ppp-linkup, and then always refer to your machine with a hostname in one of their domains.