{
  "log": {
    "level": "info"
  },
  "dns": {
    "servers": [
      {
        "tag": "local",
        "address": "local",
        "detour": "direct"
      },
      {
        "tag": "cf",
        "address": "https://1.1.1.1/dns-query",
        "detour": "DEFAULT"
      },
      {
        "tag": "google",
        "address": "https://dns.google/dns-query",
        "detour": "DEFAULT"
      }
    ],
    "rules": [
      {
        "_casshern_local_dns_20260513": true,
        "domain": [
          "router.keenetic.net",
          "my.keenetic.net"
        ],
        "server": "local"
      },
      {
        "_casshern_local_dns_20260513": true,
        "domain_suffix": [
          "keenetic.io",
          "keenetic.net"
        ],
        "server": "local"
      },
      {
        "domain_suffix": [
          "ru",
          "su",
          "xn--p1ai",
          "gosuslugi.ru",
          "nalog.gov.ru",
          "nalog.ru",
          "sberbank.ru",
          "sber.ru",
          "tbank.ru",
          "tinkoff.ru",
          "vtb.ru",
          "apple.com",
          "icloud.com"
        ],
        "server": "local"
      }
    ],
    "final": "cf"
  },
  "inbounds": [
    {
      "type": "tun",
      "tag": "tun-in",
      "address": [
        "172.19.0.1/30",
        "fdfe:dcba:9876::1/126"
      ],
      "auto_route": true,
      "strict_route": true,
      "sniff": true,
      "sniff_override_destination": true
    }
  ],
  "outbounds": [
    {
      "tag": "DEFAULT",
      "type": "selector",
      "outbounds": [
        "hy2-de",
        "vless-vision-nl",
        "AUTO",
        "FAST",
        "direct"
      ],
      "default": "hy2-de",
      "interrupt_exist_connections": false
    },
    {
      "type": "selector",
      "tag": "FAST",
      "outbounds": [
        "hy2-de",
        "vless-vision-nl",
        "direct"
      ],
      "default": "hy2-de",
      "interrupt_exist_connections": false
    },
    {
      "type": "urltest",
      "tag": "AUTO",
      "outbounds": [
        "hy2-de",
        "vless-vision-nl"
      ],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "5m",
      "tolerance": 5000,
      "idle_timeout": "30m",
      "interrupt_exist_connections": false
    },
    {
      "type": "hysteria2",
      "tag": "hy2-de",
      "server": "82.23.249.37",
      "server_port": 443,
      "password": "274558becf737b6f3ab00e0a1b5a53f4",
      "tls": {
        "enabled": true,
        "server_name": "www.microsoft.com",
        "insecure": true
      }
    },
    {
      "type": "vless",
      "tag": "vless-vision-nl",
      "server": "82.22.35.84",
      "server_port": 443,
      "uuid": "894bfb39-5dc8-415e-a241-bbca692b9de9",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "www.github.com",
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        },
        "reality": {
          "enabled": true,
          "public_key": "Mp3s_4KfhUoBwQKWR9yW1VBUpKhhycXeczmUDEPmJE0",
          "short_id": "65d4201ee2c045d4"
        }
      },
      "packet_encoding": "xudp"
    },
    {
      "type": "direct",
      "tag": "direct"
    },
    {
      "type": "block",
      "tag": "block"
    },
    {
      "type": "dns",
      "tag": "dns-out"
    }
  ],
  "route": {
    "rules": [
      {
        "_casshern_vps_direct_20260513": true,
        "ip_cidr": [
          "82.22.35.84/32",
          "82.23.249.37/32",
          "193.187.92.167/32"
        ],
        "outbound": "direct"
      },
      {
        "protocol": "dns",
        "outbound": "dns-out"
      },
      {
        "_casshern_local_direct_20260513": true,
        "ip_cidr": [
          "127.0.0.0/8",
          "10.0.0.0/8",
          "172.16.0.0/12",
          "192.168.0.0/16",
          "192.168.1.0/24",
          "192.168.2.0/24",
          "224.0.0.0/4",
          "fc00::/7",
          "fe80::/10"
        ],
        "outbound": "direct"
      },
      {
        "_casshern_local_direct_20260513": true,
        "domain": [
          "router.keenetic.net",
          "my.keenetic.net"
        ],
        "outbound": "direct"
      },
      {
        "_casshern_local_direct_20260513": true,
        "domain_suffix": [
          "keenetic.io",
          "keenetic.net"
        ],
        "outbound": "direct"
      },
      {
        "_casshern_fast_20260513": true,
        "domain_suffix": [
          "youtube.com",
          "youtu.be",
          "youtube-nocookie.com",
          "googlevideo.com",
          "ytimg.com",
          "youtubei.googleapis.com",
          "youtubekids.com",
          "twitch.tv",
          "ttvnw.net",
          "jtvnw.net",
          "twitchcdn.net",
          "tiktok.com",
          "tiktokcdn.com",
          "tiktokv.com",
          "tiktokcdn-us.com",
          "byteoversea.com",
          "ibytedtos.com",
          "instagram.com",
          "cdninstagram.com",
          "discord.com",
          "discord.gg",
          "discordapp.com",
          "discordapp.net",
          "discordcdn.com",
          "discord.media",
          "telegram.org",
          "t.me",
          "telegram.me",
          "tdesktop.com",
          "telegra.ph",
          "tcdn.co",
          "steampowered.com",
          "steamcommunity.com",
          "steamstatic.com",
          "steamcontent.com",
          "valvesoftware.com",
          "steamserver.net",
          "epicgames.com",
          "unrealengine.com",
          "epicgames.dev",
          "download.epicgames.com",
          "download2.epicgames.com",
          "download3.epicgames.com",
          "epicgames-download1.akamaized.net"
        ],
        "outbound": "FAST"
      },
      {
        "_casshern_fast_20260513": true,
        "domain_keyword": [
          "googlevideo",
          "tiktokcdn",
          "ttvnw",
          "cdninstagram",
          "discordcdn",
          "steamcontent"
        ],
        "outbound": "FAST"
      },
      {
        "domain": [
          "gosuslugi.ru",
          "www.gosuslugi.ru",
          "esia.gosuslugi.ru",
          "lk.gosuslugi.ru",
          "pos.gosuslugi.ru",
          "nalog.gov.ru",
          "www.nalog.gov.ru",
          "lknpd.nalog.gov.ru",
          "lkfl2.nalog.ru",
          "push.apple.com",
          "courier.push.apple.com",
          "mtalk.google.com",
          "fcm.googleapis.com"
        ],
        "outbound": "direct"
      },
      {
        "domain_suffix": [
          "ru",
          "su",
          "xn--p1ai",
          "gov.ru",
          "gosuslugi.ru",
          "nalog.gov.ru",
          "nalog.ru",
          "mos.ru",
          "mosreg.ru",
          "cbr.ru",
          "zakupki.gov.ru",
          "sberbank.ru",
          "sber.ru",
          "tbank.ru",
          "tinkoff.ru",
          "vtb.ru",
          "alfabank.ru",
          "gazprombank.ru",
          "pochtabank.ru",
          "mkb.ru",
          "domrfbank.ru",
          "banki.ru",
          "apple.com",
          "icloud.com",
          "icloud-content.com",
          "me.com",
          "mac.com",
          "cdn-apple.com",
          "aaplimg.com",
          "mzstatic.com",
          "apple-cloudkit.com",
          "apple-mapkit.com"
        ],
        "outbound": "direct"
      }
    ],
    "final": "DEFAULT",
    "auto_detect_interface": true
  },
  "experimental": {
    "cache_file": {
      "enabled": true
    }
  },
  "_casshern_meta": {
    "fast_patch_20260513": "FAST hy2 first; DEFAULT/final vless-vision-nl; FAST domains narrowed; Vision port fixed to 443.",
    "fast_dns_patch_20260513": "DNS defaults use DEFAULT/vless path, not FAST.",
    "generated_note": "Karing import requires enabling: Сохраните [VPN-провайдер] правила перенаправления"
  }
}
