{
  "log": {
    "level": "info",
    "timestamp": true
  },
  "dns": {
    "servers": [
      {
        "type": "local",
        "tag": "local"
      }
    ]
  },
  "inbounds": [
    {
      "type": "tun",
      "tag": "tun-in",
      "address": ["172.19.0.1/30"],
      "auto_route": true,
      "strict_route": true,
      "stack": "system"
    }
  ],
  "outbounds": [
    {
      "type": "vless",
      "tag": "proxy",
      "server": "185.140.33.60",
      "server_port": 8443,
      "uuid": "878edf99-a48e-44e0-8875-8b33ffd05447",
      "flow": "xtls-rprx-vision",
      "packet_encoding": "xudp",
      "tls": {
        "enabled": true,
        "server_name": "www.cloudflare.com",
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        },
        "reality": {
          "enabled": true,
          "public_key": "kie63Vu5V7ro3FidBHLPOlTlIflyE-0fM1GcdBpOH2A",
          "short_id": "8c8b86b0bded5039"
        }
      }
    },
    {
      "type": "direct",
      "tag": "direct"
    },
    {
      "type": "block",
      "tag": "block"
    }
  ],
  "route": {
    "rule_set": [
      {
        "type": "remote",
        "tag": "tunnel-domains",
        "format": "source",
        "url": "https://185-140-33-60.sslip.io/rules/current/tunnel-domains.json",
        "update_interval": "6h"
      },
      {
        "type": "remote",
        "tag": "direct-domains",
        "format": "source",
        "url": "https://185-140-33-60.sslip.io/rules/current/direct-domains.json",
        "update_interval": "6h"
      },
      {
        "type": "remote",
        "tag": "direct-ip-cidrs",
        "format": "source",
        "url": "https://185-140-33-60.sslip.io/rules/current/direct-ip-cidrs.json",
        "update_interval": "6h"
      },
      {
        "type": "remote",
        "tag": "tunnel-ip-cidrs",
        "format": "source",
        "url": "https://185-140-33-60.sslip.io/rules/current/tunnel-ip-cidrs.json",
        "update_interval": "6h"
      }
    ],
    "rules": [
      {
        "action": "sniff"
      },
      {
        "protocol": "dns",
        "action": "hijack-dns"
      },
      {
        "ip_is_private": true,
        "outbound": "direct"
      },
      {
        "rule_set": "direct-domains",
        "outbound": "direct"
      },
      {
        "rule_set": "direct-ip-cidrs",
        "outbound": "direct"
      },
      {
        "rule_set": "tunnel-ip-cidrs",
        "outbound": "proxy"
      },
      {
        "rule_set": "tunnel-domains",
        "outbound": "proxy"
      }
    ],
    "final": "direct",
    "default_domain_resolver": "local",
    "auto_detect_interface": true
  },
  "experimental": {
    "cache_file": {
      "enabled": true
    }
  }
}
