2021-09-07 13:35:27 -03:00
|
|
|
# tailscale
|
|
|
|
|
|
|
|
> A private WireGuard network service.
|
2024-10-04 21:14:41 +02:00
|
|
|
> Some subcommands such as `up` have their own usage documentation.
|
2025-03-15 21:55:25 +00:00
|
|
|
> More information: <https://tailscale.com/kb/1080/cli>.
|
|
|
|
|
|
|
|
- Allow the current user to operate on the Tailscale daemon:
|
|
|
|
|
|
|
|
`sudo tailscale set --operator $USER`
|
2021-09-07 13:35:27 -03:00
|
|
|
|
|
|
|
- Connect to Tailscale:
|
|
|
|
|
2025-03-15 21:55:25 +00:00
|
|
|
`tailscale up`
|
2021-09-07 13:35:27 -03:00
|
|
|
|
|
|
|
- Disconnect from Tailscale:
|
|
|
|
|
2025-03-15 21:55:25 +00:00
|
|
|
`tailscale down`
|
2021-09-07 13:35:27 -03:00
|
|
|
|
2025-03-15 21:55:25 +00:00
|
|
|
- Display all devices connected to Tailscale (with their IP addresses):
|
2021-09-07 13:35:27 -03:00
|
|
|
|
2025-03-15 21:55:25 +00:00
|
|
|
`tailscale status`
|
2021-09-07 13:35:27 -03:00
|
|
|
|
|
|
|
- Ping a peer node at the Tailscale layer and display which route it took for each response:
|
|
|
|
|
|
|
|
`tailscale ping {{ip|hostname}}`
|
|
|
|
|
|
|
|
- Analyze the local network conditions and display the result:
|
|
|
|
|
|
|
|
`tailscale netcheck`
|
|
|
|
|
2025-03-15 21:55:25 +00:00
|
|
|
- Start a web server for controlling the Tailscale daemon:
|
2021-09-07 13:35:27 -03:00
|
|
|
|
|
|
|
`tailscale web`
|
|
|
|
|
|
|
|
- Display a shareable identifier to help diagnose issues:
|
|
|
|
|
|
|
|
`tailscale bugreport`
|