xcv

{
    "dns": {
        "servers": [
            {
                "tag": "cf",
                "address": "https://1.1.1.1/dns-query"
            },
            {
                "tag": "local",
                "address": "223.5.5.5",
                "detour": "direct"
            },
            {
                "tag": "block",
                "address": "rcode://success"
            }
        ],
        "rules": [
            {
                "geosite": "category-ads-all",
                "server": "block",
                "disable_cache": true
            },
            {
                "outbound": "any",
                "server": "local"
            },
            {
                "geosite": "cn",
                "server": "local"
            }
        ],
        "strategy": "ipv4_only"
    },
    "inbounds": [
        {
            "type": "tun",
            "inet4_address": "172.19.0.1/30",
            "auto_route": true,
            "strict_route": false,
            "sniff": true
        }
    ],
    "outbounds": [
        {
            "type": "hysteria2",
            "tag": "proxy",
            "server": "155.94.157.43",
            "server_port": 32377,
            "up_mbps": 20,
            "down_mbps": 100,
            "password": "b9348453",
            "tls": {
                "enabled": true,
                "server_name": "www.bing.com",
                "insecure": true
            }
        },
        {
            "type": "direct",
            "tag": "direct"
        },
        {
            "type": "block",
            "tag": "block"
        },
        {
            "type": "dns",
            "tag": "dns-out"
        }
    ],
    "route": {
        "rules": [
            {
                "protocol": "dns",
                "outbound": "dns-out"
            },
            {
                "geosite": "cn",
                "geoip": [
                    "private",
                    "cn"
                ],
                "outbound": "direct"
            },
            {
                "geosite": "category-ads-all",
                "outbound": "block"
            }
        ],
        "auto_detect_interface": true
    }
}

 

posted @ 2025-08-23 20:48  meetrice  阅读(8)  评论(0)    收藏  举报