From 5eadfcd084e239d8577a0c86beef116b31a7f34a Mon Sep 17 00:00:00 2001 From: Reboot-Codes Date: Wed, 16 Apr 2025 23:11:12 -0700 Subject: [PATCH] Oh. yeah, let the VPNs see all the ports, that'd be nice. --- common/nixos/default-config.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common/nixos/default-config.nix b/common/nixos/default-config.nix index 428fc75..afc7599 100644 --- a/common/nixos/default-config.nix +++ b/common/nixos/default-config.nix @@ -80,6 +80,18 @@ networking = { networkmanager.enable = true; wireless.enable = false; + + firewall.interfaces = { + "tailscale0" = { + allowedUDPPortRanges = [ { from = 0; to = 65535; } ]; + allowedTCPPortRanges = [ { from = 0; to = 65535; } ]; + }; + + "ztt6jt6i65" = { + allowedUDPPortRanges = [ { from = 0; to = 65535; } ]; + allowedTCPPortRanges = [ { from = 0; to = 65535; } ]; + }; + }; }; security = { -- 2.51.2