指定版本:
bash install-release.sh --version v4.30.0
反向代理
location /iso {
proxy_pass http://127.0.0.1:30303;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}
ws
{
"inbounds": [
{
"port": 40404,
"listen":"0.0.0.0",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "c7471977-f7c7-43d1-a007-91b6327e690f",
"alterId": 64
}
]
},
"streamSettings": {
"network": "tcp"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
tcp
{
"inbounds": [
{
"port": 30303,
"listen":"0.0.0.0",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "07b4cb23-1bfe-4149-a2c8-2f41bc5a1878",
"alterId": 64
}
]
},
"streamSettings": {
"network": "tcp"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
kcp
{
"inbounds": [
{
"port": 30303,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "45387a5a-769e-4ad2-ba7a-385616fab719",
"alterId": 64
}
]
},
"streamSettings": {
"network": "mkcp", //
"kcpSettings": {
"uplinkCapacity": 5,
"downlinkCapacity": 100,
"congestion": true,
"header": {
"type": "none"
}
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}