Обсуждение: pgadmin firewall configuration

Поиск
Список
Период
Сортировка

pgadmin firewall configuration

От
"Ronny Ritongadi \(LINC Solution\)"
Дата:

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 won’t connect. Is pgadmin use another port other than 5432?

 

Regards,

 

 

 

Ronny Ritongadi

IT - Web

Linc Group

 


--
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

Re: pgadmin firewall configuration

От
"Andy Shellam (Mailing Lists)"
Дата:
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 won’t 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