pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tony <tony@tgds.net>
To: Szabolcs Andrási <andrasi.szabolcs@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Connect to PostgreSQL server from an ADSL connection
Date: Sun, 01 Jan 2006 16:58:50 +0100
Message-ID: <1136131131.2833.41.camel@hush.localdomain> (raw)
In-Reply-To: <530357980601010740j7b80e975s@mail.gmail.com>
References: <530357980601010740j7b80e975s@mail.gmail.com>

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




view thread (5+ messages)  latest in thread

Message-ID: <1136131131.2833.41.camel@hush.localdomain>
Permalink:  ../1136131131.2833.41.camel@hush.localdomain/
Also on:    postgresql.org/message-id/1136131131.2833.41.camel@hush.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tony@tgds.net, andrasi.szabolcs@gmail.com
  Subject: Re: Connect to PostgreSQL server from an ADSL connection
  In-Reply-To: <1136131131.2833.41.camel@hush.localdomain>
  References: <530357980601010740j7b80e975s@mail.gmail.com> <1136131131.2833.41.camel@hush.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox