[程序员] mihomo 接入 tailscale

自己改了下 mihomo 内核,支持接入 tailscale 网络了,链接: https://github.com/cyenxchen/mihomo 如果你用的安卓可以使用我改过的 clashmi,这样就可以同时翻墙+访问家里网络了,链接: https://github.com/cyenxchen/...
[程序员] mihomo 接入 tailscale
[程序员] mihomo 接入 tailscale

自己改了下 mihomo 内核,支持接入 tailscale 网络了,链接:https://github.com/cyenxchen/mihomo

如果你用的安卓可以使用我改过的 clashmi,这样就可以同时翻墙+访问家里网络了,链接:https://github.com/cyenxchen/clashmi

我个人自用了几天,没发现什么大问题,当然有问题了也欢迎带日志反馈.

配置示例:

proxies:
  - name: ts-mihomo
    type: tailscale
    auth-key: tskey-auth-xxxxx
    hostname: ts-mihomo
    control-url: https://controlplane.tailscale.com
    ephemeral: true # 是否是临时节点
    state-dir: "./tailscale"  # 连接上 tailscale 网络之后会有一些数据持久化,该选项是就指定保存这些数据的目录
    exit-node: "" # 可选,不需要出口节点就不填
    accept-routes: true # 可选,默认 true ,用于接受 subnet routes

rules:
  # 将你家里的内网流量打到 tailscale 中
  - IP-CIDR,192.168.1.0/24,ts-mihomo,no-resolve
来源: v2ex查看原文