Skip to content

Commit 9fb9d72

Browse files
committed
Add custom v2ray rules for Russia
runetfreedom/russia-v2ray-rules-dat
1 parent 4a3b9b9 commit 9fb9d72

File tree

8 files changed

+18
-20
lines changed

8 files changed

+18
-20
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ jobs:
118118
wget https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
119119
wget -O geoip_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
120120
wget -O geosite_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat
121-
wget -O geoip_VN.dat https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geoip.dat
122-
wget -O geosite_VN.dat https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geosite.dat
121+
wget -O geoip_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geoip.dat
122+
wget -O geosite_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geosite.dat
123123
mv xray xray-linux-${{ matrix.platform }}
124124
cd ../..
125125

DockerInit.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ wget https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/ge
3535
wget https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
3636
wget -O geoip_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
3737
wget -O geosite_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat
38-
wget -O geoip_VN.dat https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geoip.dat
39-
wget -O geosite_VN.dat https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geosite.dat
38+
wget -O geoip_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geoip.dat
39+
wget -O geosite_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geosite.dat
4040
cd ../../

README.es_ES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ XUI_BIN_FOLDER="bin" XUI_DB_FOLDER="/etc/x-ui" go build main.go
580580
## Reconocimientos
581581

582582
- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (Licencia: **GPL-3.0**): _Reglas de enrutamiento mejoradas de v2ray/xray y v2ray/xray-clients con dominios iraníes integrados y un enfoque en seguridad y bloqueo de anuncios._
583-
- [Vietnam Adblock rules](https://github.com/vuong2023/vn-v2ray-rules) (License: **GPL-3.0**): _Un dominio alojado en Vietnam y una lista de bloqueo con la máxima eficiencia para vietnamitas._
583+
- [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (License: **GPL-3.0**): _Este repositorio contiene reglas de enrutamiento de V2Ray actualizadas automáticamente basadas en datos de dominios y direcciones bloqueados en Rusia._
584584

585585
## Estrellas a lo largo del tiempo
586586

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ XUI_BIN_FOLDER="bin" XUI_DB_FOLDER="/etc/x-ui" go build main.go
589589
## Acknowledgment
590590
591591
- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (License: **GPL-3.0**): _Enhanced v2ray/xray and v2ray/xray-clients routing rules with built-in Iranian domains and a focus on security and adblocking._
592-
- [Vietnam Adblock rules](https://github.com/vuong2023/vn-v2ray-rules) (License: **GPL-3.0**): _A hosted domain hosted in Vietnam and blocklist with the most efficiency for Vietnamese._
592+
- [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (License: **GPL-3.0**): _This repository contains automatically updated V2Ray routing rules based on data on blocked domains and addresses in Russia._
593593
594594
## Stargazers over Time
595595

README.ru_RU.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ XUI_BIN_FOLDER="bin" XUI_DB_FOLDER="/etc/x-ui" go build main.go
587587
## Благодарности
588588
589589
- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (License: **GPL-3.0**): _Enhanced v2ray/xray and v2ray/xray-clients routing rules with built-in Iranian domains and a focus on security and adblocking._
590-
- [Vietnam Adblock rules](https://github.com/vuong2023/vn-v2ray-rules) (License: **GPL-3.0**): _A hosted domain hosted in Vietnam and blocklist with the most efficiency for Vietnamese._
590+
- [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (License: **GPL-3.0**): _Этот репозиторий содержит автоматически обновляемые правила маршрутизации V2Ray на основе данных о заблокированных доменах и адресах в России._
591591
592592
## Число звёзд со временем
593593

README.zh_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ XUI_BIN_FOLDER="bin" XUI_DB_FOLDER="/etc/x-ui" go build main.go
580580
## 致谢
581581

582582
- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (License: **GPL-3.0**): _Enhanced v2ray/xray and v2ray/xray-clients routing rules with built-in Iranian domains and a focus on security and adblocking._
583-
- [Vietnam Adblock rules](https://github.com/vuong2023/vn-v2ray-rules) (License: **GPL-3.0**): _A hosted domain hosted in Vietnam and blocklist with the most efficiency for Vietnamese._
583+
- [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (License: **GPL-3.0**): _This repository contains automatically updated V2Ray routing rules based on data on blocked domains and addresses in Russia._
584584

585585
## Star趋势
586586

web/html/xui/xray.html

+5-7
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,8 @@
901901
{ label: 'Private IPs', value: 'geoip:private' },
902902
{ label: '🇮🇷 Iran', value: 'ext:geoip_IR.dat:ir' },
903903
{ label: '🇨🇳 China', value: 'geoip:cn' },
904-
{ label: '🇷🇺 Russia', value: 'geoip:ru' },
905-
{ label: '🇻🇳 Vietnam', value: 'ext:geoip_VN.dat:vn' },
904+
{ label: '🇷🇺 Russia', value: 'ext:geoip_RU.dat:ru' },
905+
{ label: '🇻🇳 Vietnam', value: 'geoip:vn' },
906906
{ label: '🇪🇸 Spain', value: 'geoip:es' },
907907
{ label: '🇮🇩 Indonesia', value: 'geoip:id' },
908908
{ label: '🇺🇦 Ukraine', value: 'geoip:ua' },
@@ -915,15 +915,14 @@
915915
{ label: '🇮🇷 .ایران', value: 'regexp:.*\\.xn--mgba3a4f16a$' },
916916
{ label: '🇨🇳 China', value: 'geosite:cn' },
917917
{ label: '🇨🇳 .cn', value: 'regexp:.*\\.cn$' },
918-
{ label: '🇷🇺 Russia', value: 'geosite:category-ru' },
918+
{ label: '🇷🇺 Russia', value: 'ext:geosite_RU.dat:ru-available-only-inside' },
919919
{ label: '🇷🇺 .ru', value: 'regexp:.*\\.ru' },
920-
{ label: '🇻🇳 Vietnam', value: 'ext:geosite_VN.dat:vn' },
921920
{ label: '🇻🇳 .vn', value: 'regexp:.*\\.vn$' },
922921
],
923922
BlockDomainsOptions: [
924923
{ label: 'Ads All', value: 'geosite:category-ads-all' },
925924
{ label: 'Ads IR 🇮🇷', value: 'ext:geosite_IR.dat:category-ads-all' },
926-
{ label: 'Ads VN 🇻🇳', value: 'ext:geosite_VN.dat:ads' },
925+
{ label: 'Ads RU 🇷🇺', value: 'ext:geosite_RU.dat:category-ads-all' },
927926
{ label: 'Malware 🇮🇷', value: 'ext:geosite_IR.dat:malware' },
928927
{ label: 'Phishing 🇮🇷', value: 'ext:geosite_IR.dat:phishing' },
929928
{ label: 'Cryptominers 🇮🇷', value: 'ext:geosite_IR.dat:cryptominers' },
@@ -932,9 +931,8 @@
932931
{ label: '🇮🇷 .ایران', value: 'regexp:.*\\.xn--mgba3a4f16a$' },
933932
{ label: '🇨🇳 China', value: 'geosite:cn' },
934933
{ label: '🇨🇳 .cn', value: 'regexp:.*\\.cn$' },
935-
{ label: '🇷🇺 Russia', value: 'geosite:category-ru' },
934+
{ label: '🇷🇺 Russia', value: 'ext:geosite_RU.dat:ru-available-only-inside' },
936935
{ label: '🇷🇺 .ru', value: 'regexp:.*\\.ru' },
937-
{ label: '🇻🇳 Vietnam', value: 'ext:geosite_VN.dat:vn' },
938936
{ label: '🇻🇳 .vn', value: 'regexp:.*\\.vn$' },
939937
],
940938
ServicesOptions: [

x-ui.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ delete_ports() {
837837
update_geo() {
838838
echo -e "${green}\t1.${plain} Loyalsoldier (geoip.dat, geosite.dat)"
839839
echo -e "${green}\t2.${plain} chocolate4u (geoip_IR.dat, geosite_IR.dat)"
840-
echo -e "${green}\t3.${plain} vuong2023 (geoip_VN.dat, geosite_VN.dat)"
840+
echo -e "${green}\t3.${plain} runetfreedom (geoip_RU.dat, geosite_RU.dat)"
841841
echo -e "${green}\t0.${plain} Back to Main Menu"
842842
read -p "Choose an option: " choice
843843

@@ -865,10 +865,10 @@ update_geo() {
865865
;;
866866
3)
867867
systemctl stop x-ui
868-
rm -f geoip_VN.dat geosite_VN.dat
869-
wget -O geoip_VN.dat -N https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geoip.dat
870-
wget -O geosite_VN.dat -N https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geosite.dat
871-
echo -e "${green}vuong2023 datasets have been updated successfully!${plain}"
868+
rm -f geoip_RU.dat geosite_RU.dat
869+
wget -O geoip_RU.dat -N https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geoip.dat
870+
wget -O geosite_RU.dat -N https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geosite.dat
871+
echo -e "${green}runetfreedom datasets have been updated successfully!${plain}"
872872
restart
873873
;;
874874
*)

0 commit comments

Comments
 (0)