v2ray-container: added server scripts to start openvpn with v2ray.
* fixed client/server_scripts/openvpn_v2ray_vmess/template_v2ray_client.json
This commit is contained in:
parent
634ca6cbe8
commit
7df3600a62
1 changed files with 4 additions and 3 deletions
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
"inbounds": [{
|
||||
"port": "$V2RAY_SOCKS_LOCAL_PORT",
|
||||
"port": $V2RAY_SOCKS_LOCAL_PORT,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"udp": true
|
||||
"auth": "noauth",
|
||||
"udp": false
|
||||
}
|
||||
}],
|
||||
"outbounds": [{
|
||||
|
|
@ -12,7 +13,7 @@
|
|||
"settings": {
|
||||
"vnext": [{
|
||||
"address": "$REMOTE_HOST",
|
||||
"port": "$V2RAY_VMESS_PORT",
|
||||
"port": $V2RAY_VMESS_PORT,
|
||||
"users": [{ "id": "$V2RAY_VMESS_CLIENT_UUID" }]
|
||||
}]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue