Enabled client routing features

Still need to make sure to pass `--accept-routes` to `tailscale up`.
This commit is contained in:
Alejandro Angulo 2022-12-24 15:29:48 -08:00
parent 46c16dd127
commit 563265fce6
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -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];