diff --git a/configuration/devices/headless/router/firewall.nix b/configuration/devices/headless/router/firewall.nix index f99a9c9d..02f61870 100644 --- a/configuration/devices/headless/router/firewall.nix +++ b/configuration/devices/headless/router/firewall.nix @@ -7,16 +7,11 @@ let serverIp = "192.168.2.2"; in { networking = { - firewall.interfaces = let rules = { allowedTCPPorts = [ 80 443 ]; }; - in { - "${externalInterface}" = rules; - - "${internalInterface}" = rules; - "${internalInterface}.1" = rules; - "${internalInterface}.2" = rules; - "${internalInterface}.3" = rules; - "${internalInterface}.100" = rules; - }; + firewall.allowedTCPPorts = [ + # NGINX + 80 + 443 + ]; nftables = { enable = true;