Tailscale 客户端连接教程
Windows 平台
-
安装 Windows 客户端。
- 在官网下载。
-
登录 Tailscale。
-
以管理员权限打开终端。
-
在终端中执行以下命令:
tailscale login --login-server=https://47.98.243.79:46981 --accept-dns=false --unattended -
复制标准输出中的链接并发送给管理员等待添加设备 ID;
-
在终端中执行以下命令查看连接状态:
tailscale status
-
sing-box 端点
-
在 sing-box 配置文件中,加入有关字段。
具体内容如下:
{ // ... "endpoints": [ { "type": "tailscale", "tag": "ts-ep", "control_url": "https://47.98.243.79:46981" // "hostname": "" } ], // ... } -
使用该配置运行 sing-box。
sing-box run -c /path/to/config.json -
在日志中,找到并提供鉴权相关输出。
在
info级别日志中,找到类似如下的内容:INFO[0000] endpoint/tailscale[ts-ep]: Waiting for authentication: https://47.98.243.79:46981/register/mkey:<64-char_hex>将该链接复制并发送给管理员。
-
等待管理员授权。
Tailscale 使用的网段是
100.64.0.0/10,fd7a:115c:a1e0::/48。我使用了其中的
100.64.0.0/24,fd7a:115c:a1e0::/64。