From 8d4689df275c6c84c832721ae8dc107827ea0b63 Mon Sep 17 00:00:00 2001 From: sajenim Date: Sat, 29 Jul 2023 08:30:05 +0800 Subject: [PATCH] enable firewall --- nixos/lavender/configuration.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/lavender/configuration.nix b/nixos/lavender/configuration.nix index 8014c6f..fc89ebc 100644 --- a/nixos/lavender/configuration.nix +++ b/nixos/lavender/configuration.nix @@ -109,11 +109,11 @@ hostName = "lavender"; domain = "kanto.dev"; networkmanager.enable = true; - # firewall = { - # enable = true; - # allowedTCPPorts = [ ]; - # allowedUDPPorts = [ ]; - # }; + firewall = { + enable = true; + allowedTCPPorts = [ 80 443 32400 32372 ]; + allowedUDPPorts = [ 80 443 32400 32372 ]; + }; }; environment = {