37 Commits

Author SHA1 Message Date
CodeRoK7
9db260379d Delete add autorestart Zapret 2025-12-30 10:17:28 +00:00
CodeRoK7
7c28aaacc4 Change default DNS on Google 2025-12-14 15:55:18 +00:00
CodeRoK7
886c539a67 Fix config Zapret 2025-12-12 09:47:27 +00:00
CodeRoK7
b15b197073 Fix synhronize config zapret 2025-12-10 17:03:53 +00:00
CodeRoK7
bab8d37b46 Fix config zapret 2025-12-10 10:41:06 +00:00
CodeRoK7
2674f7e9a9 Fix check zapret, add domain and subnets WhatsApp 2025-12-09 17:08:48 +00:00
CodeRoK7
588f538326 Update Podkop to version v0.7.10 2025-12-03 15:43:51 +00:00
CodeRoK7
b5ac0c0dd4 Fix output messages 2025-12-02 10:51:18 +00:00
CodeRoK7
c3a18a88a9 Update Podkop to version v0.7.9 2025-12-02 09:25:37 +00:00
CodeRoK7
90978d0cbb Update Podkop to version v0.7.8 2025-12-01 15:40:25 +00:00
CodeRoK7
948af4f0fc No edit sing-box 2025-12-01 04:49:13 +00:00
CodeRoK7
3539fe995d Fix bug DNS 2025-11-27 18:31:52 +00:00
CodeRoK7
da4bf408b8 Delete Zapret sript 50-wg4all 2025-11-25 15:46:33 +00:00
CodeRoK7
b58410aae3 Fix domen amazon 2025-11-22 18:22:52 +00:00
CodeRoK7
aca33c2f49 Add config file zapret-hosts-user-exclude.txt 2025-11-21 21:31:13 +00:00
CodeRoK7
57b2bf7ace Add filter mark for Zapret 2025-11-21 20:40:37 +00:00
CodeRoK7
6096a78db1 Upgrade strateg youtubeUnBlock 2025-11-20 07:22:40 +00:00
CodeRoK7
0835700a66 Upgrade strateg Zapret 2025-11-20 06:24:56 +00:00
CodeRoK7
db425c55b3 Fix 2025-11-14 12:27:49 +00:00
CodeRoK7
6b57248ed4 Add restart wdoc-wg 2025-11-14 10:36:42 +00:00
CodeRoK7
2f1d2d3767 Add config file wdoc-wg 2025-11-14 10:35:53 +00:00
CodeRoK7
3b7b7b2320 Stop service youtubeunblock 2025-11-14 03:41:42 +00:00
CodeRoK7
90e18865e6 Check and install packets doh-proxy, wdoc-wg 2025-11-13 18:59:47 +00:00
CodeRoK7
4c5da586c9 Add packets WathDog 2025-11-13 16:36:41 +00:00
CodeRoK7
2bbe0c5e5c Add config and restart packet wdoc 2025-11-13 16:01:45 +00:00
CodeRoK7
b650220a2f Add new packets wdoc-singbox, wdoc-warp 2025-11-13 15:56:26 +00:00
CodeRoK7
b6d492cd08 Add EndPoint WARP 2025-11-13 06:25:12 +00:00
CodeRoK7
19d6d4e352 Update Podkop to v0.7.7 2025-10-30 16:50:45 +00:00
CodeRoK7
8cec68331f Add domain amazonws.com 2025-10-27 18:13:43 +00:00
CodeRoK7
611012c508 Upgrade Podkop to v0.7.6 2025-10-27 15:50:10 +00:00
CodeRoK7
d36cd357d5 Fix remove packet https-dns-proxy 2025-10-26 15:32:36 +00:00
CodeRoK7
eb0a543ef6 Upgrade Podkop to v0.7.5 2025-10-26 14:55:38 +00:00
CodeRoK7
3bd2a946e4 Fix remove packet https-dns-proxy 2025-10-26 14:50:04 +00:00
CodeRoK7
29db68e670 Add config stubby 2025-10-25 16:08:43 +00:00
CodeRoK7
a04a84a364 Fix check work opera-proxy 2025-10-24 17:55:14 +00:00
CodeRoK7
b9a6cbc481 Upgrade Podkop to v0.7.2 2025-10-23 19:25:27 +00:00
CodeRoK7
e32fae4e5e Upgrade Podkop to 0.7.1v 2025-10-23 18:37:25 +00:00
48 changed files with 1869 additions and 325 deletions

View File

@@ -318,7 +318,7 @@ config_files="network
firewall firewall
https-dns-proxy https-dns-proxy
dhcp" dhcp"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
checkPackageAndInstall "https-dns-proxy" "0" checkPackageAndInstall "https-dns-proxy" "0"
@@ -575,7 +575,7 @@ fi
path_podkop_config="/etc/config/podkop" path_podkop_config="/etc/config/podkop"
path_podkop_config_backup="/root/podkop" path_podkop_config_backup="/root/podkop"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
if [ -f "/etc/init.d/podkop" ]; then if [ -f "/etc/init.d/podkop" ]; then
printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n" printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n"

View File

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

View File

