From 563265fce63e46c7a45e4eea7cfb1c2327dffc3b Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 24 Dec 2022 15:29:48 -0800 Subject: [PATCH] Enabled client routing features Still need to make sure to pass `--accept-routes` to `tailscale up`. --- system/carbon/vpn.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/system/carbon/vpn.nix b/system/carbon/vpn.nix index b7dcc7a..29ebf1a 100644 --- a/system/carbon/vpn.nix +++ b/system/carbon/vpn.nix @@ -7,7 +7,10 @@ # variety of tasks: # 1. create the TUN network device # 2. setup some IP routes to route through the TUN - services.tailscale = {enable = true;}; + services.tailscale = { + enable = true; + useRoutingFeatures = "client"; # Make sure to pass `--accept-routes` to `tailscale up` + }; # Let's open the UDP port with which the network is tunneled through networking.firewall.allowedUDPPorts = [41641];