### Example V2Ray/Xray Configuration Source: https://github.com/dignezzz/routing/blob/main/README.md A sample V2Ray/Xray configuration demonstrating how to use `geosite.dat` and `geoip.dat` for routing. This configuration includes settings for global proxy, route order, domain strategy, and specific site/IP routing rules. ```json { "GlobalProxy": true, "RouteOrder": "block-proxy-direct", "DomainStrategy": "IPIfNonMatch", "DirectSites": ["geosite:private", "geosite:whitelist", "geosite:ip-check", "geosite:vpndetect"], "DirectIp": ["geoip:private", "geoip:whitelist"], "ProxySites": ["geosite:category-geoblock-ru", "geosite:community"], "ProxyIp": ["geoip:blocked-ru", "geoip:telegram"], "BlockSites": ["geosite:win-spy", "geosite:torrent", "geosite:category-ads"] } ``` -------------------------------- ### Download V2Ray/Xray Geo-Data Files Source: https://github.com/dignezzz/routing/blob/main/README.md Direct download links for `geosite.dat` and `geoip.dat` files from the GitHub repository. These files are compatible with V2Ray, Xray, Sing-box, and other clients. ```text https://raw.githubusercontent.com/DigneZzZ/routing/main/v2ray/geosite.dat https://raw.githubusercontent.com/DigneZzZ/routing/main/v2ray/geoip.dat ``` -------------------------------- ### Full Configuration JSON Source: https://github.com/dignezzz/routing/blob/main/README.md Extends the Lite configuration with additional rules for Re:filter domains and IPs blocked in Russia, plus community services. Suitable for Android/Desktop for more explicit routing. ```json { "outbounds": [ { "type": "direct", "tag": "direct" }, { "type": "block", "tag": "block" } ], "routing": { "rules": [ { "type": "field", "id": "AC0B6329-89CF-5C66-A7E2-2492786AD952", "__name__": "Direct RU Services", "domainMatcher": "hybrid", "domain": [ "geosite:category-ru", "geosite:apple", "geosite:microsoft", "geosite:steam", "geosite:epicgames", "geosite:pinterest", "geosite:google-play", "geosite:origin", "geosite:twitch", "domain:api.ipify.org", "domain:calls.okcdn.ru", "domain:checkip.amazonaws.com", "domain:gosuslugi.ru", "domain:gstatic.com", "domain:ifconfig.me", "domain:ipv4-internet.yandex.net", "domain:ipv6-internet.yandex.net", "domain:mtalk.google.com", "domain:pushtrs01.push.hicloud.com", "domain:pushtrs1.push.hicloud.com", "domain:token-drcn.push.dbankcloud.com" ], "outboundTag": "direct" }, { "type": "field", "id": "4D2E1E0A-89CF-5C66-A7E2-2492786AD952", "__name__": "Direct RU TLDs", "domainMatcher": "hybrid", "domain": [ "regex:.*\.ru$", "regex:.*\.su$", "regex:.*\.xn--p1ai$" ], "outboundTag": "direct" }, { "type": "field", "id": "07DCF558-E04D-5530-A8D7-8FD78CBD32DA", "__name__": "Direct RU IPs", "ip": [ "geoi:ru" ], "outboundTag": "direct" }, { "type": "field", "id": "85A6EF60-8EEA-52F1-AC63-38D0E3BE44ED", "__name__": "Proxy All", "port": "0-65535", "outboundTag": "proxy" }, { "type": "field", "id": "A1B2C3D4-E5F6-7890-1234-567890ABCDEF", "__name__": "Re:filter Blocked Domains", "domain": [ "geosite:category-geoblock-ru", "geosite:community" ], "outboundTag": "direct" }, { "type": "field", "id": "FEDCBA09-8765-4321-0987-654321ABCDEF", "__name__": "Re:filter Blocked IPs", "ip": [ "geoip:blocked-ru" ], "outboundTag": "direct" } ] } } ``` -------------------------------- ### MihoMo Rule-set Structure Source: https://github.com/dignezzz/routing/blob/main/README.md Lists the available MihoMo rule-sets for domain and IP routing. Use `.mrs` files for lower memory consumption on mihomo clients. ```text release/ ├── proxy.list # domains → PROXY ├── direct.list # domains → DIRECT ├── reject.list # domains → REJECT ├── youtube.list # domains → 📺 YouTube ├── ai.list # domains → 🤖 AI ├── games.list # domains → 🎮 Games ├── ip-check.list # domains → DIRECT (IP-check services) ├── vpndetect.list # domains → DIRECT (VPN-detect probes) ├── proxy-ip.list # IPs → PROXY (telegram + cloudflare) ├── direct-ip.list # IPs → DIRECT (private ranges) ├── refilter-domain.list # RKN bypass domains (Re:filter) ├── refilter-ip.list # RKN bypass IPs (Re:filter) ├── refilter-community.list # Services blocking Russia (Re:filter) ├── proc-games.yaml # game process names (classical) ├── proc-torrent.yaml # torrent client process names (classical) └── proc-ru.yaml # Russian app process names (classical) ``` -------------------------------- ### Lite Configuration JSON Source: https://github.com/dignezzz/routing/blob/main/README.md Core proxy configuration for services like Telegram, GitHub, and YouTube, with direct routing for Russia. No external geo-data files are required. ```json { "outbounds": [ { "type": "direct", "tag": "direct" }, { "type": "block", "tag": "block" } ], "routing": { "rules": [ { "type": "field", "id": "AC0B6329-89CF-5C66-A7E2-2492786AD952", "__name__": "Direct RU Services", "domainMatcher": "hybrid", "domain": [ "geosite:category-ru", "geosite:apple", "geosite:microsoft", "geosite:steam", "geosite:epicgames", "geosite:pinterest", "geosite:google-play", "geosite:origin", "geosite:twitch", "domain:api.ipify.org", "domain:calls.okcdn.ru", "domain:checkip.amazonaws.com", "domain:gosuslugi.ru", "domain:gstatic.com", "domain:ifconfig.me", "domain:ipv4-internet.yandex.net", "domain:ipv6-internet.yandex.net", "domain:mtalk.google.com", "domain:pushtrs01.push.hicloud.com", "domain:pushtrs1.push.hicloud.com", "domain:token-drcn.push.dbankcloud.com" ], "outboundTag": "direct" }, { "type": "field", "id": "4D2E1E0A-89CF-5C66-A7E2-2492786AD952", "__name__": "Direct RU TLDs", "domainMatcher": "hybrid", "domain": [ "regex:.*\.ru$", "regex:.*\.su$", "regex:.*\.xn--p1ai$" ], "outboundTag": "direct" }, { "type": "field", "id": "07DCF558-E04D-5530-A8D7-8FD78CBD32DA", "__name__": "Direct RU IPs", "ip": [ "geoi:ru" ], "outboundTag": "direct" }, { "type": "field", "id": "85A6EF60-8EEA-52F1-AC63-38D0E3BE44ED", "__name__": "Proxy All", "port": "0-65535", "outboundTag": "proxy" } ] } } ``` -------------------------------- ### Process Rules Configuration Source: https://github.com/dignezzz/routing/blob/main/README.md Configure process-based routing rules using the classical format, which is specific to desktop environments. These rules are typically defined in YAML format. ```yaml proc-games: { type: http, behavior: classical, format: yaml, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/proc-games.yaml", path: ./rs/proc-games.yaml } proc-torrent: { type: http, behavior: classical, format: yaml, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/proc-torrent.yaml", path: ./rs/proc-torrent.yaml } proc-ru: { type: http, behavior: classical, format: yaml, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/proc-ru.yaml", path: ./rs/proc-ru.yaml } ``` -------------------------------- ### Download V2Ray/Xray Geo-Data Files via CDN Source: https://github.com/dignezzz/routing/blob/main/README.md Alternative download links for `geosite.dat` and `geoip.dat` files using the jsDelivr CDN. These files are compatible with V2Ray, Xray, Sing-box, and other clients. ```text https://cdn.jsdelivr.net/gh/DigneZzZ/routing@main/v2ray/geosite.dat https://cdn.jsdelivr.net/gh/DigneZzZ/routing@main/v2ray/geoip.dat ``` -------------------------------- ### MRS Rule-Providers Configuration Source: https://github.com/dignezzz/routing/blob/main/README.md Configure domain and IP-based rule providers using the MRS (compiled radix-tree) format. This is recommended for mobile devices with low RAM due to its memory efficiency. ```yaml rule-providers: reject: { type: http, behavior: domain, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/reject.mrs", path: ./rs/reject.mrs } proxy: { type: http, behavior: domain, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/proxy.mrs", path: ./rs/proxy.mrs } direct: { type: http, behavior: domain, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/direct.mrs", path: ./rs/direct.mrs } youtube: { type: http, behavior: domain, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/youtube.mrs", path: ./rs/youtube.mrs } ai: { type: http, behavior: domain, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/ai.mrs", path: ./rs/ai.mrs } games: { type: http, behavior: domain, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/games.mrs", path: ./rs/games.mrs } proxy-ip: { type: http, behavior: ipcidr, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/proxy-ip.mrs", path: ./rs/proxy-ip.mrs } direct-ip: { type: http, behavior: ipcidr, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/direct-ip.mrs", path: ./rs/direct-ip.mrs } refilter-d: { type: http, behavior: domain, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/refilter-domain.mrs", path: ./rs/refilter-d.mrs } refilter-ip: { type: http, behavior: ipcidr, format: mrs, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/refilter-ip.mrs", path: ./rs/refilter-ip.mrs } ``` -------------------------------- ### Text Rule-Providers Configuration Source: https://github.com/dignezzz/routing/blob/main/README.md Configure domain-based rule providers using the text format. This format is suitable for desktop use or debugging when MRS is not supported or needed. ```yaml proxy: { type: http, behavior: domain, format: text, interval: 86400, url: "https://raw.githubusercontent.com/DigneZzZ/routing/main/release/proxy.list", path: ./rs/proxy.list } ``` -------------------------------- ### Remnawave Subscription Template Source: https://github.com/dignezzz/routing/blob/main/README.md The Remnawave subscription template file. ```yaml template.yaml # Remnawave subscription template ``` -------------------------------- ### V2Ray/Xray Geo-data and Routing Configs Source: https://github.com/dignezzz/routing/blob/main/README.md Details the structure of V2Ray/Xray geo-data files and routing configurations, including lite versions for mobile. ```text v2ray/ ├── geosite.dat # 26 domain categories (protobuf, full) ├── geoip.dat # 4 IP categories (protobuf, full) ├── happ/ │ ├── geosite.dat # lite — without heavy RKN lists (for mobile) │ ├── geoip.dat # lite — without blocked-ru IPs (keeps telegram) │ ├── default.json # Happ routing config (lite) │ ├── default_deeplink.txt │ ├── full.json # Happ routing config (full) │ └── full_deeplink.txt └── incy/ ├── default.json # INCY routing config (lite) ├── default_deeplink.txt ├── full.json # INCY routing config (full) └── full_deeplink.txt v2raytun/ ├── routing.json # V2RayTUN routing (readable) ├── routing_base64.txt # Base64-encoded (for subscription header) └── routing_header.txt # Ready-to-use header line ``` -------------------------------- ### Disable Process Lookup for Mobile Source: https://github.com/dignezzz/routing/blob/main/README.md Set `find-process-mode` to `off` to disable per-connection process lookups, reducing resource usage on mobile devices. This change removes approximately 630 rules. ```yaml find-process-mode: off # mobile: disables PROCESS-NAME rules → no lookups ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.