From 02cdf57a2b5aed21c679b30bd7955780d2f3856c Mon Sep 17 00:00:00 2001 From: Jeena Date: Wed, 13 Mar 2024 13:12:18 +0900 Subject: [PATCH] Add info about IP of postgres --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe2e040..c4bfe6a 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,11 @@ Open postgresql port on Synology Taken from https://www.youtube.com/watch?v=MqJuKu38BsA +x.x.x.x should be your IP where the script runs + ``` -echo "host all all 192.168.1.1/24 trust" >> /etc/postgresql/pg_hba.conf -sed -i /listen_addresses = '127.0.0.1'/listen_addresses = '*'/ /etc/pastgresql/postgresql.conf +echo "host all all x.x.x.x/24 trust" >> /etc/postgresql/pg_hba.conf +sed -i /listen_addresses = '127.0.0.1'/listen_addresses = '*'/ /etc/postgresql/postgresql.conf ``` License