Skip to content

feat: add Tailscale outbound support#2786

Merged
wwqgtxx merged 5 commits into
MetaCubeX:Alphafrom
xishang0128:Alpha
May 14, 2026
Merged

feat: add Tailscale outbound support#2786
wwqgtxx merged 5 commits into
MetaCubeX:Alphafrom
xishang0128:Alpha

Conversation

@xishang0128

@xishang0128 xishang0128 commented May 13, 2026

Copy link
Copy Markdown
Contributor
proxies:
  # tailscale
  - name: "tailscale"
    type: tailscale
    # hostname: mihomo # Tailscale 设备名,默认由 tsnet 处理
    # auth-key: tskey-auth-xxxx # 可选;不填写时首次启动会输出交互式登录 URL
    # control-url: https://controlplane.tailscale.com # 可选;自定义 Headscale/Tailscale control server
    # state-dir: ./tailscale # tsnet 状态目录,默认 tailscale
    # ephemeral: false # 是否作为 ephemeral node 登录,默认 false
    udp: true # 是否启用 UDP,默认 false
    # accept-routes: true # 是否接受 Tailnet 中发布的 subnet routes
    # exit-node: 100.64.0.1 # 使用指定 exit node,可填写节点 IP;也支持 auto:any
    # exit-node-allow-lan-access: true # 使用 exit node 时是否允许访问本地 LAN
    # 当目标不在 Tailscale 路由内时,连接会直接报错,不会回退到直连;
    # 访问公网需要配置可用的 exit-node,或接受覆盖目标网段的 subnet routes。
    # 一个出站代理的标识。当值不为空时,将使用指定的 proxy 发出 Tailscale 控制面和 DERP/STUN 等连接
    # dialer-proxy: "ss1"
    # interface-name: "WLAN" # 指定出站网卡
    # routing-mark: 6666 # Linux 下配置 fwmark
    # ip-version: ipv4-prefer # 可选:dual/ipv4/ipv6/ipv4-prefer/ipv6-prefer

Copilot AI review requested due to automatic review settings May 13, 2026 23:47

This comment was marked as low quality.

Add no_ts build tag support to allow builds without Tailscale dependencies.
@Become-ILLUSORY

This comment was marked as resolved.

@yimiaoxiehou

Copy link
Copy Markdown

lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants