Correct Postgres port in firewall

This commit is contained in:
Andreas Zweili 2022-11-08 23:56:03 +01:00
parent 069c43b5d9
commit 8e24754b6c
1 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,5 @@
enableTCPIP = true;
settings.listen_adresses = pkgs.lib.mkForce "127.0.0.1,172.17.0.1";
};
networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port 3306 -s 172.16.0.0/12 -j ACCEPT";
networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port 5432 -s 172.16.0.0/12 -j ACCEPT";
}