mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-24 00:48:39 +08:00
28 lines
566 B
Bash
Executable File
28 lines
566 B
Bash
Executable File
cat << EOF > /etc/v2ray/config.json
|
|
{
|
|
"inbounds": [
|
|
{
|
|
"port": $PORT,
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "$UUID",
|
|
"alterId": 64
|
|
}
|
|
],
|
|
"disableInsecureEncryption": true
|
|
},
|
|
"streamSettings": {
|
|
"network": "ws"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom"
|
|
}
|
|
]
|
|
}
|
|
EOF
|