{
  "version": 4,
  "config_params": [
    {
      "name": "route.final",
      "value": "proxy-out"
    }
  ],
  "custom_rules": [
    {
      "label": "Private IPs direct",
      "type": "raw",
      "enabled": false,
      "selected_outbound": "direct-out",
      "description": "Route private IP ranges (LAN, etc.) directly to guarantee local network access.",
      "rule": {
        "ip_is_private": true,
        "outbound": "direct-out"
      },
      "default_outbound": "direct-out",
      "has_outbound": true
    },
    {
      "label": "Local/LAN domains direct",
      "type": "urls",
      "enabled": false,
      "selected_outbound": "direct-out",
      "description": "Route .local and .lan domains directly for LAN access.",
      "rule": {
        "domain_suffix": [
          "local",
          "lan"
        ],
        "outbound": "direct-out"
      },
      "default_outbound": "direct-out",
      "has_outbound": true
    },
    {
      "label": "Block Ads (ads-all, soft)",
      "type": "srs",
      "enabled": false,
      "selected_outbound": "reject",
      "description": "Soft-block ads by rejecting connections instead of dropping packets",
      "rule": {
        "action": "reject",
        "rule_set": "ads-all"
      },
      "default_outbound": "reject",
      "has_outbound": true,
      "rule_set": [
        {
          "tag": "ads-all",
          "type": "remote",
          "format": "binary",
          "url": "https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/sing-box/rule-set-geosite/geosite-category-ads-all.srs"
        }
      ]
    },
    {
      "label": "Russian domains direct",
      "type": "srs",
      "enabled": true,
      "selected_outbound": "direct-out",
      "description": "Route Russian domains directly.",
      "rule": {
        "outbound": "direct-out",
        "rule_set": "ru-domains"
      },
      "default_outbound": "direct-out",
      "has_outbound": true
    },
    {
      "label": "Russia-only services",
      "type": "srs",
      "enabled": false,
      "selected_outbound": "ru VPN 🇷🇺",
      "description": "Use Russian VPN group for services available only inside Russia.",
      "rule": {
        "outbound": "direct-out",
        "rule_set": "ru-inside"
      },
      "default_outbound": "direct-out",
      "has_outbound": true,
      "rule_set": [
        {
          "tag": "ru-inside",
          "type": "remote",
          "format": "binary",
          "url": "https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/sing-box/rule-set-geosite/geosite-ru-available-only-inside.srs"
        }
      ]
    },
    {
      "label": "Russian blocked resources",
      "type": "srs",
      "enabled": false,
      "selected_outbound": "proxy-out",
      "description": "Detour resources blocked in Russia through proxy selector.",
      "rule": {
        "network": [
          "tcp",
          "udp"
        ],
        "outbound": "proxy-out",
        "rule_set": [
          "ru-blocked-main",
          "ru-blocked-community"
        ]
      },
      "default_outbound": "proxy-out",
      "has_outbound": true,
      "rule_set": [
        {
          "tag": "ru-blocked-main",
          "type": "remote",
          "format": "binary",
          "url": "https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/sing-box/rule-set-geoip/geoip-ru-blocked.srs"
        },
        {
          "tag": "ru-blocked-community",
          "type": "remote",
          "format": "binary",
          "url": "https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/sing-box/rule-set-geoip/geoip-ru-blocked-community.srs"
        }
      ]
    },
    {
      "label": "Israel-specific sites",
      "type": "srs",
      "enabled": false,
      "selected_outbound": "proxy-out",
      "description": "Send Israel-focused traffic via main proxy selector.",
      "rule": {
        "outbound": "proxy-out",
        "rule_set": "israel-sites"
      },
      "default_outbound": "proxy-out",
      "has_outbound": true,
      "rule_set": [
        {
          "tag": "israel-sites",
          "type": "remote",
          "format": "binary",
          "url": "https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/sing-box/rule-set-geoip/geoip-il.srs"
        }
      ]
    },
    {
      "label": "Drop RU DNS over UDP",
      "type": "srs",
      "enabled": false,
      "selected_outbound": "drop",
      "description": "Block UDP DNS queries that target Russian domains.",
      "rule": {
        "action": "reject",
        "method": "drop",
        "network": [
          "udp"
        ],
        "port": [
          53
        ],
        "rule_set": "ru-domains"
      },
      "default_outbound": "drop",
      "has_outbound": true
    },
    {
      "label": "BitTorrent direct",
      "type": "raw",
      "enabled": true,
      "selected_outbound": "direct-out",
      "description": "Route BitTorrent traffic directly to avoid VPN throttling.",
      "rule": {
        "outbound": "direct-out",
        "protocol": [
          "bittorrent"
        ]
      },
      "default_outbound": "direct-out",
      "has_outbound": true
    },
    {
      "label": "2ip.io for VPN IP test",
      "type": "urls",
      "enabled": false,
      "selected_outbound": "proxy-out",
      "description": "Route for 2ip.io to check VPN IP.",
      "rule": {
        "domain": [
          "2ip.io"
        ],
        "outbound": "proxy-out"
      },
      "default_outbound": "proxy-out",
      "has_outbound": true
    },
    {
      "label": "2ip.me via proxy",
      "type": "urls",
      "enabled": false,
      "selected_outbound": "proxy-out",
      "description": "Route 2ip.me through proxy to verify VPN IP.",
      "rule": {
        "domain": [
          "2ip.me"
        ],
        "outbound": "proxy-out"
      },
      "default_outbound": "proxy-out",
      "has_outbound": true
    },
    {
      "label": "2ip.ru your direct ip test",
      "type": "urls",
      "enabled": false,
      "selected_outbound": "direct-out",
      "description": "Route for 2ip.ru to check your IP.",
      "rule": {
        "domain": [
          "2ip.ru"
        ],
        "outbound": "direct-out"
      },
      "default_outbound": "direct-out",
      "has_outbound": true
    },
    {
      "label": "Gemini via Gemini VPN",
      "type": "srs",
      "enabled": false,
      "selected_outbound": "proxy-out",
      "description": "Use dedicated Gemini VPN selector for Gemini rule set.",
      "rule": {
        "network": [
          "tcp",
          "udp"
        ],
        "outbound": "proxy-out",
        "rule_set": "gemini"
      },
      "default_outbound": "proxy-out",
      "has_outbound": true,
      "rule_set": [
        {
          "tag": "gemini",
          "type": "inline",
          "format": "domain_suffix",
          "rules": [
            {
              "domain_suffix": [
                "generativelanguage.googleapis.com",
                "gemini.google.com",
                "ai.google.dev",
                "palm.googleapis.com"
              ]
            }
          ]
        }
      ]
    },
    {
      "label": "Messengers via proxy",
      "type": "srs",
      "enabled": false,
      "selected_outbound": "proxy-out",
      "description": "Send messenger traffic through proxy selector.",
      "rule": {
        "network": [
          "tcp",
          "udp"
        ],
        "outbound": "proxy-out",
        "rule_set": "messengers"
      },
      "default_outbound": "proxy-out",
      "has_outbound": true,
      "rule_set": [
        {
          "tag": "messengers",
          "type": "inline",
          "format": "domain_suffix",
          "rules": [
            {
              "domain_suffix": [
                "meet.google.com",
                "googlevideo.com",
                "gstatic.com",
                "googleusercontent.com",
                "googleapis.com",
                "web.whatsapp.com",
                "whatsapp.com",
                "whatsapp.net",
                "cdn.whatsapp.net",
                "mmg.whatsapp.net",
                "discord.com",
                "discordapp.com",
                "cdn.discordapp.com",
                "discord.gg",
                "gateway.discord.gg",
                "discord.media",
                "telegram.org",
                "t.me",
                "cdn-telegram.org"
              ]
            },
            {
              "process_name": [
                "Telegram.exe",
                "Discord.exe",
                "WhatsApp.exe",
                "Signal.exe",
                "Zoom.exe"
              ]
            }
          ]
        }
      ]
    },
    {
      "label": "Games direct",
      "type": "srs",
      "enabled": false,
      "selected_outbound": "direct-out",
      "description": "Send gaming rule set traffic directly for lower latency.",
      "rule": {
        "network": [
          "tcp",
          "udp"
        ],
        "outbound": "direct-out",
        "rule_set": "games"
      },
      "default_outbound": "direct-out",
      "has_outbound": true,
      "rule_set": [
        {
          "tag": "games",
          "type": "remote",
          "format": "binary",
          "url": "https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/sing-box/rule-set-geosite/geosite-category-games.srs"
        }
      ]
    },
    {
      "label": "Gaming ports direct",
      "type": "raw",
      "enabled": true,
      "selected_outbound": "direct-out",
      "description": "Keep popular gaming ports and Steam ranges outside VPN.",
      "rule": {
        "network": [
          "tcp",
          "udp"
        ],
        "outbound": "direct-out",
        "port": [
          3659,
          1935,
          5001,
          5795,
          5796,
          7000,
          7777,
          9000,
          10039,
          10040
        ],
        "port_range": "27000:27100"
      },
      "default_outbound": "direct-out",
      "has_outbound": true
    },
    {
      "label": "stop HTTP/3",
      "type": "raw",
      "enabled": false,
      "selected_outbound": "drop",
      "description": "QUIC does not support UDP traffic proxying. Therefore, we stop HTTP/3. This may block QUIC traffic (used by Google, YouTube, Cloudflare, etc.), which may potentially reduce speed or availability for these services.",
      "rule": {
        "action": "reject",
        "method": "drop",
        "network": [
          "udp"
        ],
        "port": [
          443
        ]
      },
      "default_outbound": "drop",
      "has_outbound": true
    }
  ],
  "rules_library_merged": true,
  "dns_options": {
    "servers": [
      {
        "enabled": true,
        "tag": "local_dns_resolver",
        "type": "local"
      },
      {
        "description": "Direct DNS resolver",
        "enabled": true,
        "server": "8.8.8.8",
        "server_port": 53,
        "tag": "direct_dns_resolver",
        "type": "udp"
      },
      {
        "description": "Cloudflare DNS resolver",
        "enabled": false,
        "server": "1.1.1.1",
        "server_port": 53,
        "tag": "cloudflare_udp",
        "type": "udp"
      },
      {
        "description": "Cloudflare DNS over HTTPS resolver",
        "enabled": false,
        "path": "/dns-query",
        "server": "1.1.1.1",
        "server_port": 443,
        "tag": "cloudflare_doh",
        "tls": {
          "server_name": "cloudflare-dns.com"
        },
        "type": "https"
      },
      {
        "description": "Google DNS over HTTPS resolver",
        "domain_resolver": "direct_dns_resolver",
        "enabled": true,
        "path": "/dns-query",
        "server": "dns.google",
        "server_port": 443,
        "tag": "google_doh",
        "type": "https"
      },
      {
        "description": "Google DNS over HTTPS resolver",
        "detour": "proxy-out",
        "domain_resolver": "direct_dns_resolver",
        "enabled": false,
        "path": "/dns-query",
        "server": "dns.google",
        "server_port": 443,
        "tag": "google_doh_vpn",
        "type": "https"
      },
      {
        "description": "Yandex DNS over HTTPS resolver",
        "domain_strategy": "prefer_ipv4",
        "enabled": true,
        "path": "/dns-query",
        "server": "77.88.8.88",
        "server_port": 443,
        "tag": "yandex_doh",
        "type": "https"
      },
      {
        "description": "Yandex DNS over UDP resolver",
        "detour": "proxy-out",
        "domain_strategy": "prefer_ipv4",
        "enabled": false,
        "server": "77.88.8.2",
        "server_port": 53,
        "tag": "yandex_dns_vpn",
        "type": "udp"
      },
      {
        "description": "Yandex 2 DNS over UDP resolver",
        "domain_strategy": "prefer_ipv4",
        "enabled": false,
        "server": "77.88.8.2",
        "server_port": 53,
        "tag": "yandex_dns_direct",
        "type": "udp"
      }
    ],
    "rules": [
      {
        "rule_set": "ru-domains",
        "server": "yandex_doh"
      },
      {
        "server": "google_doh"
      }
    ]
  },
  "vars": [
    {
      "name": "tun_stack",
      "value": "system"
    },
    {
      "name": "resolve_strategy",
      "value": "prefer_ipv4"
    },
    {
      "name": "log_level",
      "value": "warn"
    },
    {
      "name": "clash_secret",
      "value": "YU5czQwvmipTDCs9"
    },
    {
      "name": "dns_strategy",
      "value": "prefer_ipv4"
    },
    {
      "name": "dns_default_domain_resolver",
      "value": "direct_dns_resolver"
    },
    {
      "name": "dns_final",
      "value": "direct_dns_resolver"
    }
  ],
  "created_at": "2026-04-14T02:53:35Z",
  "updated_at": "2026-04-14T02:53:35Z",
  "parser_config": {
    "version": 4,
    "proxies": [
      {
        "source": "https://raw.githubusercontent.com/igareck/vpn-configs-for-russia/main/BLACK_VLESS_RUS_mobile.txt",
        "tag_prefix": "BL:"
      },
      {
        "source": "https://raw.githubusercontent.com/igareck/vpn-configs-for-russia/main/Vless-Reality-White-Lists-Rus-Mobile.txt",
        "tag_prefix": "W:"
      }
    ],
    "outbounds": [
      {
        "tag": "auto-proxy-out",
        "type": "urltest",
        "options": {
          "interrupt_exist_connections": true,
          "interval": "5m",
          "tolerance": 100,
          "url": "https://cp.cloudflare.com/generate_204"
        },
        "filters": {
          "tag": "!/(🇷🇺)/i"
        },
        "comment": "Proxy automated group for everything that should go through VPN",
        "wizard": {
          "required": 1
        }
      },
      {
        "tag": "proxy-out",
        "type": "selector",
        "options": {
          "default": "auto-proxy-out",
          "interrupt_exist_connections": true
        },
        "filters": {
          "tag": "!/(🇷🇺)/i"
        },
        "addOutbounds": [
          "direct-out",
          "auto-proxy-out"
        ],
        "comment": "Proxy group for everything that should go through VPN",
        "wizard": {
          "required": 1
        }
      },
      {
        "tag": "ru VPN 🇷🇺",
        "type": "selector",
        "options": {
          "default": "direct-out",
          "interrupt_exist_connections": true
        },
        "filters": {
          "tag": "/(🇷🇺)/i"
        },
        "addOutbounds": [
          "direct-out"
        ],
        "comment": "Proxy group for russian VPN"
      },
      {
        "tag": "vpn ①",
        "type": "selector",
        "options": {
          "default": "proxy-out",
          "interrupt_exist_connections": true
        },
        "addOutbounds": [
          "direct-out",
          "proxy-out"
        ],
        "comment": "Proxy group 1"
      },
      {
        "tag": "vpn ②",
        "type": "selector",
        "options": {
          "default": "proxy-out",
          "interrupt_exist_connections": true
        },
        "addOutbounds": [
          "direct-out",
          "proxy-out"
        ],
        "comment": "Proxy group 2"
      }
    ],
    "parser": {
      "reload": "4h"
    }
  }
}