自己改了下 mihomo 内核,支持接入 tailscale 网络了,链接:https://github.com/cyenxchen/mihomo
如果你用的安卓可以使用我改过的 clashmi,这样就可以同时翻墙+访问家里网络了,链接:https://github.com/cyenxchen/clashmi
我个人自用了几天,没发现什么大问题,当然有问题了也欢迎带日志反馈.
[分享创造] [送码] HexHub 发布一段时间后,聊聊我理解的开发者工作台: SSH、数据库、Docker 和 AI Agent,顺便送码
[程序员] 读 [分享一个百炼 API KEY] 有感,免费帮大家用 API
配置示例:
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