Re: Connect to postgres from a dynamic IP

From: Jorge Godoy <jgodoy(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org, dfx(at)dfx(dot)it
Subject: Re: Connect to postgres from a dynamic IP
Date: 2008-03-03 10:32:46
Message-ID: 200803030732.47777.jgodoy@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Em Monday 03 March 2008 07:01:17 dfx escreveu:

> it is possible to connect to PostgreSQL server from a client with a dynamic
> IP (or from an unknown IP)?
>
> How I have to configure pg_hba.conf (and/or eventually my router, where the
> server is located)?

You'll have to make PostgreSQL accept connections from ANY IP in the possible
range assigned to the networks where your customers are. There are IP ranges
for specific countries available... You can also allow access from anywhere
in the world.

I'd also recommend that you require the use of some cryptography such as SSL
for that.

--
Jorge Godoy <jgodoy(at)gmail(dot)com>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2008-03-03 10:33:17 Re: Connect to postgres from a dynamic IP
Previous Message Steven De Vriendt 2008-03-03 10:28:21 Re: Connect to postgres from a dynamic IP