diff --git a/VPN/Config.md b/VPN/Config.md index e62aa04..2616a1d 100644 --- a/VPN/Config.md +++ b/VPN/Config.md @@ -61,4 +61,97 @@ } ] } +``` + +```json +{ + "log": { + "loglevel": "warning" + }, + "routing": { + "domainStrategy": "IPIfNonMatch", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "DIRECT" + }, + { + "type": "field", + "ip": [ + "geoip:ru" + ], + "outboundTag": "DIRECT" + }, + { + "type": "field", + "domain": [ + "geosite:ru", + "geosite:yandex", + "domain:vk.com", + "domain:ok.ru", + "domain:mail.ru", + "domain:sberbank.ru", + "domain:gosuslugi.ru", + "domain:mos.ru", + "domain:ozon.ru", + "domain:wildberries.ru", + "domain:avito.ru", + "domain:hh.ru", + "domain:kinopoisk.ru", + "domain:2gis.ru" + ], + "outboundTag": "DIRECT" + } + ] + }, + "inbounds": [ + { + "tag": "VLESS_REALITY", + "listen": "0.0.0.0", + "port": 2073, + "protocol": "vless", + "settings": { + "clients": [], + "decryption": "none" + }, + "streamSettings": { + "network": "tcp", + "security": "reality", + "realitySettings": { + "show": false, + "dest": "www.apple.com:443", + "xver": 0, + "serverNames": [ + "www.apple.com" + ], + "privateKey": "sIiJLOrd5kisiC4Fx3OXBKqEinrtYa5vt4CalThTvkI", + "shortIds": [ + "fb8382e98f461945", + "a1b2c3d4" + ] + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + } + } + ], + "outbounds": [ + { + "protocol": "freedom", + "tag": "DIRECT" + }, + { + "protocol": "blackhole", + "tag": "BLOCK" + } + ] +} ``` \ No newline at end of file