| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- {
- "log": {
- "loglevel": "warning"
- },
- "inbounds": [
- {
- "port": 2001,
- "listen": "::1",
- "protocol": "vless",
- "settings": {
- "clients": [
- {
- "id": "",
- "email": "[email protected]"
- }
- ],
- "decryption": "none"
- },
- "streamSettings": {
- "security": "tls",
- "network": "http",
- "httpSettings": {
- "path": "/path",
- "host": [
- "xx.com"
- ]
- },
- "tlsSettings": {
- // "rejectUnknownSni": true,
- "minVersion": "1.3",
- "alpn": ["h3"],
- "certificates": [
- {
- "certificateFile": "CA.crt", // 换成你的证书,绝对路径
- "keyFile": "priv.key" // 换成你的私钥,绝对路径
- }
- ]
- }
- }
- }
- ],
- "outbounds": [
- {
- "tag": "direct",
- "protocol": "freedom",
- "settings": {}
- },
- {
- "tag": "blocked",
- "protocol": "blackhole",
- "settings": {}
- }
- ],
- "routing": {
- "domainStrategy": "AsIs",
- "rules": [
- {
- "type": "field",
- "ip": [
- "geoip:private"
- ],
- "outboundTag": "blocked"
- }
- ]
- }
- }
|