From 2caf08d5dd9d82087c16390a34e8ab169be75369 Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Wed, 1 Jul 2020 08:57:05 +0000 Subject: networking: introduced $vpn_net4, $vpn_ipv5, $host_ipv4, $host_ipv6. --- public/fs/home/pgsql/data/pg_hba.conf.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 public/fs/home/pgsql/data/pg_hba.conf.in (limited to 'public/fs/home/pgsql/data/pg_hba.conf.in') diff --git a/public/fs/home/pgsql/data/pg_hba.conf.in b/public/fs/home/pgsql/data/pg_hba.conf.in new file mode 100644 index 0000000..07fef10 --- /dev/null +++ b/public/fs/home/pgsql/data/pg_hba.conf.in @@ -0,0 +1,16 @@ +# PostgreSQL Client Authentication Configuration File +# =================================================== + +# local DATABASE USER METHOD [OPTIONS] +# host DATABASE USER ADDRESS METHOD [OPTIONS] +# hostssl DATABASE USER ADDRESS METHOD [OPTIONS] +# hostnossl DATABASE USER ADDRESS METHOD [OPTIONS] + +local all all peer +host all all 127.0.0.1/32 scram-sha-256 +host all all @vpn_net4@/24 scram-sha-256 +host all all ::1/128 scram-sha-256 + +local replication all peer +host replication all 127.0.0.1/32 scram-sha-256 +host replication all ::1/128 scram-sha-256 -- cgit v1.2.3