Re: Connect to PostgreSQL server from an ADSL connection - Mailing list pgsql-admin

From tony
Subject Re: Connect to PostgreSQL server from an ADSL connection
Date
Msg-id 1136131131.2833.41.camel@hush.localdomain
Whole thread Raw
In response to Connect to PostgreSQL server from an ADSL connection  (Szabolcs Andrási <andrasi.szabolcs@gmail.com>)
Responses Re: Connect to PostgreSQL server from an ADSL connection
List pgsql-admin
Le dimanche 01 janvier 2006 à 16:40 +0100, Szabolcs Andrási a écrit :
> Hi all,
>
> I am writing because I would like to know that how can I connect
> remotely to a PostgreSQL database from an ADSL connection, which has
> different IP address every time when it connects to the Internet. This
> ADSL connection is registered to www.dyndns.org, so its dynamic IP
> address is replaceable with the registered domain name.
> My problem is the changing IP address: I would not like to modify the
> pg_hba.conf file every time when the remote computer's IP address
> changes.

ssh -v -L 5432:localhost:5432 dbuser@your.dyndns.domaine

Then connect to your database on localhost.

Cheers

Tony

--
Tony Grant
www.tgds.net - vente d'ordinateurs mini-itx en ligne
www.tgds.net/epiaix1.html - A fedora Core 4 based live CD for VIA Epia-M


pgsql-admin by date:

Previous
From: Szabolcs Andrási
Date:
Subject: Connect to PostgreSQL server from an ADSL connection
Next
From: Szabolcs Andrási
Date:
Subject: Re: Connect to PostgreSQL server from an ADSL connection