From c1576716ece4540c55834a07380b39712c63fbf7 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Mon, 22 Nov 2021 17:44:50 -0500 Subject: [PATCH] Disable loft firewall for dev --- machines/loft/configuration.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/machines/loft/configuration.nix b/machines/loft/configuration.nix index 90ee687..054a204 100644 --- a/machines/loft/configuration.nix +++ b/machines/loft/configuration.nix @@ -47,16 +47,7 @@ networking.interfaces.wlp5s0.useDHCP = true; networking.hostName = "loft"; # Define your hostname. - networking.firewall = { - enable = true; - allowedTCPPorts = [ 80 8080 8000 443 8888 ]; - allowedTCPPortRanges = [ - { from = 1714; to = 1764; } - ]; - allowedUDPPortRanges = [ - { from = 1714; to = 1764; } - ]; - }; + networking.firewall.enable = false; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; @@ -125,4 +116,4 @@ # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "20.09"; # Did you read the comment? -} \ No newline at end of file +}