V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
faoisdjioga
V2EX  ›  Linux

cloudfare 拦截了我的 trojan-go 代理流量

  •  
  •   faoisdjioga · 3 天前 · 1171 次点击

    trojan-go config:

    { "run_type": "server", "local_addr": "0.0.0.0", "local_port": 2053, "remote_addr": "127.0.0.1", "remote_port": 80, "password": ["abcd123"], "ssl": { "cert": "/root/git/trojan/letsencrypt/live/example.com/fullchain.pem", "key": "/root/git/trojan/letsencrypt/live/example.com/privkey.pem", "sni": "example.com" } }

    然后通过 docker

    docker run
    --name trojan-go
    -d
    --rm
    -v /root/git/trojan:/root/git/trojan
    --network host
    p4gefau1t/trojan-go
    /root/git/trojan/config/config.json

    cloudfare 在只 [ DNS only ] 模式下,是可以代理的。

    但是我在设置为 [ proxied ] ,我可以访问我的 VPS 网页,但是其他通过代理的流量 VPS 都没有收到。

    3 条回复    2024-10-19 09:39:58 +08:00
    codehz
        1
    codehz  
       3 天前
    需要使用 spectrum 服务才能代理非标准协议的程序
    zhanghua0
        2
    zhanghua0  
       3 天前
    没开 websocket ? cloudflare 改成 proxy 那就是让流量走 cdn 了,这个时候就需要 websocket 才能正确转发代理流量。
    Tink
        3
    Tink  
       2 天前
    小云朵只能代理 https 流量吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1316 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 23:38 · PVG 07:38 · LAX 16:38 · JFK 19:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.