92 lines
2 KiB
JSON
92 lines
2 KiB
JSON
{
|
|
"log": {
|
|
"level": "warn",
|
|
"timestamp": true
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"type": "tun",
|
|
"tag": "tun-in",
|
|
"interface_name": "xftun",
|
|
"address": [
|
|
"172.19.0.1/30"
|
|
],
|
|
"auto_route": true,
|
|
"strict_route": false,
|
|
"stack": "mixed"
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "direct",
|
|
"tag": "proxy"
|
|
},
|
|
{
|
|
"type": "direct",
|
|
"tag": "direct"
|
|
},
|
|
{
|
|
"type": "block",
|
|
"tag": "block"
|
|
}
|
|
],
|
|
"route": {
|
|
"auto_detect_interface": true,
|
|
"rule_set": [
|
|
{
|
|
"type": "remote",
|
|
"tag": "geosite-category-ru",
|
|
"format": "binary",
|
|
"url": "https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/sing-box/rule-set-geosite/geosite-category-ru.srs",
|
|
"download_detour": "direct",
|
|
"update_interval": "24h"
|
|
},
|
|
{
|
|
"type": "remote",
|
|
"tag": "geoip-ru",
|
|
"format": "binary",
|
|
"url": "https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/sing-box/rule-set-geoip/geoip-ru.srs",
|
|
"download_detour": "direct",
|
|
"update_interval": "24h"
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"rule_set": [
|
|
"geosite-category-ru",
|
|
"geoip-ru"
|
|
],
|
|
"action": "route",
|
|
"outbound": "direct"
|
|
},
|
|
{
|
|
"process_path_regex": [
|
|
"(?i)^[A-Z]:\\\\Users\\\\[^\\\\]+\\\\AppData\\\\Local\\\\Discord\\\\.*(?:Discord|Update)\\.exe$"
|
|
],
|
|
"outbound": "proxy"
|
|
},
|
|
{
|
|
"process_name": [
|
|
"chrome.exe",
|
|
"firefox.exe",
|
|
"waterfox.exe",
|
|
"librewolf.exe",
|
|
"msedge.exe",
|
|
"opera.exe",
|
|
"brave.exe",
|
|
"vivaldi.exe",
|
|
"browser.exe",
|
|
"Spotify.exe",
|
|
"Vesktop.exe"
|
|
],
|
|
"outbound": "proxy"
|
|
}
|
|
],
|
|
"final": "direct"
|
|
},
|
|
"experimental": {
|
|
"cache_file": {
|
|
"enabled": true
|
|
}
|
|
}
|
|
}
|