tonghuashuai

cloudflare tunnel 该怎么配置支持 websocket 呢?

  •  
  •   tonghuashuai · Oct 8, 2022 · 3621 views
    This topic created in 1320 days ago, the information mentioned may be changed or developed.

    rt ,想做个 unraid 的内网穿透,需要 websocket ,官方说是支持的,但是文档 /网上找了一圈都没有提到要怎么设置,有哪位用过吗?

    3 replies    2022-11-18 13:40:32 +08:00
    yaott2020
        1
    yaott2020  
       Oct 8, 2022 via Android
    高贵的付费用户不如去找客服
    c398425861
        2
    c398425861  
       Nov 12, 2022
    参考 smb https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/use_cases/smb/
    websocket 实质是 tcp 协议
    把 http 换成 tcp

    ![改成 tcp]( https://upload.cc/i1/2022/11/12/g2bHI4.png)

    然后 client 运行 cloudflared access tcp --hostname example.com --url localhost:443

    然后本地访问 443 端口就行
    tonghuashuai
        3
    tonghuashuai  
    OP
       Nov 18, 2022 via Android
    @c398425861
    感谢,回头试一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5197 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 07:52 · PVG 15:52 · LAX 00:52 · JFK 03:52
    ♥ Do have faith in what you're doing.