在v2rayn添加服务器选添加自定义配置服务器,点编辑,粘贴下面的配置,保存后,设置为活动的服务器应该就可以了
{
"log": {
"access": "",
"error": "",
"loglevel": "warning"
},
"inbounds": [
{
"port": 52971,
"protocol": "vless",
"settings": {
"udp": false,
"clients": [
{
"id": "uuid",
"alterId": 0,
"email": "[email protected]",
"flow": ""
}
],
"decryption": "none",
"allowTransparent": false
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/wspath"
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": []
}
} |