From 544612ecc98c19c214c0883425c05ab13fd8e362 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 18 Oct 2015 14:32:00 +0200 Subject: [PATCH] mastus: firewall rules. --- mastus/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mastus/configuration.nix b/mastus/configuration.nix index 2406767..cc7f1a0 100644 --- a/mastus/configuration.nix +++ b/mastus/configuration.nix @@ -39,4 +39,14 @@ services.nginx.enable = true; + networking.firewall = { + allowedTCPPorts = [ + # http + 80 443 + + # mail + 25 143 + ]; + }; + }