剪藏#InklazyLv 6 | 509天楼主#剪藏
mihomo新功能支持tailscale,无缝穿透体验,校园网实现直连
2026 年 5 月 21 日 约 1 分钟


安卓使用避免两个软件创建系统VPN冲突 大概分为三个步骤 添加入站,填写auth-key等信息(tailscale后台生成)
JAVASCRIPT
proxies:
# Replace auth-key with a one-off Tailscale auth key before first start.
# This creates a separate tailnet device named android-box.
- name: Tailscale-Home
type: tailscale
hostname: android-box
auth-key: "tskey-auth-xxxxxxxx"
control-url: https://controlplane.tailscale.com
state-dir: /data/adb/box/mihomo/路径参考
ephemeral: false
udp: true
accept-routes: true
ip-version: ipv4-prefer添加策略组选择Tailscale-Home
JAVASCRIPT
- {name: Home LAN, type: select, proxies: [Tailscale-Home, DIRECT, Proxy]}添加规则,家里网段直连
JAVASCRIPT
rules:
- IP-CIDR,192.168.1.0/24,Home LAN,no-resolve
- IP-CIDR,192.168.0.0/24,Home LAN,no-resolve
- IP-CIDR,100.64.0.0/10,Home LAN,no-resolve