From 90265b6ee8bd4758e325d0d6733c324181e1aa7d Mon Sep 17 00:00:00 2001 From: xenia Date: Sun, 2 Mar 2025 10:28:13 +0100 Subject: [PATCH] Disable firewall on USB ethernet adapter --- nixos/machines/foxhut/machine.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/machines/foxhut/machine.nix b/nixos/machines/foxhut/machine.nix index c057c902..ba6d0d60 100644 --- a/nixos/machines/foxhut/machine.nix +++ b/nixos/machines/foxhut/machine.nix @@ -39,6 +39,9 @@ in { ]; }; + networking.firewall.interfaces."enu1c2".allowedUDPPortRanges = [ { from = 0; to = 65535; } ]; + networking.firewall.interfaces."enu1c2".allowedTCPPortRanges = [ { from = 0; to = 65535; } ]; + networking.firewall.allowedUDPPorts = [ 51821 51820 ]; networking.wireguard = { enable = true;