脚本搭建容器化v2ray/vless/trojan-go+ws+tls共用同一web server(TSP)来分流

参考 – 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

Leave a Reply