mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-16 23:34:42 +04:00
86 lines
2.1 KiB
JSON
86 lines
2.1 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"routing": {
|
|
"domainStrategy": "IPIfNonMatch",
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"domain": [
|
|
"regexp:\\.ru$",
|
|
"regexp:\\.рф$",
|
|
"domain:vk.com"
|
|
],
|
|
"outboundTag": "block"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"ip": [
|
|
"geoip:cn",
|
|
"geoip:ru"
|
|
],
|
|
"outboundTag": "block"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 8010,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
],
|
|
"decryption": "none",
|
|
"fallbacks": [
|
|
{
|
|
"dest": "8011",
|
|
"xver": 1
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"rejectUnknownSni": true,
|
|
"minVersion": "1.2",
|
|
"alpn": ["http/1.1"],
|
|
"certificates": [
|
|
{
|
|
"ocspStapling": 3600,
|
|
"certificateFile": "/var/lib/acme/kp2pml30.moe/fullchain.pem",
|
|
"keyFile": "/var/lib/acme/kp2pml30.moe/key.pem"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"tag": "direct"
|
|
},
|
|
{
|
|
"protocol": "blackhole",
|
|
"tag": "block"
|
|
}
|
|
],
|
|
"policy": {
|
|
"levels": {
|
|
"0": {
|
|
"handshake": 3,
|
|
"connIdle": 127
|
|
}
|
|
}
|
|
}
|
|
}
|