From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael R. Anderson <mike@ferrar.wvsc.edu>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] dynamic IPs
Date: Mon, 24 May 1999 20:11:49 -0400
Message-ID: <1621.927591109@sss.pgh.pa.us> (raw)
In-Reply-To: <01BEA600.1ED46780@ferrar.wvsc.edu>
"Michael R. Anderson" <mike@ferrar.wvsc.edu> writes:
> I'd like to connect to a database from a machine that gets a new IP
> number every time it connects to the ISP. How do I set up the
> pg_hba.conf file to allow this?
I think your only alternative is to find out the range of IP numbers
your ISP might assign (it's probably not large, one C block at most)
and then configure pg_hba.conf to allow access from any address in
that range. For example, if the ISP says 12.34.56.0 - 12.34.56.255,
then you'd put something like
host all 12.34.56.0 255.255.255.0 password
I'd recommend using an authentication method other than "trust" ;-)
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, mike@ferrar.wvsc.edu
Subject: Re: [INTERFACES] dynamic IPs
In-Reply-To: <1621.927591109@sss.pgh.pa.us>
* 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