X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BFEF3528FE for ; Sat, 18 Jun 2005 11:15:15 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67143-07 for ; Sat, 18 Jun 2005 14:15:13 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.197.194]) by svr1.postgresql.org (Postfix) with SMTP id E9D80528BF for ; Sat, 18 Jun 2005 11:15:12 -0300 (ADT) Received: (qmail 16305 invoked by uid 500); 18 Jun 2005 14:14:55 -0000 Date: Sat, 18 Jun 2005 09:14:55 -0500 From: Bruno Wolff III To: Marcos Cc: pgsql-admin@postgresql.org Subject: Re: Remote Access Message-ID: <20050618141455.GB15547@wolff.to> Mail-Followup-To: Bruno Wolff III , Marcos , pgsql-admin@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/150 X-Sequence-Number: 17905 On Tue, Jun 14, 2005 at 11:15:33 -0000, Marcos 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.