Add config file zapret-hosts-user-exclude.txt

This commit is contained in:
CodeRoK7
2025-11-21 21:30:50 +00:00
parent d36af9d33d
commit 33c3c21982
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
127.0.0.0/8
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
169.254.0.0/16
::1
fc00::/7
fe80::/10
play.google.com
android.com
google-analytics.com
gstatic.com
gvt1.com
dl.google.com
dl-ssl.google.com
android.clients.google.com
gvt2.com
gvt3.com

View File

@@ -770,6 +770,7 @@ opkg upgrade luci-app-zapret
manage_package "zapret" "enable" "start"
wget -O "/etc/config/zapret" "$URL/config_files/zapret"
wget -O "/opt/zapret/ipset/zapret-hosts-user.txt" "$URL/config_files/zapret-hosts-user.txt"
wget -O "/opt/zapret/ipset/zapret-hosts-user-exclude.txt" "$URL/config_files/zapret-hosts-user-exclude.txt"
wget -O "/opt/zapret/init.d/openwrt/custom.d/50-stun4all" "$URL/config_files/50-stun4all"
wget -O "/opt/zapret/init.d/openwrt/custom.d/50-wg4all" "$URL/config_files/50-wg4all"
chmod +x "/opt/zapret/init.d/openwrt/custom.d/50-stun4all"