Enabled client routing features
Still need to make sure to pass `--accept-routes` to `tailscale up`.
This commit is contained in:
parent
46c16dd127
commit
563265fce6
|
@ -7,7 +7,10 @@
|
||||||
# variety of tasks:
|
# variety of tasks:
|
||||||
# 1. create the TUN network device
|
# 1. create the TUN network device
|
||||||
# 2. setup some IP routes to route through the TUN
|
# 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
|
# Let's open the UDP port with which the network is tunneled through
|
||||||
networking.firewall.allowedUDPPorts = [41641];
|
networking.firewall.allowedUDPPorts = [41641];
|
||||||
|
|
Loading…
Reference in a new issue