v2ray-config.json
<pre><code class="language-json">{
    "log": {
        "loglevel": "warning"
    },
    "inbound": {
        "port": 8000,
        "protocol": "vmess",
        "settings": {
            "clients": [{
                    "id": "b83a4-4-3-5-34-58b302",
                    "level": 1,
                    "alterId": 128,
                    "security": "auto"
                }
            ]
        },
        "streamSettings": {
            "network": "tcp",
            "tcpSettings": {
                "header": {
                    "type": "http",
                    "response": {
                        "version": "1.1",
                        "status": "200",
                        "reason": "OK",
                        "headers": {
                            "Content-Type": ["application/octet-stream", "application/x-msdownload", "text/html", "application/x-shockwave-flash"],
                            "Transfer-Encoding": ["chunked"],
                            "Connection": ["keep-alive"],
                            "Pragma": "no-cache"
                        }
                    }
                }
            }
        }
    },
    "outbounds": [{
            "tag": "proxy",
            "protocol": "vmess",
            "settings": {
                "vnext": [{
                        "address": "huangp.com",
                        "port": 443,
                        "users": [{
                                "id": "b46dbcfb",
                                "alterId": 233,
                                "security": "auto"
                            }
                        ]
                    }
                ]
            },
            "streamSettings": {
                "network": "ws",
                "security": "tls",
                "tlsSettings": {
                    "allowInsecure": true,
                    "serverName": "huangwj.top"
                },
                "wsSettings": {
                    "connectionReuse": true,
                    "path": "/filerun",
                    "headers": {
                        "Host": "huangwj.top"
                    }
                }
            }
        }, {
            "tag": "direct",
            "protocol": "●●●●●●●",
            "settings": {}
        }, {
            "tag": "block",
            "protocol": "blackhole",
            "settings": {}
        }
    ],
    "routing": {
        "domainStrategy": "IPIfNonMatch",
        "rules": [{
                "type": "field",
                "outboundTag": "direct",
                "domain": [
                        "geosite:cn"
                ]
            }, {
                "type": "field",
                "outboundTag": "direct",
                "ip": [
                        "geoip:cn",
                        "geoip:private"
                ]
            }, {
                "type": "field",
                "outboundTag": "proxy",
                "domain": [
                        "geosite:google",
                        "geosite:github",
                        "geosite:netflix",
                        "geosite:steam",
                        "geosite:telegram",
                        "geosite:tumblr",
                        "geosite:speedtest",
                        "geosite:bbc",
                        "domain:gvt1.com",
                        "domain:textnow.com",
                        "domain:twitch.tv",
                        "domain:wikileaks.org",
                        "domain:naver.com"
                ]
            }
        ]
    }
}
</code></pre>