V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
idblife
7.51D
V2EX  ›  macOS

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

  •  1
     
  •   idblife · Jul 27, 2022 · 7725 views
    This topic created in 1371 days ago, the information mentioned may be changed or developed.
    macos 系统,之前一直用 clash for windows ,发现有些场景代理不好用。
    换用 stash 感觉还不错,但是 tailscale 连不上其他机器了,倒是显示 tailscale 已连接。
    是因为都用的系统 vpn 所以冲突了?
    28 replies    2024-12-13 22:55:55 +08:00
    idblife
        1
    idblife  
    OP
       Jul 27, 2022
    公司的 vpn 也不能连接了,虽然系统里显示已连接。
    但是公司的 vpn 和 tailscale 是能同时连接的。
    zhenjiachen
        2
    zhenjiachen  
       Jul 27, 2022 via iPhone
    tailscale 和 surge 也不能同时使用,可能是规则有问题
    idblife
        3
    idblife  
    OP
       Jul 27, 2022
    @zhenjiachen
    这就比较郁闷了
    之所以从 clash for windows 换成 stash 是为了解决 brew upgrade 的问题,
    明明同样的规则文件,clash for windows 无法更新,stash 却可以。
    Tink
        4
    Tink  
    PRO
       Jul 27, 2022 via Android
    其他的不清楚,但是 clash x pro 和 zerotier 是可以同时使用的
    idblife
        5
    idblife  
    OP
       Jul 27, 2022
    @Tink
    clash 这种貌似不算系统 vpn
    xtinput
        6
    xtinput  
       Jul 28, 2022
    ClashX Pro 呢?
    idblife
        7
    idblife  
    OP
       Jul 28, 2022 via iPhone
    @xtinput
    今天试试 clashx pro
    我理解内核都是 clash ,应该和 clash for windows 表现一致
    xtinput
        8
    xtinput  
       Jul 28, 2022
    clashx pro 增强模式是虚拟一个网卡出来的,只开增强模式就 OK ,不需要再打开系统代理
    duadua
        9
    duadua  
       Jul 28, 2022
    不要用 App Store 版的 Tailscale ,直接去官网下载。
    XSNARUTO
        10
    XSNARUTO  
       Jul 29, 2022 via iPhone
    只是针对 brew 的话,其实终端配置一下代理就行了。cfw 的面板我还是更喜欢。
    wipbssl
        11
    wipbssl  
       Jul 29, 2022
    之前确实可以同时使用,但可能是 stash 更新后改了什么,现在用 stash 就不能用 tailscale ,quantumult x 倒是还能和 tailscale 一起用
    idblife
        12
    idblife  
    OP
       Jul 29, 2022
    @wipbssl
    stash 作者是不是在本站?
    wipbssl
        13
    wipbssl  
       Jul 30, 2022
    @idblife https://www.v2ex.com/t/839223?p=1 ,确实有号,但看起来不怎么活动
    CurtisAsia
        14
    CurtisAsia  
       Apr 8, 2023
    @idblife 之前和 Stash 反馈了这个问题 他们说近期修复了 看下新版 :D
    yy306525121
        15
    yy306525121  
       Jan 19, 2024
    @wipbssl 大哥你的 quantumultx 怎么设置的和 tailscale 一起用啊? 我的开了 quantumultx 之后 tailscale 都连不上, 不知道该怎么设置
    lovepocky
        16
    lovepocky  
       Mar 14, 2024
    @yy306525121 你是不是开了兼容性增强, 我这边不开是能同时用的, 开了就连不上了
    yy306525121
        17
    yy306525121  
       Mar 15, 2024
    @lovepocky 是的, 哈哈, 不过现在没用 tailscale 了, 有了公网 Ipv4, 有空我再试试
    jianzhao123
        18
    jianzhao123  
       Apr 20, 2024
    @wipbssl 老哥,现阶段 quantumultx 和 tailscale 还有路子一起用吗,现在连上圈 X ,tailscale 就不行了
    skies457
        19
    skies457  
       May 28, 2024   ❤️ 2
    @jianzhao123 编辑 qx 配置文件,把 general 部分 excluded_routes 中的 100.64.0.0/10 改为 100.64.0.0/9
    ethdesign
        20
    ethdesign  
       Jun 21, 2024
    @skies457 有试过,貌似不行,方便指导下吗?这个同时开启 Tailscale 与 QuantumultX 的需求对很多人来说还蛮重要的。
    skies457
        21
    skies457  
       Jul 1, 2024
    @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  
       Jul 4, 2024
    @skies457 感谢🙏,我尝试下。
    yes365
        23
    yes365  
       Aug 17, 2024
    @skies457 不能理解,quanx 里面的 100.64.0.0/10 不是已经把 ip 给排除了么, 为啥还需要扩大呢
    skies457
        24
    skies457  
       Aug 21, 2024
    @yes365 quanx 排除 cidr 的方式是添加一条到默认接口的路由,这样会覆盖掉 tailscale 添加的到 utun 的路由。路由规则是由细到粗的,把 quanx 排除的 cidr 扩大一点就会让 quanx 的路由优先级低于 tailscale 的路由
    zidy111
        25
    zidy111  
       Nov 22, 2024
    @skies457 可以的,好用。
    itplanes01
        26
    itplanes01  
       Dec 12, 2024
    @skies457 我在配置里加大一点貌似不成功,终端能 ping 通 tailscale ,但是浏览器打不开 tailscale 的 ip ,关了才行,有其它特殊配置吗
    skies457
        27
    skies457  
       Dec 13, 2024   ❤️ 1
    @itplanes01 `route get <ip>`看看是走哪个 interface ,`ifconfig <interface>`看看 mtu 是 1280 就是 tailscale
    itplanes01
        28
    itplanes01  
       Dec 13, 2024
    @skies457 感谢,zen 浏览器不行,safari 正常,之前一直没用 safari 试着连
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3182 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 79ms · UTC 13:43 · PVG 21:43 · LAX 06:43 · JFK 09:43
    ♥ Do have faith in what you're doing.