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