wmui
V2EX  ›  问与答

clash tun 模式下无法连接 ssh?

  •  
  •   wmui · Jan 26, 2024 · 4313 views
    This topic created in 1021 days ago, the information mentioned may be changed or developed.
    tun 模式我最近才知道,挺好用的,特别是下载源再也不用设置镜像了。但是无法使用 ssh 了,必须关掉才能连,我也不知道这是什么原理,也没有找到解决方法,朋友们有遇到这个问题的吗
    10 replies  •  2024-01-27 20:40:03 +08:00
    x86
    x86
    Jan 26, 2024
    1
    去 log 里看走分流路线走的哪个出去
    storyxc
    storyxc
    Jan 26, 2024
    2
    DST-PORT,22,DIRECT
    totoro625
    totoro625
    Jan 26, 2024
    3
    哪家梯子?找客服问他为啥不开放 22 端口
    SenLief
    SenLief
    Jan 26, 2024
    4
    梯子的问题,梯子 22 端口被封了。
    OutOfMemoryError
    OutOfMemoryError
    Jan 26, 2024
    5
    很多🪜不给开 22 端口的,怕你用线路扫机子
    YLSD
    YLSD
    Jan 27, 2024 via iPhone
    6
    把服务器地址分流设置成 direct
    wmui
    wmui
    OP
    Jan 27, 2024
    7
    @totoro625
    @SenLief
    @OutOfMemoryError 端口被封了是不是就没办法了,我换了个机场也不行
    SenLief
    SenLief
    Jan 27, 2024
    8
    @wmui #7 机子不用 22 就可以了
    wmui
    wmui
    OP
    Jan 27, 2024
    9
    ```
    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
    sickoo
    Jan 27, 2024
    10
    机子 sshd 的 22 端口改成其他,完美解决
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2215 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 10:49 · PVG 18:49 · LAX 02:49 · JFK 05:49
    ♥ Do have faith in what you're doing.