wmui
V2EX  ›  问与答

clash tun 模式下无法连接 ssh?

  •  
  •   wmui · Jan 26, 2024 · 3733 views
    This topic created in 868 days ago, the information mentioned may be changed or developed.
    tun 模式我最近才知道,挺好用的,特别是下载源再也不用设置镜像了。但是无法使用 ssh 了,必须关掉才能连,我也不知道这是什么原理,也没有找到解决方法,朋友们有遇到这个问题的吗
    10 replies    2024-01-27 20:40:03 +08:00
    x86
        1
    x86  
       Jan 26, 2024
    去 log 里看走分流路线走的哪个出去
    storyxc
        2
    storyxc  
       Jan 26, 2024
    DST-PORT,22,DIRECT
    totoro625
        3
    totoro625  
       Jan 26, 2024
    哪家梯子?找客服问他为啥不开放 22 端口
    SenLief
        4
    SenLief  
       Jan 26, 2024
    梯子的问题,梯子 22 端口被封了。
    OutOfMemoryError
        5
    OutOfMemoryError  
       Jan 26, 2024
    很多🪜不给开 22 端口的,怕你用线路扫机子
    YLSD
        6
    YLSD  
       Jan 27, 2024 via iPhone
    把服务器地址分流设置成 direct
    wmui
        7
    wmui  
    OP
       Jan 27, 2024
    @totoro625
    @SenLief
    @OutOfMemoryError 端口被封了是不是就没办法了,我换了个机场也不行
    SenLief
        8
    SenLief  
       Jan 27, 2024
    @wmui #7 机子不用 22 就可以了
    wmui
        9
    wmui  
    OP
       Jan 27, 2024
    ```
    mixin: # object
    rules:
    - DST-PORT,22,DIRECT,no-resolve
    - SRC-PORT,22,DIRECT,no-resolve
    - IP-CIDR,x.x.x.x,DIRECT,no-resolve
    ```

    这样改不行
    sickoo
        10
    sickoo  
       Jan 27, 2024
    机子 sshd 的 22 端口改成其他,完美解决
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2390 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 16:07 · PVG 00:07 · LAX 09:07 · JFK 12:07
    ♥ Do have faith in what you're doing.