19 Commits

Author SHA1 Message Date
CodeRoK7
a26890920d Upgrade version Podkop to v0.7.10 2025-12-22 17:16:49 +00:00
CodeRoK7
87b9c61862 Change default DNS on Google 2025-12-14 15:51:36 +00:00
CodeRoK7
4927639c28 Fix config Zapret 2025-12-12 09:50:37 +00:00
CodeRoK7
30f921def8 Fix 2025-12-10 17:47:42 +00:00
CodeRoK7
3fd7112201 fix config zapret 2025-12-10 17:44:21 +00:00
CodeRoK7
0005011227 Fix sync config Zapret 2025-12-10 17:33:46 +00:00
CodeRoK7
3a5033c95c Fix zapret config 2025-12-10 10:38:34 +00:00
CodeRoK7
fad8b427bd Fix config podkop 2025-12-09 17:06:06 +00:00
CodeRoK7
6f7b5dcaf9 Fix check zapret, add domain and subnets WhatsApp 2025-12-09 17:04:49 +00:00
CodeRoK7
dea36b0562 Update Podkop to version v0.7.9 2025-12-03 16:17:13 +00:00
CodeRoK7
0768a86e19 Fix bug DNS 2025-11-27 16:22:10 +00:00
CodeRoK7
38aa79c42f Delete zapret srtipt '50-wg4all' 2025-11-25 15:40:17 +00:00
CodeRoK7
0283d13376 Fix domen Amazon 2025-11-22 18:20:47 +00:00
CodeRoK7
33c3c21982 Add config file zapret-hosts-user-exclude.txt 2025-11-21 21:30:50 +00:00
CodeRoK7
d36af9d33d Add filter mark for Zapret 2025-11-21 20:39:00 +00:00
CodeRoK7
b724c9084d Upgrade strateg youtubeUnBlock 2025-11-20 07:21:26 +00:00
CodeRoK7
35b5abf1df Upgrade strateg Zapret 2025-11-20 06:23:16 +00:00
CodeRoK7
28e6159aec Stop service youtubeunblock 2025-11-14 03:44:37 +00:00
CodeRoK7
8605bd66cc Restore 2025-11-13 16:27:44 +00:00
24 changed files with 82 additions and 100 deletions

View File

@@ -10,16 +10,16 @@ config main 'config'
option procd_trigger_wan6 '0'
config doh-proxy
option bootstrap_dns '94.140.14.14,94.140.15.15'
option resolver_url 'https://dns.adguard-dns.com/dns-query'
option resolver_url 'https://dns.google/dns-query'
option bootstrap_dns '8.8.8.8,8.8.4.4'
option listen_addr '127.0.0.1'
option listen_port '5053'
option user 'nobody'
option group 'nogroup'
config doh-proxy
option resolver_url 'https://dns.google/dns-query'
option bootstrap_dns '8.8.8.8,8.8.4.4'
option bootstrap_dns '94.140.14.14,94.140.15.15'
option resolver_url 'https://dns.adguard-dns.com/dns-query'
option listen_addr '127.0.0.1'
option listen_port '5054'
option user 'nobody'

View File

@@ -1,7 +1,7 @@
config settings 'settings'
option dns_type 'doh'
option dns_server 'dns.adguard-dns.com'
option dns_server '8.8.8.8'
option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60'
option enable_output_network_interface '0'
@@ -50,6 +50,5 @@ config section 'Youtube_Discord'
option mixed_proxy_enabled '0'
list community_lists 'youtube'
list community_lists 'discord'
option user_domains_text '2ip.ru'
option user_domains_text 'amazonws.com'
option user_domains_text '2ip.ru amazonaws.com whatsapp.com whatsapp.net whatsapp.biz wa.me'
list remote_subnet_lists 'https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt'

View File

@@ -1,7 +1,7 @@
config settings 'settings'
option dns_type 'doh'
option dns_server 'dns.adguard-dns.com'
option dns_server '8.8.8.8'
option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60'
option enable_output_network_interface '0'
@@ -49,5 +49,5 @@ config section 'Discord'
option user_subnet_list_type 'disabled'
option mixed_proxy_enabled '0'
list community_lists 'discord'
option user_domains_text '2ip.ru'
option user_domains_text 'amazonws.com'
option user_domains_text '2ip.ru amazonaws.com whatsapp.com whatsapp.net whatsapp.biz wa.me'
list remote_subnet_lists 'https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt'

View File

@@ -1,7 +1,7 @@
config settings 'settings'
option dns_type 'doh'
option dns_server 'dns.adguard-dns.com'
option dns_server '8.8.8.8'
option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60'
option enable_output_network_interface '0'
@@ -40,5 +40,5 @@ config section 'main'
list community_lists 'tiktok'
list community_lists 'google_ai'
list community_lists 'discord'
option user_domains_text 'myip.com'
option user_domains_text 'amazonws.com'
option user_domains_text 'myip.com amazonaws.com whatsapp.com whatsapp.net whatsapp.biz wa.me'
list remote_subnet_lists 'https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt'

