Dulcinea 09a1589431
Update config_server.json
服务端没有屏蔽geosite,用IPOnDemand性能更好。同时关闭流量探测,可以用tor
2023-02-04 16:16:58 +08:00

56 lines
1.3 KiB
JSON

{
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"ip": [
"geoip:cn",
"geoip:private"
],
"outboundTag": "block"
}
]
},
"inbounds": [
{
"port": 16387, // 端口
"protocol": "vless",
"settings": {
"clients": [
{
"id": "", // 用户ID
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"certificates": [
{
"certificateFile": "/etc/ssl/private/fullchain.cer", // 证书
"keyFile": "/etc/ssl/private/private.key" //私钥
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
]
}