macos 下的 stash 和 tailscale 不能一起使用? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
idblife
7.51D
V2EX    macOS

macos 下的 stash 和 tailscale 不能一起使用?

  •  1
     
  •   idblife 2022-07-27 22:24:02 +08:00 6378 次点击
    这是一个创建于 1171 天前的主题,其中的信息可能已经有所发展或是发生改变。
    macos 系统,之前一直用 clash for windows ,发现有些场景代理不好用。
    换用 stash 感觉还不错,但是 tailscale 连不上其他机器了,倒是显示 tailscale 已连接。
    是因为都用的系统 vpn 所以冲突了?
    28 条回复    2024-12-13 22:55:55 +08:00
    idblife
        1
    idblife  
    OP
       2022-07-27 22:26:48 +08:00
    公司的 vpn 也不能连接了,虽然系统里显示已连接。
    但是公司的 vpn 和 tailscale 是能同时连接的。
    zhenjiachen
        2
    zhenjiachen  
       2022-07-27 22:38:20 +08:00 via iPhone
    tailscale 和 surge 也不能同时使用,可能是规则有问题
    idblife
        3
    idblife  
    OP
       2022-07-27 22:43:18 +08:00
    @zhenjiachen
    这就比较郁闷了
    之所以从 clash for windows 换成 stash 是为了解决 brew upgrade 的问题,
    明明同样的规则文件,clash for windows 无法更新,stash 却可以。
    Tink
        4
    Tink  
    PRO
       2022-07-27 22:54:12 +08:00 via Android
    其他的不清楚,但是 clash x pro 和 zerotier 是可以同时使用的
    idblife
        5
    idblife  
    OP
       2022-07-27 23:44:46 +08:00
    @Tink
    clash 这种貌似不算系统 vpn
    xtinput
        6
    xtinput  
       2022-07-28 07:48:45 +08:00
    ClashX Pro 呢?
    idblife
        7
    idblife  
    OP
       2022-07-28 08:53:02 +08:00 via iPhone
    @xtinput
    今天试试 clashx pro
    我理解内核都是 clash ,应该和 clash for windows 表现一致
    xtinput
        8
    xtinput  
       2022-07-28 08:55:26 +08:00
    clashx pro 增强模式是虚拟一个网卡出来的,只开增强模式就 OK ,不需要再打开系统代理
    duadua
        9
    duadua  
       2022-07-28 14:33:10 +08:00
    不要用 App Store 版的 Tailscale ,直接去官网下载。
    XSNARUTO
        10
    XSNARUTO  
       2022-07-29 00:28:19 +08:00 via iPhone
    只是针对 brew 的话,其实终端配置一下代理就行了。cfw 的面板我还是更喜欢。
    wipbssl
        11
    wipbssl  
       2022-07-29 09:32:35 +08:00
    之前确实可以同时使用,但可能是 stash 更新后改了什么,现在用 stash 就不能用 tailscale ,quantumult x 倒是还能和 tailscale 一起用
    idblife
        12
    idblife  
    OP
       2022-07-29 16:47:59 +08:00
    @wipbssl
    stash 作者是不是在本站?
    wipbssl
        13
    wipbssl  
       2022-07-30 13:32:12 +08:00
    @idblife t/839223?p=1 ,确实有号,但看起来不怎么活动
    CurtisAsia
        14
    CurtisAsia  
       2023-04-08 09:11:20 +08:00
    @idblife 之前和 Stash 反馈了这个问题 他们说近期修复了 看下新版 :D
    yy306525121
        15
    yy306525121  
       2024-01-19 09:18:18 +08:00
    @wipbssl 大哥你的 quantumultx 怎么设置的和 tailscale 一起用啊? 我的开了 quantumultx 之后 tailscale 都连不上, 不知道该怎么设置
    lovepocky
        16
    lovepocky  
       2024-03-14 12:10:34 +08:00
    @yy306525121 你是不是开了兼容性增强, 我这边不开是能同时用的, 开了就连不上了
    yy306525121
        17
    yy306525121  
       2024-03-15 09:05:30 +08:00
    @lovepocky 是的, 哈哈, 不过现在没用 tailscale 了, 有了公网 Ipv4, 有空我再试试
    jianzhao123
        18
    jianzhao123  
       2024-04-20 14:17:46 +08:00
    @wipbssl 老哥,现阶段 quantumultx 和 tailscale 还有路子一起用吗,现在连上圈 X ,tailscale 就不行了
    skies457
        19
    skies457  
       2024-05-28 21:03:05 +08:00   1
    @jinzhao123 编辑 qx 配置文件,把 general 部分 excluded_routes 中的 100.64.0.0/10 改为 100.64.0.0/9
    ethdesign
        20
    ethdesign  
       2024-06-21 14:27:04 +08:00
    @skies457 有试过,貌似不行,方便指导下吗?这个同时开启 Tailscale 与 QuantumultX 的需求对很多人来说还蛮重要的。
    skies457
        21
    skies457  
       2024-07-01 23:45:26 +08:00
    @ethdesign qx 会覆写 excluded routes 到默认网口,导致 tailscale 失效,你可以在同时开启 qx 和 tailscale 时跑一下 route get 100.64.x.x 试试,看看输出的 interface 是不是默认的 en0

    解决办法就是把 excluded routes 设置得大一点,让 tailscale 的规则优先匹配,就像我之前提到的那样在 excluded routes 里加上 100.64.0.0/9 ,这样 qx 就覆盖不到 tailscale 的 100.64.0.0/10 路由。如果你是 subnets 不通,也可以如法炮制,excluded routes 里加上 subnets 大 1 bit 的子网
    ethdesign
        22
    ethdesign  
       2024-07-04 14:05:19 +08:00
    @skies457 感谢,我尝试下。
    yes365
        23
    yes365  
       2024-08-17 18:34:38 +08:00
    @skies457 不能理解,quanx 里面的 100.64.0.0/10 不是已经把 ip 给排除了么, 为啥还需要扩大呢
    skies457
        24
    skies457  
       2024-08-21 19:33:59 +08:00
    @yes365 quanx 排除 cidr 的方式是添加一条到默认接口的路由,这样会覆盖掉 tailscale 添加的到 utun 的路由。路由规则是由细到粗的,把 quanx 排除的 cidr 扩大一点就会让 quanx 的路由优先级低于 tailscale 的路由
    zidy111
        25
    zidy111  
       323 天前
    @skies457 可以的,好用。
    itplanes01
        26
    itplanes01  
       303 天前
    @skies457 我在配置里加大一点貌似不成功,终端能 ping 通 tailscale ,但是浏览器打不开 tailscale 的 ip ,关了才行,有其它特殊配置吗
    skies457
        27
    skies457  
       302 天前   1
    @itplanes01 `route get <ip>`看看是走哪个 interface ,`ifconfig <interface>`看看 mtu 是 1280 就是 tailscale
    itplanes01
        28
    itplanes01  
       301 天前
    @skies457 感谢,zen 浏览器不行,safari 正常,之前一直没用 safari 试着连
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2693 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 79ms UTC 11:28 PVG 19:28 LAX 04:28 JFK 07:28
    Do have faith in what you're doing.
    ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86