You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{
|
|
|
|
"log": {
|
|
|
|
"access": "/var/log/v2ray/access.log",
|
|
|
|
"error": "/var/log/v2ray/error.log",
|
|
|
|
"loglevel": "warning"
|
|
|
|
},
|
|
|
|
"inbounds": [
|
|
|
|
{
|
|
|
|
"port": 2333,
|
|
|
|
"protocol": "vmess",
|
|
|
|
"settings": {
|
|
|
|
"clients": [
|
|
|
|
{
|
|
|
|
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
|
|
|
"level": 1,
|
|
|
|
"alterId": 233
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"streamSettings": {
|
|
|
|
"network": "quic",
|
|
|
|
"quicSettings": {
|
|
|
|
"key": "",
|
|
|
|
"header": {
|
|
|
|
"type": "none"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sniffing": {
|
|
|
|
"enabled": true,
|
|
|
|
"destOverride": [
|
|
|
|
"http",
|
|
|
|
"tls"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//include_ss
|
|
|
|
//include_socks
|
|
|
|
//include_mtproto
|
|
|
|
//include_in_config
|
|
|
|
//
|
|
|
|
],
|
|
|
|
"outbounds": [
|
|
|
|
{
|
|
|
|
"protocol": "freedom",
|
|
|
|
"settings": {
|
|
|
|
"domainStrategy": "UseIP"
|
|
|
|
},
|
|
|
|
"tag": "direct"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protocol": "blackhole",
|
|
|
|
"settings": {},
|
|
|
|
"tag": "blocked"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protocol": "mtproto",
|
|
|
|
"settings": {},
|
|
|
|
"tag": "tg-out"
|
|
|
|
}
|
|
|
|
//include_out_config
|
|
|
|
//
|
|
|
|
],
|
|
|
|
"dns": {
|
|
|
|
"servers": [
|
|
|
|
"https+local://8.8.8.8/dns-query",
|
|
|
|
"8.8.8.8",
|
|
|
|
"1.1.1.1",
|
|
|
|
"localhost"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"routing": {
|
|
|
|
"domainStrategy": "IPOnDemand",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"ip": [
|
|
|
|
"geoip:private"
|
|
|
|
],
|
|
|
|
"outboundTag": "blocked"
|
|
|
|
}
|
|
|
|
//include_ban_xx
|
|
|
|
//include_ban_bt
|
|
|
|
//include_ban_ad
|
|
|
|
//include_rules
|
|
|
|
//
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"transport": {
|
|
|
|
"kcpSettings": {
|
|
|
|
"uplinkCapacity": 100,
|
|
|
|
"downlinkCapacity": 100,
|
|
|
|
"congestion": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|