Thread: Remote Access

Remote Access

From
Marcos
Date:
Hello,

I have one server postgresql in my home computer, and now I have the
necessity of access it of my work, the question is. How I liberate the
access remote of postgresql with password?

--

Thanks,

Marcos José Setim
________________________________________
Usando o M2 do Opera: http://www.opera.com/m2/

Re: Remote Access

From
Bruno Wolff III
Date:
On Tue, Jun 14, 2005 at 11:15:33 -0000,
  Marcos <mjs_ops@gmx.net> wrote:
> Hello,
>
> I have one server postgresql in my home computer, and now I have the
> necessity of access it of my work, the question is. How I liberate the
> access remote of postgresql with password?

You want to edit postgresql.conf and set listen_addresses to *.
And you need to add a host or hostssl entry to pg_hba.conf allowing
a connection from your office machine.

You will probably also want to use iptables or the equivalent to restrict
connection attempts to your IP address at work.

You probably want to read parts of chapter 16 and all of chapter 19 of
the 8.0 documentation.

Re: Remote Access

From
Marcos
Date:
Thanks for your reply.

> You want to edit postgresql.conf and set listen_addresses to *.
> And you need to add a host or hostssl entry to pg_hba.conf allowing
> a connection from your office machine.

Oh! Yes. I already had made this, and gave certain :o), but I can
connect only with trust mode (without pass). When I change to md5,
crypt, kerberos I do not obtain to connect :'(

Already consult the documentation and that is allready.

Can help me?