参考 – https://www.jamesdailylife.com/docker_trojango_v2ray
先一把梭个 VMess
wget -N --no-check-certificate -q https://cdn.jsdelivr.net/gh/h31105/trojan_v2_docker_onekey/deploy.sh && \ chmod +x deploy.sh && bash deploy.sh # 中间选择下 端口 / 域名验证 / VMess / VLess之类就 ok 了,非常简单。
# ClashX 客户端配置 - name: "V2_SG ikoulasg 免费" type: vmess server: ikoulasg.xxx.xxx port: 443 uuid: ef3daa7d-xxxx-xxxx-1b454e71976a alterId: 10 cipher: auto tls: true network: ws ws-path: /v2ray/6feb3b0e0/ Host: ikoulasg.xxx.xxx skip-cert-verify: true #默认false
V2Ray客户端配置
# clashx - 联通转发friendly - name: "V2_SG ikoulasg 免费 WS + cu3r" type: vmess #server: ikoulasg.xxx.xxx #port: 443 server: cu3r.ck.mk port: 20464 uuid: ef3daa7d-xxx-yyy-zzz-1b454e71976a alterId: 10 cipher: auto # udp: true tls: true servername: ikoulasg.xxx.xxx # priority over wss host network: ws ws-path: /v2ray/6feb3b0e0/ ws-headers: Host: ikoulasg.xxx.xxx skip-cert-verify: true #默认false
只有WebSocket协议才能开启使用CDN加速
使用Trojan-Go
惊奇的发现ShadowSocks可以直接支持Trojan-Go – 扫一扫就可以用
支持WS的Trojan-Go在打开后将virmach水牛城从2Mbps 提升到了27Mbps…