summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/core.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/core.nix b/common/core.nix
index 5d36646..9e9ca7a 100644
--- a/common/core.nix
+++ b/common/core.nix
@@ -16,8 +16,8 @@
# Enable networking
networking.networkmanager.enable = true;
- # for tailscale
- networking.firewall.trustedInterfaces = [ "tailscale0" ];
+ # for tailscale; open only its discovery/connection UDP port and let the
+ # normal host firewall rules apply to tailnet traffic too.
networking.firewall.allowedUDPPorts = [ 41641 ];
services.tailscale.enable = true;