pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgadmin firewall configuration
2+ messages / 2 participants
[nested] [flat]

* pgadmin firewall configuration
@ 2006-12-05 04:03 Ronny Ritongadi (LINC Solution) <Ronny.Ritongadi@linc-solutions.com>
  2006-12-12 20:06 ` Re: pgadmin firewall configuration Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Ronny Ritongadi \(LINC Solution\) @ 2006-12-05 04:03 UTC (permalink / raw)
  To: pgsql-admin

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
 

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgadmin firewall configuration
  2006-12-05 04:03 pgadmin firewall configuration Ronny Ritongadi (LINC Solution) <Ronny.Ritongadi@linc-solutions.com>
@ 2006-12-12 20:06 ` Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Andy Shellam (Mailing Lists) @ 2006-12-12 20:06 UTC (permalink / raw)
  To: Ronny Ritongadi (LINC Solution) <Ronny.Ritongadi@linc-solutions.com>; +Cc: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-12-12 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-12-05 04:03 pgadmin firewall configuration Ronny Ritongadi (LINC Solution) <Ronny.Ritongadi@linc-solutions.com>
2006-12-12 20:06 ` Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk>

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