{ "log": { "loglevel": "warning" }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "domain": [ "regexp:\\.ru$", "regexp:\\.рф$", "domain:vk.com" ], "outboundTag": "block" }, { "type": "field", "ip": [ "geoip:cn", "geoip:ru" ], "outboundTag": "block" } ] }, "inbounds": [ { "listen": "127.0.0.1", "port": 8010, "protocol": "vless", "settings": { "clients": [ ], "decryption": "none", "fallbacks": [ { "dest": "8011", "xver": 1 } ] }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { "rejectUnknownSni": true, "minVersion": "1.2", "alpn": ["http/1.1"], "certificates": [ { "ocspStapling": 3600, "certificateFile": "/var/lib/acme/kp2pml30.moe/fullchain.pem", "keyFile": "/var/lib/acme/kp2pml30.moe/key.pem" } ] } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } } ], "outbounds": [ { "protocol": "freedom", "tag": "direct" }, { "protocol": "blackhole", "tag": "block" } ], "policy": { "levels": { "0": { "handshake": 3, "connIdle": 127 } } } }