PostgreSQL Netzwerkkonfiguration (pg hbaconf) » Historie » Revision 10
Revision 9 ([X] Daniel S, 10.06.2025 09:35) → Revision 10/14 ([X] Daniel S, 10.06.2025 09:36)
h1. PostgreSQL Netzwerkkonfiguration (pg hbaconf) syncro/APPS IMMER passwort, da sonst kein dblink funktinoiert. postgres lokal trust wegen scripten und konsole. <pre> # PRODAT local & loopback host all postgres 127.0.0.1/32 trust host all postgres ::1/128 trust #host all APPS,SYS.dblink,syncro all md5 host all APPS,SYS.dblink,syncro 127.0.0.1/32 md5 host all APPS,SYS.dblink,syncro ::1/128 md5 # zB Grafana und sonstiges von localhost host all all 127.0.0.1/32 md5 host all all ::1/128 md5 # IPv4 local & remote connections: # lokal auf dem Server = immer trust # host all all 127.0.0.1/32 trust # host all all ::1/128 trust # Zugriffe von außen: # host all root, postgres 0.0.0.0/0 reject # Standard-Nutzer von außen verbieten # Netzwerk # host all all 192.168.0.0/16 md5 # nur auf das Subnetz eingeschänkt! #### host all all all md5 # Von überall aus zugänglich via md5 # Alles weitere verbieten # host all root, postgres 0.0.0.0/0 reject # Standard-Nutzer von außen verbieten </pre>