{
  "dns": {
    "independent_cache": true,
    "rules": [
      {
        "domain": [
          "fi-m.hiva-service.net"
        ],
        "server": "dns-direct"
      },
      {
        "outbound": "direct",
        "server": "dns-direct"
      }
    ],
    "servers": [
      {
        "address": "tcp://1.1.1.2",
        "strategy": "ipv4_only",
        "tag": "dns-remote"
      },
      {
        "address": "tcp://8.8.8.8",
        "detour": "direct",
        "strategy": "ipv4_only",
        "tag": "dns-direct"
      }
    ]
  },
    "inbounds": [
        {
            "auto_route": true,
            "strict_route": true,
            "domain_strategy": "",
            "endpoint_independent_nat": true,
            "address": "172.19.0.1/28",
            "interface_name": "singbox-tun",
            "mtu": 9000,
            "sniff": true,
            "sniff_override_destination": true,
            "stack": "system",
            "tag": "tun-in",
            "type": "tun"
        }
    ],
  "log": {
    "level": "error"
  },
    "outbounds": [
		{
            "type": "vless",
            "tag": "Hamrah-Aval",
            "server": "fi-m.hiva-service.net",
            "server_port": 9930,
            "detour": "hy2-out",
            "uuid": "base64password",
            "transport": {
                "service_name": "graphql",
                "type": "grpc",
                "idle_timeout": "5s",
                "ping_timeout": "3s"
            }
        },
        {
            "server": "fi-m.hiva-service.net",
            "server_port": 8443,
            "obfs": {
                "type": "salamander",
                "password": "NoFirewall"
            },
            "password": "HivaService",
            "tls": {
                "enabled": true,
                "server_name": "www.tradingview.com",
                "alpn": [
                    "h3"
                ],
                "insecure": true
            },
            "type": "hysteria2",
            "tag": "hy2-out"
        },
        {
            "tag": "direct",
            "type": "direct"
        },
        {
            "tag": "bypass",
            "type": "direct"
        },
        {
            "tag": "block",
            "type": "block"
        },
        {
            "tag": "dns-out",
            "type": "dns"
        }
    ],
  "route": {
    "auto_detect_interface": true,
    "override_android_vpn": true,
    "rules": [
      {
        "outbound": "dns-out",
        "protocol": "dns"
      },
      {
          "ip_cidr": [
          "10.0.0.0/8",
          "172.16.0.0/12",
          "192.168.0.0/16"
        ],
        "source_ip_cidr": [
          "10.0.0.0/8",
          "172.16.0.0/12",
          "192.168.0.0/16"
        ],
        "domain_suffix": [
          "google.com"
        ],
        "outbound": "bypass"
      },
      {
        "ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ],
        "outbound": "block",
        "source_ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ]
      }
    ]
  }
}