tailscale.md (878B)
1 # tailscale 2 3 * [fast user switching][] (available in v1.34) 4 ``` 5 tailscale switch alice@example.com 6 tailscale switch <nickname> 7 ``` 8 * set nickname at login 9 ``` 10 tailscale login --nickname=work 11 ``` 12 * set nickname after login 13 ``` 14 tailscale set --nickname=work 15 ``` 16 * setting routes 17 ``` 18 tailscale up --login-server <server> --advertise-routes 192.168.0.0/24 19 ``` 20 * requires [ip forwarding][] 21 ``` 22 echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.conf 23 echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.conf 24 sudo sysctl -p /etc/sysctl.conf 25 ``` 26 * normal client with accept routes or accept after login 27 ``` 28 tailscale up --login-server <server> --accept-routes 29 tailscale set --accept-routes 30 ``` 31 32 [fast user switching]: https://tailscale.com/kb/1225/fast-user-switching 33 [ip forwarding]: https://tailscale.com/kb/1019/subnets?tab=linux#enable-ip-forwarding