2025-04-06 19:14:41 +08:00
---
icon : material/new-box
---
2025-12-30 22:36:19 +08:00
!!! quote "Changes in sing-box 1.13.0"
2026-01-08 14:28:10 +08:00
:material-plus: [relay_server_port ](#relay_server_port )
:material-plus: [relay_server_static_endpoints ](#relay_server_static_endpoints )
:material-plus: [system_interface ](#system_interface )
:material-plus: [system_interface_name ](#system_interface_name )
2026-02-24 15:31:57 +08:00
:material-plus: [system_interface_mtu ](#system_interface_mtu )
:material-plus: [advertise_tags ](#advertise_tags )
2025-12-30 22:36:19 +08:00
2025-04-06 19:14:41 +08:00
!!! question "Since sing-box 1.12.0"
### Structure
```json
{
"type" : "tailscale" ,
"tag" : "ts-ep" ,
"state_directory" : "" ,
"auth_key" : "" ,
"control_url" : "" ,
"ephemeral" : false ,
"hostname" : "" ,
2025-05-12 18:06:58 +08:00
"accept_routes" : false ,
2025-04-06 19:14:41 +08:00
"exit_node" : "" ,
"exit_node_allow_lan_access" : false ,
"advertise_routes" : [],
"advertise_exit_node" : false ,
2026-02-24 15:31:57 +08:00
"advertise_tags" : [],
2025-12-30 22:36:19 +08:00
"relay_server_port" : 0 ,
"relay_server_static_endpoints" : [],
2026-01-07 14:37:58 +08:00
"system_interface" : false ,
"system_interface_name" : "" ,
"system_interface_mtu" : 0 ,
2025-04-06 19:14:41 +08:00
"udp_timeout" : "5m" ,
2026-01-07 14:37:58 +08:00
2025-04-06 19:14:41 +08:00
... // Dial Fields
}
```
### Fields
#### state_directory
The directory where the Tailscale state is stored.
`tailscale` is used by default.
Example: `$HOME/.tailscale`
#### auth_key
!!! 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.
#### control_url
The coordination server URL.
`https://controlplane.tailscale.com` is used by default.
#### ephemeral
Indicates whether the instance should register as an Ephemeral node (https://tailscale.com/s/ephemeral-nodes).
#### hostname
The hostname of the node.
System hostname is used by default.
Example: `localhost`
2025-05-12 18:06:58 +08:00
#### accept_routes
Indicates whether the node should accept routes advertised by other nodes.
2025-04-06 19:14:41 +08:00
#### exit_node
The exit node name or IP address to use.
#### exit_node_allow_lan_access
!!! 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.
#### advertise_routes
CIDR prefixes to advertise into the Tailscale network as reachable through the current node.
Example: `["192.168.1.1/24"]`
#### advertise_exit_node
Indicates whether the node should advertise itself as an exit node.
2026-02-24 15:31:57 +08:00
#### advertise_tags
!!! question "Since sing-box 1.13.0"
Tags to advertise for this node, for ACL enforcement purposes.
Example: `["tag:server"]`
2025-12-30 22:36:19 +08:00
#### relay_server_port
2026-01-07 14:37:58 +08:00
!!! question "Since sing-box 1.13.0"
2025-12-30 22:36:19 +08:00
The port to listen on for incoming relay connections from other Tailscale nodes.
#### relay_server_static_endpoints
2026-01-07 14:37:58 +08:00
!!! question "Since sing-box 1.13.0"
2025-12-30 22:36:19 +08:00
Static endpoints to advertise for the relay server.
2026-01-07 14:37:58 +08:00
#### system_interface
!!! question "Since sing-box 1.13.0"
Create a system TUN interface for Tailscale.
#### system_interface_name
!!! question "Since sing-box 1.13.0"
Custom TUN interface name. By default, `tailscale` (or `utun` on macOS) will be used.
#### system_interface_mtu
!!! question "Since sing-box 1.13.0"
Override the TUN MTU. By default, Tailscale's own MTU is used.
2025-04-06 19:14:41 +08:00
#### udp_timeout
UDP NAT expiration time.
`5m` will be used by default.
### Dial Fields
!!! 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 ](/configuration/shared/dial/ ) for details.