Fix missing relay support for Tailscale

This commit is contained in:
世界
2025-12-30 22:36:19 +08:00
parent 46c2cc37c3
commit 6a750f4522
6 changed files with 78 additions and 33 deletions

View File

@@ -2,6 +2,11 @@
icon: material/new-box
---
!!! quote "Changes in sing-box 1.13.0"
:material-plus: [relay_server_port](#relay_server_port)
:material-plus: [relay_server_static_endpoints](#relay_server_static_endpoints)
!!! question "Since sing-box 1.12.0"
### Structure
@@ -20,6 +25,8 @@ icon: material/new-box
"exit_node_allow_lan_access": false,
"advertise_routes": [],
"advertise_exit_node": false,
"relay_server_port": 0,
"relay_server_static_endpoints": [],
"udp_timeout": "5m",
... // Dial Fields
@@ -89,6 +96,14 @@ Example: `["192.168.1.1/24"]`
Indicates whether the node should advertise itself as an exit node.
#### relay_server_port
The port to listen on for incoming relay connections from other Tailscale nodes.
#### relay_server_static_endpoints
Static endpoints to advertise for the relay server.
#### udp_timeout
UDP NAT expiration time.

View File

@@ -2,6 +2,11 @@
icon: material/new-box
---
!!! quote "sing-box 1.13.0 中的更改"
:material-plus: [relay_server_port](#relay_server_port)
:material-plus: [relay_server_static_endpoints](#relay_server_static_endpoints)
!!! question "自 sing-box 1.12.0 起"
### 结构
@@ -20,6 +25,8 @@ icon: material/new-box
"exit_node_allow_lan_access": false,
"advertise_routes": [],
"advertise_exit_node": false,
"relay_server_port": 0,
"relay_server_static_endpoints": [],
"udp_timeout": "5m",
... // 拨号字段
@@ -88,6 +95,14 @@ icon: material/new-box
指示节点是否应将自己通告为出口节点。
#### relay_server_port
监听来自其他 Tailscale 节点的中继连接的端口。
#### relay_server_static_endpoints
为中继服务器通告的静态端点。
#### udp_timeout
UDP NAT 过期时间。