pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
whitelist ip for postgres
2+ messages / 2 participants
[nested] [flat]

* whitelist ip for postgres
@ 2018-03-14 05:39 Azimuddin Mohammed <azimeiu@gmail.com>
  2018-03-14 06:00 ` Re: whitelist ip for postgres Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 1 reply; 2+ messages in thread

From: Azimuddin Mohammed @ 2018-03-14 05:39 UTC (permalink / raw)
  To: pgsql-admin; pgsql-admin@lists.postgresql.org

Hello,
How can I whitelist few ip's in postgres. I have create a VIP with SNAT.
The SNAT has 4 ips and  no hostname and my VIP has a ip and a DNS name.

-- 

Regards,
Azim


<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&...;
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&...;
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

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

* Re: whitelist ip for postgres
  2018-03-14 05:39 whitelist ip for postgres Azimuddin Mohammed <azimeiu@gmail.com>
@ 2018-03-14 06:00 ` Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2018-03-14 06:00 UTC (permalink / raw)
  To: Azimuddin Mohammed <azimeiu@gmail.com>; pgsql-admin@lists.postgresql.org

Azimuddin Mohammed wrote:
> How can I whitelist few ip's in postgres. I have create a VIP with SNAT.
> The SNAT has 4 ips and  no hostname and my VIP has a ip and a DNS name. 

If "whitelist" means "allow connections from", you should configure pg_hba.conf:
https://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




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


end of thread, other threads:[~2018-03-14 06:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-03-14 05:39 whitelist ip for postgres Azimuddin Mohammed <azimeiu@gmail.com>
2018-03-14 06:00 ` Laurenz Albe <laurenz.albe@cybertec.at>

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