@@ -1,55 +1,55 @@
config main 'main' config settings 'settings'
option mode 'proxy'
option proxy_config_type 'outbound'
option domain_list_enabled '1'
option subnets_list_enabled '0'
option custom_domains_list_type 'text'
option custom_local_domains_list_enabled '0'
option custom_download_domains_list_enabled '0'
option custom_download_subnets_list_enabled '0'
option all_traffic_from_ip_enabled '0'
option delist_domains_enabled '0'
option exclude_from_ip_enabled '0'
option yacd '0'
option socks5 '0'
option exclude_ntp '1'
option quic_disable '1'
option dont_touch_dhcp '1'
option update_interval '1d'
option dns_type 'doh' option dns_type 'doh'
option dns_server 'dns.adguard-dns.com' option dns_server '8.8.8.8'
option split_dns_enabled '0' option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60' option dns_rewrite_ttl '60'
option cache_file '/tmp/cache.db' option enable_output_network_interface '0'
list iface 'br-lan' option enable_badwan_interface_monitoring '0'
option mon_restart_ifaces '0' option enable_yacd '0'
option detour '1' option disable_quic '1'
option update_interval '1d'
option download_lists_via_proxy '1'
option dont_touch_dhcp '1'
option config_path '/etc/sing-box/config.json'
option cache_path '/tmp/sing-box/cache.db'
option exclude_ntp '1'
option shutdown_correctly '0'
option download_lists_via_proxy_section 'main'
list source_network_interfaces 'br-lan'
config section 'main'
option connection_type 'proxy'
option proxy_config_type 'outbound'
option enable_udp_over_tcp '0'
option shutdown_correctly '1'
option user_domain_list_type 'text'
option user_subnet_list_type 'disabled'
option mixed_proxy_enabled '0'
option outbound_json '{ option outbound_json '{
"type": "http", "type": "http",
"tag": "http-proxy", "tag": "http-proxy",
"server": "127.0.0.1", "server": "127.0.0.1",
"server_port": 18080 "server_port": 18080
}' }'
list domain_list 'geoblock' list community_lists 'geoblock'
list domain_list 'block' list community_lists 'block'
list domain_list 'meta' list community_lists 'meta'
list domain_list 'twitter' list community_lists 'twitter'
list domain_list 'hdrezka' list community_lists 'hdrezka'
list domain_list 'google_ai' list community_lists 'tiktok'
option custom_domains_text 'myip.com' list community_lists 'google_ai'
option custom_subnets_list_enabled 'disabled' option user_domains_text 'myip.com'
config extra 'Youtube_Discord' config section 'Youtube_Discord'
option mode 'vpn' option connection_type 'vpn'
option interface 'awg10' option interface 'awg10'
option domain_list_enabled '1' option domain_resolver_enabled '0'
list domain_list 'youtube' option user_domain_list_type 'text'
list domain_list 'discord' option user_subnet_list_type 'disabled'
option custom_domains_list_type 'text' option mixed_proxy_enabled '0'
option custom_domains_text '2ip.ru' list community_lists 'youtube'
option custom_local_domains_list_enabled '0' list community_lists 'discord'
option custom_download_domains_list_enabled '0' option user_domains_text '2ip.ru amazonaws.com whatsapp.com whatsapp.net whatsapp.biz wa.me'
option custom_subnets_list_enabled 'disabled' list remote_subnet_lists 'https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt'
option custom_download_subnets_list_enabled '0'
option all_traffic_from_ip_enabled '0'

View File

@@ -1,54 +1,53 @@
config main 'main' config settings 'settings'
option mode 'proxy'
option proxy_config_type 'outbound'
option domain_list_enabled '1'
option subnets_list_enabled '0'
option custom_domains_list_type 'text'
option custom_local_domains_list_enabled '0'
option custom_download_domains_list_enabled '0'
option custom_download_subnets_list_enabled '0'
option all_traffic_from_ip_enabled '0'
option delist_domains_enabled '0'
option exclude_from_ip_enabled '0'
option yacd '0'
option socks5 '0'
option exclude_ntp '1'
option quic_disable '1'
option dont_touch_dhcp '1'
option update_interval '1d'
option dns_type 'doh' option dns_type 'doh'
option dns_server 'dns.adguard-dns.com' option dns_server '8.8.8.8'
option split_dns_enabled '0' option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60' option dns_rewrite_ttl '60'
option cache_file '/tmp/cache.db' option enable_output_network_interface '0'
list iface 'br-lan' option enable_badwan_interface_monitoring '0'
option mon_restart_ifaces '0' option enable_yacd '0'
option detour '1' option disable_quic '1'
option update_interval '1d'
option download_lists_via_proxy '1'
option dont_touch_dhcp '1'
option config_path '/etc/sing-box/config.json'
option cache_path '/tmp/sing-box/cache.db'
option exclude_ntp '1'
option shutdown_correctly '0'
option download_lists_via_proxy_section 'main'
list source_network_interfaces 'br-lan'
config section 'main'
option connection_type 'proxy'
option proxy_config_type 'outbound'
option enable_udp_over_tcp '0'
option shutdown_correctly '1'
option user_domain_list_type 'text'
option user_subnet_list_type 'disabled'
option mixed_proxy_enabled '0'
option outbound_json '{ option outbound_json '{
"type": "http", "type": "http",
"tag": "http-proxy", "tag": "http-proxy",
"server": "127.0.0.1", "server": "127.0.0.1",
"server_port": 18080 "server_port": 18080
}' }'
list domain_list 'geoblock' list community_lists 'geoblock'
list domain_list 'block' list community_lists 'block'
list domain_list 'meta' list community_lists 'meta'
list domain_list 'twitter' list community_lists 'twitter'
list domain_list 'hdrezka' list community_lists 'hdrezka'
list domain_list 'google_ai' list community_lists 'tiktok'
option custom_domains_text 'myip.com' list community_lists 'google_ai'
option custom_subnets_list_enabled 'disabled' option user_domains_text 'myip.com'
config extra 'Discord' config section 'Discord'
option mode 'vpn' option connection_type 'vpn'
option interface 'awg10' option interface 'awg10'
option domain_list_enabled '1' option domain_resolver_enabled '0'
list domain_list 'discord' option user_domain_list_type 'text'
option custom_domains_list_type 'text' option user_subnet_list_type 'disabled'
option custom_domains_text '2ip.ru' option mixed_proxy_enabled '0'
option custom_local_domains_list_enabled '0' list community_lists 'discord'
option custom_download_domains_list_enabled '0' option user_domains_text '2ip.ru amazonaws.com whatsapp.com whatsapp.net whatsapp.biz wa.me'
option custom_subnets_list_enabled 'disabled' list remote_subnet_lists 'https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt'
option custom_download_subnets_list_enabled '0'
option all_traffic_from_ip_enabled '0'

