Correct Postgres port in firewall
This commit is contained in:
parent
069c43b5d9
commit
8e24754b6c
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue