From: Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk>
To: Ronny Ritongadi (LINC Solution) <Ronny.Ritongadi@linc-solutions.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pgadmin firewall configuration
Date: Tue, 12 Dec 2006 20:06:49 +0000
Message-ID: <457F0BD9.4090103@mailnetwork.co.uk> (raw)
In-Reply-To: <CD9668E43FFDD94C9B6D752BFD8A1B660F6B8BDE@jktmail01.lautan-luas.com>
References: <CD9668E43FFDD94C9B6D752BFD8A1B660F6B8BDE@jktmail01.lautan-luas.com>
No, Pg Admin connects to 5432 as that is PostgreSQL's server port.
One popular misconfiguration I've seen is that the connection/traffic is
*to* port 5432 on the server, not from port 5432 on the client.
So, depending on your firewall you need rule 1 on it's own (if it
supports keeping state) or rule 1 AND 2:
Rule 1: Allow from <client IP> to <server IP> destination port 5432
source port any
Rule 2: Allow from <server IP> to <client IP> destination port any
source port 5432
If that doesn't work, post the relevant section of your firewall
configuration.
Andy.
Ronny Ritongadi (LINC Solution) wrote:
>
> I have a postgresql database at the server, with firewall protected.
> And I want to access the database remotely using pgadmin on the client
> side. I have configured the postgre configuration file in such way
> that the client can access the database remotely using pgadmin, but
> when I turn on the firewall (which I have open the port 5432 to the
> specific IP client) it wont connect. Is pgadmin use another port
> other than 5432?
>
>
>
> Regards,
>
>
>
>
>
>
>
> Ronny Ritongadi
>
> IT - Web
>
> Linc Group
>
>
>
> !DSPAM:37,457ef5d530861117320364!
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.430 / Virus Database: 268.15.7/569 - Release Date:
> 12/5/2006 3:00 AM
>
--
Andy Shellam
NetServe Support Team
the Mail Network
"an alternative in a standardised world"
p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: andy.shellam-lists@mailnetwork.co.uk, Ronny.Ritongadi@linc-solutions.com
Subject: Re: pgadmin firewall configuration
In-Reply-To: <457F0BD9.4090103@mailnetwork.co.uk>
References: <CD9668E43FFDD94C9B6D752BFD8A1B660F6B8BDE@jktmail01.lautan-luas.com> <457F0BD9.4090103@mailnetwork.co.uk>
* 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