Subject: Re: howto connect to web server "from the _outside_"
To: None <netbsd-help@NetBSD.org>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: netbsd-help
Date: 06/27/2006 00:16:24
--QTprm0S8XgL7H0Dt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 27, 2006 at 09:12:41AM +0900, Henry Nelson wrote:
> My previous ISP had a proxy server that I could use to connect to my web
> site using its Internet domain name.  My new provider doesn't have this
> service so I've been forced to use the server's internal network IP
> address to connect to it.  While this is okay for routine maintenance,
> it doesn't let me check on Internet connectivity, and it breaks a couple
> of links that I'd prefer to use the full URL rather than relative to the
> document root.
>=20
> The web server is behind ipfilter and nat.  Is there some method of "going
> out of the internal LAN and then coming back in" so I can connect to the
> server as anyone else would from the Internet?  TIA

A internal DNS resolver that overrides the records could work.


named.conf:

zone "www.example.com" {
        type master;
        file "www.example.com.db";
};


www.example.com.db:

$TTL 1
@ IN A 192.168.80.80


This will supersede all records for www.example.com for any machine
that uses this DNS server as a resolver.

I do something remotely similar here at home.

	Jonathan Kollasch

--QTprm0S8XgL7H0Dt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFEoL8nOjx1ye3hmokRAgJ4AJ0S4wpVOp9fQGjs0+7tfQi2XyiJUwCgj+Vn
GedBPJCiLBAd/oQTNn9+quQ=
=Oxw9
-----END PGP SIGNATURE-----

--QTprm0S8XgL7H0Dt--