View File

@@ -1,42 +1,44 @@
config main 'main' config settings 'settings'
option mode 'proxy'
option proxy_config_type 'outbound'
option domain_list_enabled '1'
option subnets_list_enabled '0'
option custom_domains_list_type 'text'
option custom_local_domains_list_enabled '0'
option custom_download_domains_list_enabled '0'
option custom_download_subnets_list_enabled '0'
option all_traffic_from_ip_enabled '0'
option delist_domains_enabled '0'
option exclude_from_ip_enabled '0'
option yacd '0'
option socks5 '0'
option exclude_ntp '1'
option quic_disable '1'
option dont_touch_dhcp '1'
option update_interval '1d'
option dns_type 'doh' option dns_type 'doh'
option dns_server 'dns.adguard-dns.com' option dns_server '8.8.8.8'
option split_dns_enabled '0' option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60' option dns_rewrite_ttl '60'
option cache_file '/tmp/cache.db' option enable_output_network_interface '0'
list iface 'br-lan' option enable_badwan_interface_monitoring '0'
option mon_restart_ifaces '0' option enable_yacd '0'
option detour '1' option disable_quic '1'
option update_interval '1d'
option download_lists_via_proxy '1'
option dont_touch_dhcp '1'
option config_path '/etc/sing-box/config.json'
option cache_path '/tmp/sing-box/cache.db'
option exclude_ntp '1'
option shutdown_correctly '0'
option download_lists_via_proxy_section 'main'
list source_network_interfaces 'br-lan'
config section 'main'
option connection_type 'proxy'
option proxy_config_type 'outbound'
option enable_udp_over_tcp '0'
option shutdown_correctly '1'
option user_domain_list_type 'text'
option user_subnet_list_type 'disabled'
option mixed_proxy_enabled '0'
option outbound_json '{ option outbound_json '{
"type": "http", "type": "http",
"tag": "http-proxy", "tag": "http-proxy",
"server": "127.0.0.1", "server": "127.0.0.1",
"server_port": 18080 "server_port": 18080
}' }'
list domain_list 'geoblock' list community_lists 'geoblock'
list domain_list 'block' list community_lists 'block'
list domain_list 'meta' list community_lists 'meta'
list domain_list 'twitter' list community_lists 'twitter'
list domain_list 'hdrezka' list community_lists 'hdrezka'
list domain_list 'google_ai' list community_lists 'tiktok'
list domain_list 'discord' list community_lists 'google_ai'
option custom_domains_text 'myip.com' list community_lists 'discord'
option custom_subnets_list_enabled 'disabled' 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,43 +1,45 @@
config main 'main' config settings 'settings'
option mode 'proxy'
option proxy_config_type 'outbound'
option domain_list_enabled '1'
option subnets_list_enabled '0'
option custom_domains_list_type 'text'
option custom_local_domains_list_enabled '0'
option custom_download_domains_list_enabled '0'
option custom_download_subnets_list_enabled '0'
option all_traffic_from_ip_enabled '0'
option delist_domains_enabled '0'
option exclude_from_ip_enabled '0'
option yacd '0'
option socks5 '0'
option exclude_ntp '1'
option quic_disable '1'
option dont_touch_dhcp '1'
option update_interval '1d'
option dns_type 'doh' option dns_type 'doh'
option dns_server 'dns.adguard-dns.com' option dns_server '8.8.8.8'
option split_dns_enabled '0' option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60' option dns_rewrite_ttl '60'
option cache_file '/tmp/cache.db' option enable_output_network_interface '0'
list iface 'br-lan' option enable_badwan_interface_monitoring '0'
option mon_restart_ifaces '0' option enable_yacd '0'
option detour '1' option disable_quic '1'
option update_interval '1d'
option download_lists_via_proxy '1'
option dont_touch_dhcp '1'
option config_path '/etc/sing-box/config.json'
option cache_path '/tmp/sing-box/cache.db'
option exclude_ntp '1'
option shutdown_correctly '0'
option download_lists_via_proxy_section 'main'
list source_network_interfaces 'br-lan'
config section 'main'
option connection_type 'proxy'
option proxy_config_type 'outbound'
option enable_udp_over_tcp '0'
option shutdown_correctly '1'
option user_domain_list_type 'text'
option user_subnet_list_type 'disabled'
option mixed_proxy_enabled '0'
option outbound_json '{ option outbound_json '{
"type": "http", "type": "http",
"tag": "http-proxy", "tag": "http-proxy",
"server": "127.0.0.1", "server": "127.0.0.1",
"server_port": 18080 "server_port": 18080
}' }'
list domain_list 'geoblock' list community_lists 'geoblock'
list domain_list 'block' list community_lists 'block'
list domain_list 'meta' list community_lists 'meta'
list domain_list 'twitter' list community_lists 'twitter'
list domain_list 'hdrezka' list community_lists 'hdrezka'
list domain_list 'google_ai' list community_lists 'tiktok'
list domain_list 'discord' list community_lists 'google_ai'
list domain_list 'youtube' list community_lists 'youtube'
option custom_domains_text 'myip.com' list community_lists 'discord'
option custom_subnets_list_enabled 'disabled' 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,36 +1,38 @@
config main 'main' config settings 'settings'
option mode 'vpn'
option interface 'awg10'
option domain_list_enabled '1'
option subnets_list_enabled '0'
option custom_domains_list_type 'text'
option custom_local_domains_list_enabled '0'
option custom_download_domains_list_enabled '0'
option custom_download_subnets_list_enabled '0'
option all_traffic_from_ip_enabled '0'
option delist_domains_enabled '0'
option exclude_from_ip_enabled '0'
option yacd '0'
option socks5 '0'
option exclude_ntp '1'
option quic_disable '1'
option dont_touch_dhcp '1'
option update_interval '1d'
option dns_type 'doh' option dns_type 'doh'
option dns_server 'dns.adguard-dns.com' option dns_server '8.8.8.8'
option split_dns_enabled '0' option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60' option dns_rewrite_ttl '60'
option cache_file '/tmp/cache.db' option enable_output_network_interface '0'
list iface 'br-lan' option enable_badwan_interface_monitoring '0'
option mon_restart_ifaces '0' option enable_yacd '0'
option detour '1' option disable_quic '1'
list domain_list 'block' option update_interval '1d'
list domain_list 'meta' option download_lists_via_proxy '1'
list domain_list 'twitter' option dont_touch_dhcp '1'
list domain_list 'hdrezka' option config_path '/etc/sing-box/config.json'
list domain_list 'telegram' option cache_path '/tmp/sing-box/cache.db'
list domain_list 'discord' option exclude_ntp '1'
list domain_list 'youtube' option shutdown_correctly '0'
option custom_domains_text 'myip.com' option download_lists_via_proxy_section 'main'
option custom_subnets_list_enabled 'disabled' list source_network_interfaces 'br-lan'
config section 'main'
option connection_type 'vpn'
option interface 'awg10'
option enable_udp_over_tcp '0'
option shutdown_correctly '1'
option user_domain_list_type 'text'
option user_subnet_list_type 'disabled'
option mixed_proxy_enabled '0'
list community_lists 'block'
list community_lists 'meta'
list community_lists 'twitter'
list community_lists 'hdrezka'
list community_lists 'tiktok'
list community_lists 'google_ai'
list community_lists 'discord'
list community_lists 'yotube'
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,35 +1,37 @@
config main 'main' config settings 'settings'
option mode 'vpn'
option interface 'awg10'
option domain_list_enabled '1'
option subnets_list_enabled '0'
option custom_domains_list_type 'text'
option custom_local_domains_list_enabled '0'
option custom_download_domains_list_enabled '0'
option custom_download_subnets_list_enabled '0'
option all_traffic_from_ip_enabled '0'
option delist_domains_enabled '0'
option exclude_from_ip_enabled '0'
option yacd '0'
option socks5 '0'
option exclude_ntp '1'
option quic_disable '1'
option dont_touch_dhcp '1'
option update_interval '1d'
option dns_type 'doh' option dns_type 'doh'
option dns_server 'dns.adguard-dns.com' option dns_server '8.8.8.8'
option split_dns_enabled '0' option bootstrap_dns_server '8.8.8.8'
option dns_rewrite_ttl '60' option dns_rewrite_ttl '60'
option cache_file '/tmp/cache.db' option enable_output_network_interface '0'
list iface 'br-lan' option enable_badwan_interface_monitoring '0'
option mon_restart_ifaces '0' option enable_yacd '0'
option detour '1' option disable_quic '1'
list domain_list 'block' option update_interval '1d'
list domain_list 'meta' option download_lists_via_proxy '1'
list domain_list 'twitter' option dont_touch_dhcp '1'
list domain_list 'hdrezka' option config_path '/etc/sing-box/config.json'
list domain_list 'telegram' option cache_path '/tmp/sing-box/cache.db'
list domain_list 'discord' option exclude_ntp '1'
option custom_domains_text 'myip.com' option shutdown_correctly '0'
option custom_subnets_list_enabled 'disabled' option download_lists_via_proxy_section 'main'
list source_network_interfaces 'br-lan'
config section 'main'
option connection_type 'vpn'
option interface 'awg10'
option enable_udp_over_tcp '0'
option shutdown_correctly '1'
option user_domain_list_type 'text'
option user_subnet_list_type 'disabled'
option mixed_proxy_enabled '0'
list community_lists 'block'
list community_lists 'meta'
list community_lists 'twitter'
list community_lists 'hdrezka'
list community_lists 'tiktok'
list community_lists 'google_ai'
list community_lists 'discord'
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'

