tonghuashuai

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

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

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

    3 replies  •  2022-11-18 13:40:32 +08:00
    yaott2020
    yaott2020
    Oct 8, 2022 via Android
    1
    高贵的付费用户不如去找客服
    c398425861
    c398425861
    Nov 12, 2022
    2
    参考 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
    tonghuashuai
    OP
    Nov 18, 2022 via Android
    3
    @c398425861
    感谢,回头试一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4682 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 06:29 · PVG 14:29 · LAX 22:29 · JFK 01:29
    ♥ Do have faith in what you're doing.