View File

@@ -1,7 +1,7 @@
config settings 'settings'
option dns_type 'doh'
option dns_server 'dns.adguard-dns.com'
option dns_server '8.8.8.8'
option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60'
option enable_output_network_interface '0'
@@ -41,5 +41,5 @@ config section 'main'
list community_lists 'google_ai'
list community_lists 'youtube'
list community_lists 'discord'
option user_domains_text 'myip.com'
option user_domains_text 'amazonws.com'
option user_domains_text 'myip.com amazonaws.com whatsapp.com whatsapp.net whatsapp.biz wa.me'
list remote_subnet_lists 'https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt'

View File

@@ -1,7 +1,7 @@
config settings 'settings'
option dns_type 'doh'
option dns_server 'dns.adguard-dns.com'
option dns_server '8.8.8.8'
option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60'
option enable_output_network_interface '0'
@@ -34,5 +34,5 @@ config section 'main'
list community_lists 'google_ai'
list community_lists 'discord'
list community_lists 'yotube'
option user_domains_text 'myip.com'
option user_domains_text 'amazonws.com'
option user_domains_text 'myip.com amazonaws.com whatsapp.com whatsapp.net whatsapp.biz wa.me'
list remote_subnet_lists 'https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt'

View File

@@ -1,7 +1,7 @@
config settings 'settings'
option dns_type 'doh'
option dns_server 'dns.adguard-dns.com'
option dns_server '8.8.8.8'
option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60'
option enable_output_network_interface '0'
@@ -33,5 +33,5 @@ config section 'main'
list community_lists 'tiktok'
list community_lists 'google_ai'
list community_lists 'discord'
option user_domains_text 'myip.com'
option user_domains_text 'amazonws.com'
option user_domains_text 'myip.com amazonaws.com whatsapp.com whatsapp.net whatsapp.biz wa.me'
list remote_subnet_lists 'https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt'

View File

@@ -20,6 +20,10 @@ config stubby 'global'
list trigger 'wwan0'
option log_level '0'
config resolver
option address '8.8.8.8'
option tls_auth_name 'dns.google'
config resolver
option address '94.140.14.14'
option tls_auth_name 'dns.adguard.com'
@@ -36,10 +40,6 @@ config resolver
option address '2a10:50c0::ad2:ff'
option tls_auth_name 'dns.adguard.com'
config resolver
option address '8.8.8.8'
option tls_auth_name 'dns.google'
config resolver
option address '1.1.1.1'
option tls_auth_name 'cloudflare-dns.com'

View File

@@ -1,10 +0,0 @@
config wdoc 'main'
option enabled '1'
option timeout '900'
option ping_ip '77.88.8.8'
option ping_domain 'ya.ru'
option curl_domain 'https://scbh.yandex.net/generate_204'
option firstboot '0'
option log '0'

View File

@@ -1,7 +0,0 @@
config wdoc-singbox 'main'
option enabled '1'
option timeout '120'
option url_test 'facebook.com'
option log '0'

View File

@@ -1,14 +0,0 @@
config wdoc-warp 'main'
option enabled '1'
option timeout '300'
option check_inet1 '77.88.8.8'
option check_inet2 '8.8.8.8'
option log '0'
config interface
option iface 'awg10'
option check_ip1 '8.8.8.8'
option check_ip2 '1.1.1.1'
option attempts '10'

View File

@@ -19,7 +19,7 @@ config section
option frag_sni_faked '0'
option frag_middle_sni '1'
option frag_sni_pos '1'
option seg2delay '0'
option seg2delay '3'
option fk_winsize '0'
option synfake '0'
option sni_detection 'parse'

View File

@@ -19,7 +19,7 @@ config section
option frag_sni_faked '0'
option frag_middle_sni '1'
option frag_sni_pos '1'
option seg2delay '0'
option seg2delay '3'
option fk_winsize '0'
option synfake '0'
option sni_detection 'parse'

View File

@@ -19,7 +19,7 @@ config section
option frag_sni_faked '0'
option frag_middle_sni '1'
option frag_sni_pos '1'
option seg2delay '0'
option seg2delay '3'
option fk_winsize '0'
option synfake '0'
option sni_detection 'parse'

View File

