diff --git a/README.md b/README.md index dc8e454..fc55a66 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ a client allowing to guide traffic through a VPS outside the region of censorship. XRay configuration can be confusing for a newcomer, so, here is a script which helps to -- install/upgrade/remove XRay +- install/upgrade/remove XRay and geodata - generate credentials and server/client configs - (todo) add/delete users to the configs @@ -38,6 +38,8 @@ proxies which can be used by your Telegram or web browser like this: ![browser proxy: http/https proxy 127.0.0.1 at port 801, socks v5 host 127.0.0.1 at port 800](browser-proxy-settings.png) Note that there is no additional encryption layer in VLESS; using it you rely on the encryption that the browser (Telegram app etc.) makes. +Note also that for current client config traffic to .cn, .ru, .by and .ir sites goes directly from the client. This makes your server +less attention-grabbing, but your connection less anonymous. ### Other clients diff --git a/ex.sh b/ex.sh index 6d67278..e768a1c 100755 --- a/ex.sh +++ b/ex.sh @@ -263,7 +263,7 @@ fi echo -e " Command is done. -${red}Important:${normal} It is assumed that configs are stored and updated +${bold}Important:${normal} It is assumed that configs are stored and updated locally as config_server.json, config_client.json or config_client_username.json files. You should manually start XRay with one of configs, depending @@ -273,7 +273,7 @@ which role - server or client - XRay should play: or sudo xray run -c config_(role).json -${red}Important:${normal} Only warnings and errors are logged +${bold}Important:${normal} Only warnings and errors are logged by xray for current configs. For logs, see stdout or try journalctl -u xray " diff --git a/template_config_client.json b/template_config_client.json index 412ca90..6952ca5 100644 --- a/template_config_client.json +++ b/template_config_client.json @@ -110,6 +110,26 @@ "routing": { "domainStrategy": "AsIs", "rules": [ + { + "type": "field", + "domain": [ + "geosite:cn", + "domain:ru", + "domain:by", + "domain:ir" + ], + "outboundTag": "direct" + }, + { + "type": "field", + "ip": [ + "geoip:cn", + "geoip:ru", + "geoip:by", + "geoip:ir" + ], + "outboundTag": "direct" + }, { "type": "field", "inboundTag": [