86
config_files/stubby Normal file
View File

@@ -0,0 +1,86 @@
config stubby 'global'
option manual '0'
list dns_transport 'GETDNS_TRANSPORT_TLS'
option tls_authentication '1'
option tls_query_padding_blocksize '128'
option appdata_dir '/var/lib/stubby'
option edns_client_subnet_private '1'
option idle_timeout '10000'
option round_robin_upstreams '0'
list listen_address '127.0.0.1@5453'
list listen_address '0::1@5453'
list trigger 'wan'
list trigger 'wan6'
list trigger 'pppoe'
list trigger 'l2tp'
list trigger 'pptp'
list trigger 'modem'
list trigger 'wwan'
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'
config resolver
option address '94.140.14.15'
option tls_auth_name 'dns.adguard.com'
config resolver
option address '2a10:50c0::ad1:ff'
option tls_auth_name 'dns.adguard.com'
config resolver
option address '2a10:50c0::ad2:ff'
option tls_auth_name 'dns.adguard.com'
config resolver
option address '1.1.1.1'
option tls_auth_name 'cloudflare-dns.com'
config resolver
option address '2001:4860:4860::8888'
option tls_auth_name 'dns.google'
config resolver
option address '2606:4700:4700::1111'
option tls_auth_name 'cloudflare-dns.com'
config resolver
option address '8.8.4.4'
option tls_auth_name 'dns.google'
config resolver
option address '1.0.0.1'
option tls_auth_name 'cloudflare-dns.com'
config resolver
option address '2001:4860:4860::8844'
option tls_auth_name 'dns.google'
config resolver
option address '2606:4700:4700::1001'
option tls_auth_name 'cloudflare-dns.com'
config resolver
option address '9.9.9.9'
option tls_auth_name 'dns.quad9.net'
config resolver
option address '149.112.112.112'
option tls_auth_name 'dns.quad9.net'
config resolver
option address '2620:fe::fe'
option tls_auth_name 'dns.quad9.net'
config resolver
option address '2620:fe::9'
option tls_auth_name 'dns.quad9.net'

