141 lines
2.7 KiB
JSON
141 lines
2.7 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "socks-in",
|
|
"listen": "0.0.0.0",
|
|
"port": 1390,
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"auth": "noauth",
|
|
"udp": true
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
],
|
|
"routeOnly": true
|
|
}
|
|
},
|
|
{
|
|
"tag": "http-in",
|
|
"listen": "0.0.0.0",
|
|
"port": 1391,
|
|
"protocol": "http",
|
|
"settings": {},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls"
|
|
],
|
|
"routeOnly": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"tag": "proxy",
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
},
|
|
{
|
|
"tag": "direct",
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
},
|
|
{
|
|
"tag": "block",
|
|
"protocol": "blackhole",
|
|
"settings": {}
|
|
}
|
|
],
|
|
"routing": {
|
|
"domainStrategy": "AsIs",
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"ip": [
|
|
"geoip:private"
|
|
],
|
|
"network": "tcp,udp",
|
|
"outboundTag": "direct"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"domain": [
|
|
"geosite:private"
|
|
],
|
|
"network": "tcp,udp",
|
|
"outboundTag": "direct"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"domain": [
|
|
"geosite:category-ru"
|
|
],
|
|
"network": "tcp,udp",
|
|
"outboundTag": "direct"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"ip": [
|
|
"geoip:ru"
|
|
],
|
|
"network": "tcp,udp",
|
|
"outboundTag": "direct"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"domain": [
|
|
"regexp:(^|\\.)facebook\\.com$",
|
|
"regexp:(^|\\.)fbcdn\\.net$",
|
|
"regexp:(^|\\.)instagram\\.com$",
|
|
"full:ntc.party",
|
|
"full:rutracker.org",
|
|
"full:static.rutracker.cc"
|
|
],
|
|
"network": "tcp,udp",
|
|
"outboundTag": "proxy"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"process": [
|
|
"Telegram.exe",
|
|
"AyuGram.exe",
|
|
"Discord.exe",
|
|
"Vesktop.exe",
|
|
"Spotify.exe"
|
|
],
|
|
"network": "tcp,udp",
|
|
"outboundTag": "proxy"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"process": [
|
|
"chrome.exe",
|
|
"firefox.exe",
|
|
"waterfox.exe",
|
|
"librewolf.exe",
|
|
"msedge.exe",
|
|
"opera.exe",
|
|
"brave.exe",
|
|
"vivaldi.exe",
|
|
"browser.exe"
|
|
],
|
|
"network": "tcp,udp",
|
|
"outboundTag": "proxy"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"network": "tcp,udp",
|
|
"outboundTag": "proxy"
|
|
}
|
|
]
|
|
}
|
|
}
|