Re: Connect to PostgreSQL server from an ADSL connection

Поиск
Список
Период
Сортировка
От tony
Тема Re: Connect to PostgreSQL server from an ADSL connection
Дата
Msg-id 1136131131.2833.41.camel@hush.localdomain
обсуждение исходный текст
Ответ на Connect to PostgreSQL server from an ADSL connection  (Szabolcs Andrási <andrasi.szabolcs@gmail.com>)
Ответы Re: Connect to PostgreSQL server from an ADSL connection
Список 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 по дате отправления:

Предыдущее
От: Szabolcs Andrási
Дата:
Сообщение: Connect to PostgreSQL server from an ADSL connection
Следующее
От: Szabolcs Andrási
Дата:
Сообщение: Re: Connect to PostgreSQL server from an ADSL connection