From 581c5735c80ef13159f9a4dacba57971ef5c8c02 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 27 Apr 2022 07:24:43 +0000 Subject: [PATCH] enable firewall --- configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 1ebeea7d..0ddd9d95 100644 --- a/configuration.nix +++ b/configuration.nix @@ -25,7 +25,11 @@ ]; # TODO colin: re-enable the firewall - networking.firewall.enable = false; + # networking.firewall.enable = false; + networking.firewall.allowedTCPPorts = [ 25 80 443 ]; + # DLNA ports: https://jellyfin.org/docs/general/networking/index.html + networking.firewall.allowedUDPPorts = [ 1900 7359 ]; + # XXX colin: UNMODIFIED DEFAULTS BELOW