@@ -20,6 +20,7 @@ config main 'config'
option NFQWS_ENABLE '1'
option DESYNC_MARK '0x40000000'
option DESYNC_MARK_POSTNAT '0x20000000'
option FILTER_MARK ' '
option NFQWS_PORTS_TCP '80,443'
option NFQWS_PORTS_UDP '443'
option NFQWS_TCP_PKT_OUT '9'
@@ -29,27 +30,26 @@ config main 'config'
option NFQWS_PORTS_TCP_KEEPALIVE '0'
option NFQWS_PORTS_UDP_KEEPALIVE '0'
option NFQWS_OPT '
--filter-tcp=80 <HOSTLIST>
--dpi-desync=fake,fakedsplit
--dpi-desync-autottl=2
--dpi-desync-fooling=badsum
--new
--filter-tcp=443
--dpi-desync=fake,fakeddisorder
--dpi-desync-split-pos=10,midsld
--dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin
--dpi-desync-fake-tls-mod=rnd,dupsid,sni=fonts.google.com
--dpi-desync-fake-tls=0x0F0F0F0F
--dpi-desync-fake-tls-mod=none
--dpi-desync-fakedsplit-pattern=/opt/zapret/files/fake/tls_clienthello_vk_com.bin
--dpi-desync-split-seqovl=336
--dpi-desync-split-seqovl-pattern=/opt/zapret/files/fake/tls_clienthello_gosuslugi_ru.bin
--dpi-desync-fooling=badseq,badsum
--dpi-desync-badseq-increment=0
--hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
--dpi-desync=multidisorder
--dpi-desync-split-pos=1,midsld
<HOSTLIST>
--new
--filter-udp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
--filter-udp=443
--dpi-desync=fake
--dpi-desync-repeats=11
--dpi-desync-repeats=4
--dpi-desync-fake-quic=/opt/zapret/files/fake/quic_initial_www_google_com.bin
--new
--filter-udp=443 <HOSTLIST_NOAUTO>
--dpi-desync=fake
--dpi-desync-repeats=11
--new
--filter-tcp=443 <HOSTLIST>
--dpi-desync=multidisorder
--dpi-desync-split-pos=1,sniext+1,host+1,midsld-2,midsld,midsld+2,endhost-1
--hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
<HOSTLIST>
'

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -614,6 +614,9 @@ eval "$(echo "$encoded_code" | base64 --decode)"
#проверка и установка пакетов AmneziaWG
#install_awg_packages
#opkg remove zapret luci-app-zapret
#rm -r /opt/zapret
checkPackageAndInstall "jq" "1"
checkPackageAndInstall "curl" "1"
checkPackageAndInstall "unzip" "1"
@@ -650,12 +653,6 @@ else
[ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp
fi
#проверяем установлени ли пакет https-dns-proxy
if opkg list-installed | grep -q https-dns-proxy; then
echo "Delete packet https-dns-proxy..."
opkg remove --force-removal-of-dependent-packages "https-dns-proxy"
fi
printf "Setting confdir dnsmasq\n"
uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d'
uci commit dhcp
@@ -673,8 +670,13 @@ URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/he
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
checkPackageAndInstall "luci-i18n-stubby-ru" "1"
checkPackageAndInstall "luci-i18n-wdoc-singbox-ru" "1"
checkPackageAndInstall "luci-i18n-wdoc-warp-ru" "1"
checkPackageAndInstall "luci-i18n-doh-proxy-ru" "1"
#проверяем установлени ли пакет https-dns-proxy
if opkg list-installed | grep -q https-dns-proxy; then
echo "Delete packet https-dns-proxy..."
opkg remove --force-removal-of-dependent-packages "https-dns-proxy"
fi
if [ ! -d "$DIR_BACKUP" ]
then
@@ -688,7 +690,7 @@ then
for file in $config_files
do
if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ] || [ "$file" == "wdoc" ] || [ "$file" == "wdoc-singbox" ] || [ "$file" == "wdoc-warp" ]
if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ]
then
wget -O "$DIR/$file" "$URL/config_files/$file"
fi
@@ -771,12 +773,13 @@ 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"
chmod +x "/opt/zapret/init.d/openwrt/custom.d/50-wg4all"
sh /opt/zapret/sync_config.sh
manage_package "podkop" "enable" "stop"
manage_package "youtubeUnblock" "disable" "stop"
service zapret restart
isWorkZapret=0
@@ -1266,7 +1269,7 @@ case $varByPass in
esac
PACKAGE="podkop"
REQUIRED_VERSION="v0.7.7-r1"
REQUIRED_VERSION="v0.7.10-r1"
INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3)
if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then
@@ -1292,9 +1295,9 @@ else
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
DOWNLOAD_DIR="/tmp/podkop"
mkdir -p "$DOWNLOAD_DIR"
podkop_files="podkop-v0.7.7-r1-all.ipk
luci-app-podkop-v0.7.7-r1-all.ipk
luci-i18n-podkop-ru-0.7.7.ipk"
podkop_files="podkop-v0.7.10-r1-all.ipk
luci-app-podkop-v0.7.10-r1-all.ipk
luci-i18n-podkop-ru-0.7.10.ipk"
for file in $podkop_files
do
echo "Download $file..."
@@ -1331,13 +1334,6 @@ fi
# Включаем интерфейс
#ifup $INTERFACE_NAME
service doh-proxy restart
service stubby restart
service wdoc restart
service wdoc-singbox restart
service wdoc-warp restart
service dns-failsafe-proxy restart
printf "\033[32;1mService Podkop and Sing-Box restart...\033[0m\n"
service sing-box enable
service sing-box restart