10
config_files/wdoc Normal file
View File

@@ -0,0 +1,10 @@
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

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

14
config_files/wdoc-warp Normal file
View File

@@ -0,0 +1,14 @@
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'

13
config_files/wdoc-wg Normal file
View File

@@ -0,0 +1,13 @@
config wdoc-wg 'main'
option enabled '0'
option timeout '900'
option log '0'
option dns1 '77.88.8.8'
option dns2 '8.8.8.8'
config interface
option iface 'awg10'
option ip '172.16.0.1'
option check_inet '1'

View File

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

View File

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

View File

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

View File

@@ -20,6 +20,7 @@ config main 'config'
option NFQWS_ENABLE '1' option NFQWS_ENABLE '1'
option DESYNC_MARK '0x40000000' option DESYNC_MARK '0x40000000'
option DESYNC_MARK_POSTNAT '0x20000000' option DESYNC_MARK_POSTNAT '0x20000000'
option FILTER_MARK ' '
option NFQWS_PORTS_TCP '80,443' option NFQWS_PORTS_TCP '80,443'
option NFQWS_PORTS_UDP '443' option NFQWS_PORTS_UDP '443'
option NFQWS_TCP_PKT_OUT '9' option NFQWS_TCP_PKT_OUT '9'
@@ -29,27 +30,26 @@ config main 'config'
option NFQWS_PORTS_TCP_KEEPALIVE '0' option NFQWS_PORTS_TCP_KEEPALIVE '0'
option NFQWS_PORTS_UDP_KEEPALIVE '0' option NFQWS_PORTS_UDP_KEEPALIVE '0'
option NFQWS_OPT ' option NFQWS_OPT '
--filter-tcp=80 <HOSTLIST>
--dpi-desync=fake,fakedsplit
--dpi-desync-autottl=2
--dpi-desync-fooling=badsum
--new
--filter-tcp=443 --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 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
--dpi-desync=multidisorder <HOSTLIST>
--dpi-desync-split-pos=1,midsld
--new --new
--filter-udp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt --filter-udp=443
--dpi-desync=fake --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 --dpi-desync-fake-quic=/opt/zapret/files/fake/quic_initial_www_google_com.bin
--new --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
--filter-udp=443 <HOSTLIST_NOAUTO> <HOSTLIST>
--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
' '

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

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
DIR="/etc/config" DIR="/etc/config"
DIR_BACKUP="/root/backup" DIR_BACKUP="/root/backup"
config_files="dhcp config_files="dhcp

