!!! question "Since sing-box 1.12.0"
{
"type": "tailscale",
"tag": "ts-ep",
"state_directory": "",
"auth_key": "",
"control_url": "",
"ephemeral": false,
"hostname": "",
"accept_routes": false,
"exit_node": "",
"exit_node_allow_lan_access": false,
"advertise_routes": [],
"advertise_exit_node": false,
"udp_timeout": "5m",
... // Dial Fields
}
The directory where the Tailscale state is stored.
tailscale is used by default.
Example: $HOME/.tailscale
!!! note
Auth key is not required. By default, sing-box will log the login URL (or popup a notification on graphical clients).
The auth key to create the node. If the node is already created (from state previously stored), then this field is not used.
The coordination server URL.
https://controlplane.tailscale.com is used by default.
Indicates whether the instance should register as an Ephemeral node (https://tailscale.com/s/ephemeral-nodes).
The hostname of the node.
System hostname is used by default.
Example: localhost
Indicates whether the node should accept routes advertised by other nodes.
The exit node name or IP address to use.
!!! note
When the exit node does not have a corresponding advertised route, private traffics cannot be routed to the exit node even if `exit_node_allow_lan_access is` set.
Indicates whether locally accessible subnets should be routed directly or via the exit node.
CIDR prefixes to advertise into the Tailscale network as reachable through the current node.
Example: ["192.168.1.1/24"]
Indicates whether the node should advertise itself as an exit node.
UDP NAT expiration time.
5m will be used by default.
!!! note
Dial Fields in Tailscale endpoints only control how it connects to the control plane and have nothing to do with actual connections.
See Dial Fields for details.