{
    "remarks": "Main + Ads Split Router",
    "log": {
        "loglevel": "warning"
    },
    "dns": {
        "servers": [
            "1.1.1.1",
            "8.8.8.8",
            "https://dns.google/dns-query",
            "https://cloudflare-dns.com/dns-query"
        ]
    },
    "inbounds": [
        {
            "tag": "socks",
            "listen": "127.0.0.1",
            "port": 10808,
            "protocol": "socks",
            "settings": {
                "auth": "noauth",
                "udp": true,
                "allowTransparent": false
            },
            "sniffing": {
                "enabled": true,
                "destOverride": [
                    "http",
                    "tls",
                    "quic"
                ],
                "routeOnly": false
            }
        },
        {
            "tag": "http",
            "listen": "127.0.0.1",
            "port": 10809,
            "protocol": "http",
            "settings": {},
            "sniffing": {
                "enabled": true,
                "destOverride": [
                    "http",
                    "tls"
                ],
                "routeOnly": false
            }
        }
    ],
    "outbounds": [
        {
            "tag": "ads-1",
            "protocol": "vless",
            "settings": {
                "vnext": [
                    {
                        "address": "85.192.63.181",
                        "port": 42308,
                        "users": [
                            {
                                "id": "a8eeac22-e811-4fed-ae33-6e9840974acf",
                                "encryption": "none",
                                "flow": ""
                            }
                        ]
                    }
                ]
            },
            "streamSettings": {
                "network": "xhttp",
                "security": "reality",
                "realitySettings": {
                    "serverName": "www.amd.com",
                    "fingerprint": "chrome",
                    "publicKey": "KFwG3knqAV3pMHYqSf1WQgjlV14xYaQSOVkcmTBODyQ",
                    "shortId": "c0",
                    "spiderX": "/lzh2FLm2mUYmLgc"
                },
                "xhttpSettings": {
                    "path": "/",
                    "host": "85.192.63.181",
                    "mode": "auto"
                }
            }
        },
        {
            "tag": "direct",
            "protocol": "freedom",
            "settings": {}
        },
        {
            "tag": "block",
            "protocol": "blackhole",
            "settings": {
                "response": {
                    "type": "http"
                }
            }
        }
    ],
    "routing": {
        "domainStrategy": "IPIfNonMatch",
        "rules": [
            {
                "type": "field",
                "domain": [
                    "geosite:category-ads-all",
                    "domain:pagead2.googlesyndication.com",
                    "domain:googleads.g.doubleclick.net",
                    "domain:adservice.google.com",
                    "domain:googleadservices.com",
                    "domain:googlesyndication.com",
                    "domain:googletagservices.com",
                    "domain:googletagmanager.com",
                    "domain:doubleclick.net",
                    "domain:admob.com",
                    "domain:browserleaks.com",
                    "domain:ads.google.com",
                    "domain:firebase-settings.crashlytics.com",
                    "domain:app-measurement.com"
                ],
                "outboundTag": "ads-1"
            },
            {
                "type": "field",
                "ip": [
                    "geoip:private"
                ],
                "outboundTag": "direct"
            },
            {
                "type": "field",
                "network": "tcp,udp",
                "outboundTag": "direct"
            }
        ]
    }
}