View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
DIR="/etc/config" DIR="/etc/config"
DIR_BACKUP="/root/backup" DIR_BACKUP="/root/backup"
config_files="dhcp config_files="dhcp

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.

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.

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -7,10 +7,10 @@ findVersion="24.10.2"
if echo "$DESCRIPTION" | grep -qi -- "$findKey" && printf '%s\n%s\n' "$findVersion" "$VERSION" | sort -V | tail -n1 | grep -qx -- "$VERSION"; then if echo "$DESCRIPTION" | grep -qi -- "$findKey" && printf '%s\n%s\n' "$findVersion" "$VERSION" | sort -V | tail -n1 | grep -qx -- "$VERSION"; then
printf "\033[32;1mThis new firmware. Running new scprit...\033[0m\n" printf "\033[32;1mThis new firmware. Running new scprit...\033[0m\n"
wget --no-check-certificate -O /tmp/universal_config_new_podkop.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop/universal_config_new_podkop.sh && chmod +x /tmp/universal_config_new_podkop.sh && /tmp/universal_config_new_podkop.sh $1 $2 wget --no-check-certificate -O /tmp/universal_config_new_podkop.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack/universal_config_new_podkop.sh && chmod +x /tmp/universal_config_new_podkop.sh && /tmp/universal_config_new_podkop.sh $1 $2
else else
printf "\033[32;1mThis old firmware.\nRecommendation, upgrade firmware to actual release...\nSleep 5 sec...\033[0m\n" printf "\033[32;1mThis old firmware.\nRecommendation, upgrade firmware to actual release...\nSleep 5 sec...\033[0m\n"
sleep 5 sleep 5
printf "\033[32;1mRunning old scprit...\033[0m\n" printf "\033[32;1mRunning old scprit...\033[0m\n"
wget --no-check-certificate -O /tmp/universal_config.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop/universal_config.sh && chmod +x /tmp/universal_config.sh && /tmp/universal_config.sh $1 $2 wget --no-check-certificate -O /tmp/universal_config.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack/universal_config.sh && chmod +x /tmp/universal_config.sh && /tmp/universal_config.sh $1 $2
fi fi

View File

@@ -661,7 +661,7 @@ firewall
https-dns-proxy https-dns-proxy
youtubeUnblock youtubeUnblock
dhcp" dhcp"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
checkPackageAndInstall "https-dns-proxy" "0" checkPackageAndInstall "https-dns-proxy" "0"
@@ -793,7 +793,7 @@ fi
isWorkOperaProxy=0 isWorkOperaProxy=0
printf "\033[32;1mCheck opera proxy...\033[0m\n" printf "\033[32;1mCheck opera proxy...\033[0m\n"
service sing-box restart service sing-box restart
sing-box tools fetch ifconfig.me -D /etc/sing-box/ curl --proxy http://127.0.0.1:18080 ipinfo.io/ip
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
printf "\033[32;1mOpera proxy well work...\033[0m\n" printf "\033[32;1mOpera proxy well work...\033[0m\n"
isWorkOperaProxy=1 isWorkOperaProxy=1
@@ -1045,11 +1045,13 @@ do
if [ "$is_manual_input_parameters" = "n" ]; then if [ "$is_manual_input_parameters" = "n" ]; then
I=0 I=0
WARP_ENDPOINT="engage.cloudflareclient.com:500 engage.cloudflareclient.com:1701 engage.cloudflareclient.com:2408 engage.cloudflareclient.com:3138 engage.cloudflareclient.com:4500 162.159.192.4:500 162.159.192.4:1701 162.159.192.4:2408 162.159.192.4:3138 162.159.192.4:4500" WARP_ENDPOINT_HOSTS="engage.cloudflareclient.com 162.159.192.1 162.159.192.2 162.159.192.4 162.159.195.1 162.159.195.4 188.114.96.1 188.114.96.23 188.114.96.50 188.114.96.81"
for element in $WARP_ENDPOINT; do WARP_ENDPOINT_PORTS="500 1701 2408 3138 4500"
for element in $WARP_ENDPOINT_HOSTS; do
EndpointIP="$element"
for element2 in $WARP_ENDPOINT_PORTS; do
I=$(( $I + 1 )) I=$(( $I + 1 ))
EndpointIP="${element%%:*}" EndpointPort="$element2"
EndpointPort="${element##*:}"
uci set network.@${CONFIG_NAME}[-1].endpoint_host=$EndpointIP uci set network.@${CONFIG_NAME}[-1].endpoint_host=$EndpointIP
uci set network.@${CONFIG_NAME}[-1].endpoint_port=$EndpointPort uci set network.@${CONFIG_NAME}[-1].endpoint_port=$EndpointPort
uci commit network uci commit network
@@ -1057,20 +1059,25 @@ do
ifdown $INTERFACE_NAME ifdown $INTERFACE_NAME
# Включаем интерфейс # Включаем интерфейс
ifup $INTERFACE_NAME ifup $INTERFACE_NAME
printf "\033[33;1mIter #$I: Check Endpoint WARP $element. Wait up AWG WARP 10 second...\033[0m\n" printf "\033[33;1mIter #$I: Check Endpoint WARP $element:$element2. Wait up AWG WARP 10 second...\033[0m\n"
sleep 10 sleep 10
pingAddress="8.8.8.8" pingAddress="8.8.8.8"
if ping -c 1 -I $INTERFACE_NAME $pingAddress >/dev/null 2>&1 if ping -c 1 -I $INTERFACE_NAME $pingAddress >/dev/null 2>&1
then then
printf "\033[32;1m Endpoint WARP $element work...\033[0m\n" printf "\033[32;1m Endpoint WARP $element:$element2 work...\033[0m\n"
isExit=1 isExit=1
break break
else else
printf "\033[31;1m Endpoint WARP $element not work...\033[0m\n" printf "\033[31;1m Endpoint WARP $element:$element2 not work...\033[0m\n"
isExit=0 isExit=0
fi fi
done done
if [ "$isExit" = "1" ]
then
break
fi
done
else else
# Отключаем интерфейс # Отключаем интерфейс
ifdown $INTERFACE_NAME ifdown $INTERFACE_NAME
@@ -1136,7 +1143,7 @@ service odhcpd restart
path_podkop_config="/etc/config/podkop" path_podkop_config="/etc/config/podkop"
path_podkop_config_backup="/root/podkop" path_podkop_config_backup="/root/podkop"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
messageComplete="" messageComplete=""

