Closed Ken123456abcdefghijk closed 3 years ago
config.json 我抄 https://github.com/v2fly/v2ray-examples/blob/master/VLESS-TCP-TLS%20(maximal%20by%20rprx)/config_client.json 替换了下面该替换的地方
{ "log": { "loglevel": "warning" }, "inbounds": [ { "port": 10800, "listen": "127.0.0.1", "protocol": "socks", "settings": { "udp": true } } ], "outbounds": [ { "protocol": "vless", "settings": { "vnext": [ { "address": "example.com", // 换成你的域名或服务器 IP(发起请求时无需解析域名了) "port": 443, "users": [ { "id": "", // 填写你的 UUID "encryption": "none", "level": 0 } ] } ] }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { "serverName": "example.com" // 换成你的域名 } } } ] }
然后 docker run -d --name v2ray --network host -v /etc/v2ray/config.json:/etc/v2ray/config.json v2fly/v2fly-core 不知道为什么不行
忘了说我是MAC OS,这个办法在ubuntu上可以的,但在MAC 上不行 家里一台PC 用UBUNTU ,一台MAC
config.json 我抄 https://github.com/v2fly/v2ray-examples/blob/master/VLESS-TCP-TLS%20(maximal%20by%20rprx)/config_client.json 替换了下面该替换的地方
然后 docker run -d --name v2ray --network host -v /etc/v2ray/config.json:/etc/v2ray/config.json v2fly/v2fly-core 不知道为什么不行