mirror of
https://github.com/EvgenyNerush/easy-xray.git
synced 2025-12-14 05:45:31 +03:00
add customgeo to improve coherence of domestic sites sources
This commit is contained in:
12
README.md
12
README.md
@@ -12,7 +12,7 @@ so, here is a script which helps to
|
|||||||
|
|
||||||
- install/upgrade/remove XRay and geodata
|
- install/upgrade/remove XRay and geodata
|
||||||
- generate credentials and server/client configs
|
- generate credentials and server/client configs
|
||||||
- (todo) add/delete users to the configs
|
- add/delete users to the configs
|
||||||
|
|
||||||
First, make the script `ex.sh` executable, then run a desired command with it. Use `./ex.sh help` to see the list of all available commands
|
First, make the script `ex.sh` executable, then run a desired command with it. Use `./ex.sh help` to see the list of all available commands
|
||||||
and `./ex.sh install` to start interactive prompt which installs and configures XRay.
|
and `./ex.sh install` to start interactive prompt which installs and configures XRay.
|
||||||
@@ -38,13 +38,18 @@ proxies which can be used by your Telegram or web browser like this:
|
|||||||

|

|
||||||
|
|
||||||
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 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
|
Note also that for current client config, traffic to .cn, .ru, .by and .ir sites goes directly from the client, see
|
||||||
less attention-grabbing, but your connection less anonymous.
|
[here](https://github.com/EvgenyNerush/coherence-grabber) for details. This makes your server much less attention-grabbing and suspicious,
|
||||||
|
but your connection less anonymous.
|
||||||
|
|
||||||
### Other clients
|
### Other clients
|
||||||
|
|
||||||
For Windows, MacOS or Android you can try Nekobox, v2rayNG or ? (TODO): tests and config generation for them.
|
For Windows, MacOS or Android you can try Nekobox, v2rayNG or ? (TODO): tests and config generation for them.
|
||||||
|
|
||||||
|
### Futher reading
|
||||||
|
|
||||||
|
Template configs contain comments and links and are good start to find another interesting Xray configuration options.
|
||||||
|
|
||||||
### Acknowledgements
|
### Acknowledgements
|
||||||
|
|
||||||
[This article (in Russian)](https://habr.com/ru/articles/731608/) helped me to install *XRay* for the first time.
|
[This article (in Russian)](https://habr.com/ru/articles/731608/) helped me to install *XRay* for the first time.
|
||||||
@@ -53,4 +58,3 @@ For Windows, MacOS or Android you can try Nekobox, v2rayNG or ? (TODO): tests an
|
|||||||
|
|
||||||
[Configs](https://github.com/XTLS/Xray-examples/tree/main/VLESS-gRPC-REALITY) on which the template configs are based.
|
[Configs](https://github.com/XTLS/Xray-examples/tree/main/VLESS-gRPC-REALITY) on which the template configs are based.
|
||||||
|
|
||||||
(TODO) choose domain names or geoip, configs for phone...
|
|
||||||
|
|||||||
77
customgeo.dat
Normal file
77
customgeo.dat
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
|
||||||
|
<EFBFBD>
|
||||||
|
COHERENCE-EXTRA lenta.com
|
||||||
|
rugldn.net
|
||||||
|
ruyastatic.net
|
||||||
|
ru
|
||||||
|
yandex.net
|
||||||
|
rumycdn.me
|
||||||
|
ruavito.st
|
||||||
|
rugismeteo.st
|
||||||
|
rugismeteo.net
|
||||||
|
ruozonusercontent.com
|
||||||
|
ru mradx.net
|
||||||
|
ruaestatic.net
|
||||||
|
ru
|
||||||
|
alicdn.com
|
||||||
|
ru!rambler.pushwoosh.com
|
||||||
|
ruvk.com
|
||||||
|
ru otm-r.com
|
||||||
|
ru2gis.com
|
||||||
|
ruchampionat.com
|
||||||
|
ru rus-tv.su
|
||||||
|
ru kpcdn.net
|
||||||
|
rukp.house
|
||||||
|
rukp.kg
|
||||||
|
rukaspersky-labs.com
|
||||||
|
ruqq.com
|
||||||
|
cn gtimg.com
|
||||||
|
cn zhihu.com
|
||||||
|
cngeetest.com
|
||||||
|
cn zhimg.com
|
||||||
|
cn126.net
|
||||||
|
cn163.com
|
||||||
|
cn25ku.com
|
||||||
|
cnsohu.com
|
||||||
|
cn
|
||||||
|
bcebos.com
|
||||||
|
cnifengimg.com
|
||||||
|
cn
|
||||||
|
taobao.com
|
||||||
|
cnbdstatic.com
|
||||||
|
cn
|
||||||
|
ad-survey.com
|
||||||
|
cn ifeng.com
|
||||||
|
cn
|
||||||
|
alicdn.com
|
||||||
|
cnjd.com
|
||||||
|
cn
|
||||||
|
aliapp.org
|
||||||
|
cn
|
||||||
|
aliyun.com
|
||||||
|
cn iqiyi.com
|
||||||
|
cnmgtv.com
|
||||||
|
cniqiyipic.com
|
||||||
|
cn hdslb.com
|
||||||
|
cn
|
||||||
|
360buyimg.com
|
||||||
|
cnbilibili.com
|
||||||
|
cnalibaba.com
|
||||||
|
cn xiami.com
|
||||||
|
cn
|
||||||
|
yinyuetai.com
|
||||||
|
cn ctrip.com
|
||||||
|
cntripcdn.com
|
||||||
|
cnc-ctrip.com
|
||||||
|
cn
|
||||||
|
fliggy.com
|
||||||
|
cnqyerstatic.com
|
||||||
|
cn baidu.com
|
||||||
|
cnmafengwo.net
|
||||||
|
cnmeituan.com
|
||||||
|
cndianping.com
|
||||||
|
cn bdimg.com
|
||||||
|
cn
|
||||||
|
chuimg.com
|
||||||
|
cnautonavi.com
|
||||||
|
cnamap.com
|
||||||
5
ex.sh
5
ex.sh
@@ -74,8 +74,9 @@ then
|
|||||||
then
|
then
|
||||||
if bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
|
if bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
|
||||||
then
|
then
|
||||||
mkdir -p /var/log/xray
|
dat_dir="/usr/local/share/xray/"
|
||||||
touch /var/log/xray/error.log
|
mkdir -p $dat_dir
|
||||||
|
cp customgeo.dat ${dat_dir}
|
||||||
echo -e "${green}xray installed${normal}"
|
echo -e "${green}xray installed${normal}"
|
||||||
else
|
else
|
||||||
echo -e "${red}xray not installed, something goes wrong${normal}"
|
echo -e "${red}xray not installed, something goes wrong${normal}"
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
// this outbound is to guide traffic to local sites not through the server
|
// this outbound is to guide traffic to local sites not through the server
|
||||||
// but directly from the client; `tag` is just a label of oubound
|
// but directly from the client; `tag` is just an outbound label
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {}
|
"settings": {}
|
||||||
@@ -109,9 +109,21 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"domain": [
|
"domain": [
|
||||||
"geosite:cn",
|
"geosite:cn",
|
||||||
|
"domain:cn",
|
||||||
|
// punycode for national Chinese top-level domains .中国, .中國, .公司, .网络
|
||||||
|
"domain:xn--fiqs8s",
|
||||||
|
"domain:xn--fiqz9s",
|
||||||
|
"domain:xn--55qx5d",
|
||||||
|
"domain:xn--io0a7i",
|
||||||
"domain:ru",
|
"domain:ru",
|
||||||
|
// punycode for cyrillic Russian top-level domain .рф
|
||||||
|
"domain:xn--p1ai",
|
||||||
"domain:by",
|
"domain:by",
|
||||||
"domain:ir"
|
// punycode for national Belorussian top-level domain .бел
|
||||||
|
"domain:xn--90ais",
|
||||||
|
"domain:ir",
|
||||||
|
// extra domains that are used by domestic sites
|
||||||
|
"ext:customgeo.dat:coherence-extra"
|
||||||
],
|
],
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user