View File

@@ -614,6 +614,9 @@ eval "$(echo "$encoded_code" | base64 --decode)"
#проверка и установка пакетов AmneziaWG #проверка и установка пакетов AmneziaWG
#install_awg_packages #install_awg_packages
#opkg remove zapret luci-app-zapret
#rm -r /opt/zapret
checkPackageAndInstall "jq" "1" checkPackageAndInstall "jq" "1"
checkPackageAndInstall "curl" "1" checkPackageAndInstall "curl" "1"
checkPackageAndInstall "unzip" "1" checkPackageAndInstall "unzip" "1"
@@ -650,31 +653,37 @@ else
[ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp [ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp
fi fi
#проверяем установлени ли пакет https-dns-proxy
if opkg list-installed | grep -q https-dns-proxy; then
echo "Packet https-dns-proxy not installed..."
else
echo "Delete packet https-dns-proxy..."
opkg remove https-dns-proxy
fi
printf "Setting confdir dnsmasq\n" printf "Setting confdir dnsmasq\n"
uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d' uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d'
uci commit dhcp uci commit dhcp
DIR="/etc/config" DIR="/etc/config"
DIR_BACKUP="/root/backup5" DIR_BACKUP="/root/backup6"
config_files="network config_files="network
firewall firewall
doh-proxy doh-proxy
zapret zapret
dhcp dhcp
dns-failsafe-proxy" dns-failsafe-proxy
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop" stubby
wdoc
wdoc-singbox
wdoc-warp
wdoc-wg"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1" checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
checkPackageAndInstall "luci-i18n-stubby-ru" "1" checkPackageAndInstall "luci-i18n-stubby-ru" "1"
checkPackageAndInstall "luci-i18n-doh-proxy-ru" "1" checkPackageAndInstall "luci-i18n-doh-proxy-ru" "1"
checkPackageAndInstall "luci-i18n-wdoc-singbox-ru" "1"
checkPackageAndInstall "luci-i18n-wdoc-warp-ru" "1"
checkPackageAndInstall "luci-i18n-wdoc-wg-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" ] if [ ! -d "$DIR_BACKUP" ]
then then
@@ -688,7 +697,7 @@ then
for file in $config_files for file in $config_files
do do
if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ] || [ "$file" == "wdoc" ] || [ "$file" == "wdoc-singbox" ] || [ "$file" == "wdoc-warp" ]
then then
wget -O "$DIR/$file" "$URL/config_files/$file" wget -O "$DIR/$file" "$URL/config_files/$file"
fi fi
@@ -771,12 +780,13 @@ opkg upgrade luci-app-zapret
manage_package "zapret" "enable" "start" manage_package "zapret" "enable" "start"
wget -O "/etc/config/zapret" "$URL/config_files/zapret" 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.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-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-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 "podkop" "enable" "stop"
manage_package "youtubeUnblock" "disable" "stop"
service zapret restart service zapret restart
isWorkZapret=0 isWorkZapret=0
@@ -786,13 +796,13 @@ curl -f -o /dev/null -k --connect-to ::google.com -L -H "Host: mirror.gcr.io" --
# Проверяем код выхода # Проверяем код выхода
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
printf "\033[32;1mzapret well work...\033[0m\n" printf "\033[32;1mzapret well work...\033[0m\n"
cronTask="0 4 * * * service zapret restart" #cronTask="0 4 * * * service zapret restart"
str=$(grep -i "0 4 \* \* \* service zapret restart" /etc/crontabs/root) #str=$(grep -i "0 4 \* \* \* service zapret restart" /etc/crontabs/root)
if [ -z "$str" ] #if [ -z "$str" ]
then #then
echo "Add cron task auto reboot service zapret..." #echo "Add cron task auto reboot service zapret..."
echo "$cronTask" >> /etc/crontabs/root #echo "$cronTask" >> /etc/crontabs/root
fi #fi
str=$(grep -i "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root) str=$(grep -i "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root)
if [ ! -z "$str" ] if [ ! -z "$str" ]
then then
@@ -824,12 +834,12 @@ fi
isWorkOperaProxy=0 isWorkOperaProxy=0
printf "\033[32;1mCheck opera proxy...\033[0m\n" printf "\033[32;1mCheck opera proxy...\033[0m\n"
service sing-box restart service sing-box restart
sing-box tools fetch ifconfig.me -D /etc/sing-box/ curl --proxy http://127.0.0.1:18080 ipinfo.io/ip
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
printf "\033[32;1mOpera proxy well work...\033[0m\n" printf "\n\033[32;1mOpera proxy well work...\033[0m\n"
isWorkOperaProxy=1 isWorkOperaProxy=1
else else
printf "\033[32;1mOpera proxy not work...\033[0m\n" printf "\n\033[32;1mOpera proxy not work...\033[0m\n"
isWorkOperaProxy=0 isWorkOperaProxy=0
fi fi
@@ -1081,11 +1091,13 @@ do
if [ "$is_manual_input_parameters" = "n" ]; then if [ "$is_manual_input_parameters" = "n" ]; then
I=0 I=0
WARP_ENDPOINT="engage.cloudflareclient.com:500 engage.cloudflareclient.com:1701 engage.cloudflareclient.com:2408 engage.cloudflareclient.com:3138 engage.cloudflareclient.com:4500 162.159.192.4:500 162.159.192.4:1701 162.159.192.4:2408 162.159.192.4:3138 162.159.192.4:4500" WARP_ENDPOINT_HOSTS="engage.cloudflareclient.com 162.159.192.1 162.159.192.2 162.159.192.4 162.159.195.1 162.159.195.4 188.114.96.1 188.114.96.23 188.114.96.50 188.114.96.81"
for element in $WARP_ENDPOINT; do WARP_ENDPOINT_PORTS="500 1701 2408 3138 4500"
for element in $WARP_ENDPOINT_HOSTS; do
EndpointIP="$element"
for element2 in $WARP_ENDPOINT_PORTS; do
I=$(( $I + 1 )) I=$(( $I + 1 ))
EndpointIP="${element%%:*}" EndpointPort="$element2"
EndpointPort="${element##*:}"
uci set network.@${CONFIG_NAME}[-1].endpoint_host=$EndpointIP uci set network.@${CONFIG_NAME}[-1].endpoint_host=$EndpointIP
uci set network.@${CONFIG_NAME}[-1].endpoint_port=$EndpointPort uci set network.@${CONFIG_NAME}[-1].endpoint_port=$EndpointPort
uci commit network uci commit network
@@ -1093,20 +1105,25 @@ do
ifdown $INTERFACE_NAME ifdown $INTERFACE_NAME
# Включаем интерфейс # Включаем интерфейс
ifup $INTERFACE_NAME ifup $INTERFACE_NAME
printf "\033[33;1mIter #$I: Check Endpoint WARP $element. Wait up AWG WARP 10 second...\033[0m\n" printf "\033[33;1mIter #$I: Check Endpoint WARP $element:$element2. Wait up AWG WARP 10 second...\033[0m\n"
sleep 10 sleep 10
pingAddress="8.8.8.8" pingAddress="8.8.8.8"
if ping -c 1 -I $INTERFACE_NAME $pingAddress >/dev/null 2>&1 if ping -c 1 -I $INTERFACE_NAME $pingAddress >/dev/null 2>&1
then then
printf "\033[32;1m Endpoint WARP $element work...\033[0m\n" printf "\033[32;1m Endpoint WARP $element:$element2 work...\033[0m\n"
isExit=1 isExit=1
break break
else else
printf "\033[31;1m Endpoint WARP $element not work...\033[0m\n" printf "\033[31;1m Endpoint WARP $element:$element2 not work...\033[0m\n"
isExit=0 isExit=0
fi fi
done done
if [ "$isExit" = "1" ]
then
break
fi
done
else else
# Отключаем интерфейс # Отключаем интерфейс
ifdown $INTERFACE_NAME ifdown $INTERFACE_NAME
@@ -1172,7 +1189,7 @@ service odhcpd restart
path_podkop_config="/etc/config/podkop" path_podkop_config="/etc/config/podkop"
path_podkop_config_backup="/root/podkop" path_podkop_config_backup="/root/podkop"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
messageComplete="" messageComplete=""
@@ -1259,7 +1276,7 @@ case $varByPass in
esac esac
PACKAGE="podkop" PACKAGE="podkop"
REQUIRED_VERSION="v0.6.2-r1" REQUIRED_VERSION="v0.7.10-r1"
INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3) INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3)
if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then
@@ -1285,9 +1302,9 @@ else
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
DOWNLOAD_DIR="/tmp/podkop" DOWNLOAD_DIR="/tmp/podkop"
mkdir -p "$DOWNLOAD_DIR" mkdir -p "$DOWNLOAD_DIR"
podkop_files="podkop-v0.6.2-r1-all.ipk podkop_files="podkop-v0.7.10-r1-all.ipk
luci-app-podkop-v0.6.2-r1-all.ipk luci-app-podkop-v0.7.10-r1-all.ipk
luci-i18n-podkop-ru-0.6.2.ipk" luci-i18n-podkop-ru-0.7.10.ipk"
for file in $podkop_files for file in $podkop_files
do do
echo "Download $file..." echo "Download $file..."
@@ -1324,6 +1341,14 @@ fi
# Включаем интерфейс # Включаем интерфейс
#ifup $INTERFACE_NAME #ifup $INTERFACE_NAME
service doh-proxy restart
service stubby restart
service wdoc restart
service wdoc-singbox restart
service wdoc-warp restart
service wdoc-wg restart
service dns-failsafe-proxy restart
printf "\033[32;1mService Podkop and Sing-Box restart...\033[0m\n" printf "\033[32;1mService Podkop and Sing-Box restart...\033[0m\n"
service sing-box enable service sing-box enable
service sing-box restart service sing-box restart

File diff suppressed because it is too large Load Diff