Thread: pg_hba.conf

pg_hba.conf

From
"Sidar Lopez Cruz"
Date:
how can i config this file to connect from any ip on my lan

:-) Sidar Lopez Cruz
- Cero Riesgo, S.A.

Re: pg_hba.conf

From
Robert Treat
Date:
host all     192.168.0.0     255.255.0.0 trust

that should work, though it's pretty insecure. note you might need to
address your lan ip address if it's not 192.168.*.*

Robert Treat

On Thu, 2003-02-27 at 14:59, Sidar Lopez Cruz wrote:
> how can i config this file to connect from any ip on my lan
>
> :-) Sidar Lopez Cruz
> - Cero Riesgo, S.A.




Re: pg_hba.conf

From
"Ed L."
Date:
On Thursday February 27 2003 3:50, Robert Treat wrote:
> On Thu, 2003-02-27 at 14:59, Sidar Lopez Cruz wrote:
> > how can i config this file to connect from any ip on my lan
> >
> host all     192.168.0.0     255.255.0.0 trust
>
> that should work, though it's pretty insecure. note you might need
> to address your lan ip address if it's not 192.168.*.*

That applies only for pre-7.3 releases, I believe.  Pg 7.3.x
introduced new syntax for pg_hba.conf.  You'll need an extra 'all'
after the 'all' above for 7.3.x.

Ed