pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
dynamic IPs
3+ messages / 3 participants
[nested] [flat]

* dynamic IPs
@ 1999-05-24 17:31  Michael R. Anderson <andersmr@oscar.wvsc.edu>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael R. Anderson @ 1999-05-24 17:31 UTC (permalink / raw)
  To: pgsql-interfaces

May 24, 1999

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? 

Regards,

Mike Anderson

--------------------------------------------------------------------------------------------------
Dr. Michael R. Anderson
Math Dept.
West Virginia State College
Institute, WV 25112



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* dynamic IPs
@ 1999-05-24 20:11  Michael R. Anderson <mike@ferrar.wvsc.edu>
  0 siblings, 1 reply; 3+ messages in thread

From: Michael R. Anderson @ 1999-05-24 20:11 UTC (permalink / raw)
  To: pgsql-interfaces

May 24, 1999

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? 

Regards,

Mike Anderson



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [INTERFACES] dynamic IPs
@ 1999-05-25 00:11  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Michael R. Anderson <mike@ferrar.wvsc.edu>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 1999-05-25 00:11 UTC (permalink / raw)
  To: Michael R. Anderson <mike@ferrar.wvsc.edu>; +Cc: pgsql-interfaces

"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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~1999-05-25 00:11 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-05-24 17:31 dynamic IPs Michael R. Anderson <andersmr@oscar.wvsc.edu>
1999-05-24 20:11 dynamic IPs Michael R. Anderson <mike@ferrar.wvsc.edu>
1999-05-25 00:11 ` Tom Lane <tgl@sss.pgh.pa.us>

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