mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-30 18:58:08 +03:00
Compare commits
4 Commits
beta_alt_t
...
test_main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bf92c9c58 | ||
|
|
a51c9f8b77 | ||
|
|
4c7bc4b3c1 | ||
|
|
85663170f8 |
@@ -1,11 +0,0 @@
|
||||
|
||||
config dns-failsafe-proxy 'main'
|
||||
option listen_ip '127.0.0.1'
|
||||
option listen_port '5359'
|
||||
option dns_ip '127.0.0.42'
|
||||
option dns_port '53'
|
||||
option failback_ip '127.0.0.1'
|
||||
option failback_port '5453'
|
||||
option connect_timeout '150'
|
||||
option session_timeout '2000'
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
|
||||
config main 'config'
|
||||
option canary_domains_icloud '1'
|
||||
option canary_domains_mozilla '1'
|
||||
option dnsmasq_config_update '-'
|
||||
option force_dns '1'
|
||||
list force_dns_port '53'
|
||||
list force_dns_port '853'
|
||||
list procd_fw_src_interfaces 'lan'
|
||||
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 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 listen_addr '127.0.0.1'
|
||||
option listen_port '5054'
|
||||
option user 'nobody'
|
||||
option group 'nogroup'
|
||||
|
||||
config doh-proxy
|
||||
option resolver_url 'https://cloudflare-dns.com/dns-query'
|
||||
option bootstrap_dns '1.1.1.1,1.0.0.1'
|
||||
option listen_addr '127.0.0.1'
|
||||
option listen_port '5055'
|
||||
option user 'nobody'
|
||||
option group 'nogroup'
|
||||
|
||||
config doh-proxy
|
||||
option resolver_url 'https://router.comss.one/dns-query'
|
||||
option bootstrap_dns '195.133.25.16,212.109.195.93'
|
||||
option listen_addr '127.0.0.1'
|
||||
option listen_port '5056'
|
||||
option user 'nobody'
|
||||
option group 'nogroup'
|
||||
@@ -1,55 +0,0 @@
|
||||
|
||||
config main 'main'
|
||||
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_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '1'
|
||||
option outbound_json '{
|
||||
"type": "http",
|
||||
"tag": "http-proxy",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
list domain_list 'geoblock'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'google_ai'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
|
||||
config extra 'Youtube_Discord'
|
||||
option mode 'vpn'
|
||||
option interface 'awg10'
|
||||
option domain_list_enabled '1'
|
||||
list domain_list 'youtube'
|
||||
list domain_list 'discord'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_domains_text '2ip.ru'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
@@ -1,54 +0,0 @@
|
||||
|
||||
config main 'main'
|
||||
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_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '1'
|
||||
option outbound_json '{
|
||||
"type": "http",
|
||||
"tag": "http-proxy",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
list domain_list 'geoblock'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'google_ai'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
|
||||
config extra 'Discord'
|
||||
option mode 'vpn'
|
||||
option interface 'awg10'
|
||||
option domain_list_enabled '1'
|
||||
list domain_list 'discord'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_domains_text '2ip.ru'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
@@ -1,42 +0,0 @@
|
||||
|
||||
config main 'main'
|
||||
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_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '1'
|
||||
option outbound_json '{
|
||||
"type": "http",
|
||||
"tag": "http-proxy",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
list domain_list 'geoblock'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'google_ai'
|
||||
list domain_list 'discord'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
@@ -1,43 +0,0 @@
|
||||
|
||||
config main 'main'
|
||||
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_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '1'
|
||||
option outbound_json '{
|
||||
"type": "http",
|
||||
"tag": "http-proxy",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
list domain_list 'geoblock'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'google_ai'
|
||||
list domain_list 'discord'
|
||||
list domain_list 'youtube'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
@@ -1,36 +0,0 @@
|
||||
|
||||
config main 'main'
|
||||
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_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '1'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'telegram'
|
||||
list domain_list 'discord'
|
||||
list domain_list 'youtube'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
@@ -1,35 +0,0 @@
|
||||
|
||||
config main 'main'
|
||||
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_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '1'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'telegram'
|
||||
list domain_list 'discord'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
@@ -1,102 +0,0 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'vpn'
|
||||
option domain_list_enabled '0'
|
||||
option subnets_list_enabled '1'
|
||||
option custom_domains_list_enabled 'dynamic'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option update_interval '0 4 * * *'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option interface 'awg10'
|
||||
list subnets 'meta'
|
||||
list subnets 'twitter'
|
||||
list subnets 'discord'
|
||||
list custom_domains '2ip.ru'
|
||||
list custom_domains 'rutracker.org'
|
||||
list custom_domains 'rutracker.net'
|
||||
list custom_domains 'rutracker.cc'
|
||||
list custom_domains 'rutor.info'
|
||||
list custom_domains 'nnmclub.to'
|
||||
list custom_domains 'lostfilm.tv'
|
||||
list custom_domains 'animego.org'
|
||||
list custom_domains 'jut.su'
|
||||
list custom_domains 'anilibria.tv'
|
||||
list custom_domains 'twimg.com'
|
||||
list custom_domains 'kinozal.tv'
|
||||
list custom_domains 'cdninstagram.com'
|
||||
list custom_domains 'instagram.com'
|
||||
list custom_domains 'ig.me'
|
||||
list custom_domains 'fbcdn.net'
|
||||
list custom_domains 'facebook.com'
|
||||
list custom_domains 'facebook.net'
|
||||
list custom_domains 'fb.com'
|
||||
list custom_domains 'discord.com'
|
||||
list custom_domains 'discordapp.com'
|
||||
list custom_domains 'discord.gg'
|
||||
list custom_domains 'discordapp.net'
|
||||
list custom_domains 'discord.media'
|
||||
|
||||
config second 'second'
|
||||
option second_enable '1'
|
||||
option domain_list_enabled '0'
|
||||
list domains 'youtube'
|
||||
option second_mode 'proxy'
|
||||
option second_proxy_config_type 'outbound'
|
||||
option second_outbound_json '{
|
||||
"type": "http",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
option second_domain_service_enabled '0'
|
||||
option second_custom_domains_list_enabled 'dynamic'
|
||||
option second_custom_subnets_list_enabled 'disabled'
|
||||
list second_custom_domains 'chatgpt.com'
|
||||
list second_custom_domains 'oaistatic.com'
|
||||
list second_custom_domains 'oaiusercontent.com'
|
||||
list second_custom_domains 'openai.com'
|
||||
list second_custom_domains 'microsoft.com'
|
||||
list second_custom_domains 'windowsupdate.com'
|
||||
list second_custom_domains 'bing.com'
|
||||
list second_custom_domains 'supercell.com'
|
||||
list second_custom_domains 'seeurlpcl.com'
|
||||
list second_custom_domains 'supercellid.com'
|
||||
list second_custom_domains 'supercellgames.com'
|
||||
list second_custom_domains 'clashroyale.com'
|
||||
list second_custom_domains 'brawlstars.com'
|
||||
list second_custom_domains 'clash.com'
|
||||
list second_custom_domains 'clashofclans.com'
|
||||
list second_custom_domains 'x.ai'
|
||||
list second_custom_domains 'grok.com'
|
||||
list second_custom_domains 'gitgub.com'
|
||||
list second_custom_domains 'searchgpt.com'
|
||||
list second_custom_domains 'xboxlive.com'
|
||||
list second_custom_domains 'gamepass.com'
|
||||
list second_custom_domains 'xboxab.com'
|
||||
list second_custom_domains 'xboxservices.com'
|
||||
list second_custom_domains 'myip.com'
|
||||
list second_custom_domains '4pda.to'
|
||||
list second_custom_domains '4pda.ws'
|
||||
list second_custom_domains 'habr.com'
|
||||
list second_custom_domains 'byteoversea.com'
|
||||
list second_custom_domains 'ibytedtos.com'
|
||||
list second_custom_domains 'muscdn.com'
|
||||
list second_custom_domains 'musical.ly'
|
||||
list second_custom_domains 'tik-tokapi.com'
|
||||
list second_custom_domains 'tiktok.com'
|
||||
list second_custom_domains 'tiktokcdn-us.com'
|
||||
list second_custom_domains 'tiktokcdn-eu.com'
|
||||
list second_custom_domains 'tiktokcdn.com'
|
||||
list second_custom_domains 'tiktokd.net'
|
||||
list second_custom_domains 'tiktokd.org'
|
||||
list second_custom_domains 'tiktokv.com'
|
||||
list second_custom_domains 'tiktokv.us'
|
||||
list second_custom_domains 'tiktokw.us'
|
||||
list second_custom_domains 'ttwstatic.com'
|
||||
list second_custom_domains 'intel.com'
|
||||
list second_custom_domains 'intel.se'
|
||||
list second_custom_domains 'onetrust.com'
|
||||
list second_custom_domains 'gemini.google.com'
|
||||
@@ -1,112 +0,0 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'vpn'
|
||||
option domain_list_enabled '0'
|
||||
option subnets_list_enabled '1'
|
||||
option custom_domains_list_enabled 'dynamic'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option update_interval '0 4 * * *'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option interface 'awg10'
|
||||
list subnets 'meta'
|
||||
list subnets 'twitter'
|
||||
list subnets 'discord'
|
||||
list custom_domains '2ip.ru'
|
||||
list custom_domains 'googlevideo.com'
|
||||
list custom_domains 'ggpht.com'
|
||||
list custom_domains 'ytimg.com'
|
||||
list custom_domains 'youtube.com'
|
||||
list custom_domains 'play.google.com'
|
||||
list custom_domains 'youtu.be'
|
||||
list custom_domains 'googleapis.com'
|
||||
list custom_domains 'googleusercontent.com'
|
||||
list custom_domains 'gstatic.com'
|
||||
list custom_domains 'l.google.com'
|
||||
list custom_domains 'rutracker.org'
|
||||
list custom_domains 'rutracker.net'
|
||||
list custom_domains 'rutracker.cc'
|
||||
list custom_domains 'rutor.info'
|
||||
list custom_domains 'nnmclub.to'
|
||||
list custom_domains 'lostfilm.tv'
|
||||
list custom_domains 'animego.org'
|
||||
list custom_domains 'jut.su'
|
||||
list custom_domains 'anilibria.tv'
|
||||
list custom_domains 'twimg.com'
|
||||
list custom_domains 'kinozal.tv'
|
||||
list custom_domains 'cdninstagram.com'
|
||||
list custom_domains 'instagram.com'
|
||||
list custom_domains 'ig.me'
|
||||
list custom_domains 'fbcdn.net'
|
||||
list custom_domains 'facebook.com'
|
||||
list custom_domains 'facebook.net'
|
||||
list custom_domains 'fb.com'
|
||||
list custom_domains 'discord.com'
|
||||
list custom_domains 'discordapp.com'
|
||||
list custom_domains 'discord.gg'
|
||||
list custom_domains 'discordapp.net'
|
||||
list custom_domains 'discord.media'
|
||||
|
||||
config second 'second'
|
||||
option second_enable '0'
|
||||
option domain_list_enabled '0'
|
||||
list domains 'youtube'
|
||||
option second_mode 'proxy'
|
||||
option second_proxy_config_type 'outbound'
|
||||
option second_outbound_json '{
|
||||
"type": "http",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
option second_domain_service_enabled '0'
|
||||
option second_custom_domains_list_enabled 'dynamic'
|
||||
option second_custom_subnets_list_enabled 'disabled'
|
||||
list second_custom_domains 'chatgpt.com'
|
||||
list second_custom_domains 'oaistatic.com'
|
||||
list second_custom_domains 'oaiusercontent.com'
|
||||
list second_custom_domains 'openai.com'
|
||||
list second_custom_domains 'microsoft.com'
|
||||
list second_custom_domains 'windowsupdate.com'
|
||||
list second_custom_domains 'bing.com'
|
||||
list second_custom_domains 'supercell.com'
|
||||
list second_custom_domains 'seeurlpcl.com'
|
||||
list second_custom_domains 'supercellid.com'
|
||||
list second_custom_domains 'supercellgames.com'
|
||||
list second_custom_domains 'clashroyale.com'
|
||||
list second_custom_domains 'brawlstars.com'
|
||||
list second_custom_domains 'clash.com'
|
||||
list second_custom_domains 'clashofclans.com'
|
||||
list second_custom_domains 'x.ai'
|
||||
list second_custom_domains 'grok.com'
|
||||
list second_custom_domains 'gitgub.com'
|
||||
list second_custom_domains 'searchgpt.com'
|
||||
list second_custom_domains 'xboxlive.com'
|
||||
list second_custom_domains 'gamepass.com'
|
||||
list second_custom_domains 'xboxab.com'
|
||||
list second_custom_domains 'xboxservices.com'
|
||||
list second_custom_domains 'myip.com'
|
||||
list second_custom_domains '4pda.to'
|
||||
list second_custom_domains '4pda.ws'
|
||||
list second_custom_domains 'habr.com'
|
||||
list second_custom_domains 'byteoversea.com'
|
||||
list second_custom_domains 'ibytedtos.com'
|
||||
list second_custom_domains 'muscdn.com'
|
||||
list second_custom_domains 'musical.ly'
|
||||
list second_custom_domains 'tik-tokapi.com'
|
||||
list second_custom_domains 'tiktok.com'
|
||||
list second_custom_domains 'tiktokcdn-us.com'
|
||||
list second_custom_domains 'tiktokcdn-eu.com'
|
||||
list second_custom_domains 'tiktokcdn.com'
|
||||
list second_custom_domains 'tiktokd.net'
|
||||
list second_custom_domains 'tiktokd.org'
|
||||
list second_custom_domains 'tiktokv.com'
|
||||
list second_custom_domains 'tiktokv.us'
|
||||
list second_custom_domains 'tiktokw.us'
|
||||
list second_custom_domains 'ttwstatic.com'
|
||||
list second_custom_domains 'intel.com'
|
||||
list second_custom_domains 'intel.se'
|
||||
list second_custom_domains 'onetrust.com'
|
||||
list second_custom_domains 'gemini.google.com'
|
||||
@@ -1,102 +0,0 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'vpn'
|
||||
option domain_list_enabled '0'
|
||||
option subnets_list_enabled '1'
|
||||
option custom_domains_list_enabled 'dynamic'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option update_interval '0 4 * * *'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option interface 'awg10'
|
||||
list subnets 'meta'
|
||||
list subnets 'twitter'
|
||||
list subnets 'discord'
|
||||
list custom_domains '2ip.ru'
|
||||
list custom_domains 'rutracker.org'
|
||||
list custom_domains 'rutracker.net'
|
||||
list custom_domains 'rutracker.cc'
|
||||
list custom_domains 'rutor.info'
|
||||
list custom_domains 'nnmclub.to'
|
||||
list custom_domains 'lostfilm.tv'
|
||||
list custom_domains 'animego.org'
|
||||
list custom_domains 'jut.su'
|
||||
list custom_domains 'anilibria.tv'
|
||||
list custom_domains 'twimg.com'
|
||||
list custom_domains 'kinozal.tv'
|
||||
list custom_domains 'cdninstagram.com'
|
||||
list custom_domains 'instagram.com'
|
||||
list custom_domains 'ig.me'
|
||||
list custom_domains 'fbcdn.net'
|
||||
list custom_domains 'facebook.com'
|
||||
list custom_domains 'facebook.net'
|
||||
list custom_domains 'fb.com'
|
||||
list custom_domains 'discord.com'
|
||||
list custom_domains 'discordapp.com'
|
||||
list custom_domains 'discord.gg'
|
||||
list custom_domains 'discordapp.net'
|
||||
list custom_domains 'discord.media'
|
||||
|
||||
config second 'second'
|
||||
option second_enable '0'
|
||||
option domain_list_enabled '0'
|
||||
list domains 'youtube'
|
||||
option second_mode 'proxy'
|
||||
option second_proxy_config_type 'outbound'
|
||||
option second_outbound_json '{
|
||||
"type": "http",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
option second_domain_service_enabled '0'
|
||||
option second_custom_domains_list_enabled 'dynamic'
|
||||
option second_custom_subnets_list_enabled 'disabled'
|
||||
list second_custom_domains 'chatgpt.com'
|
||||
list second_custom_domains 'oaistatic.com'
|
||||
list second_custom_domains 'oaiusercontent.com'
|
||||
list second_custom_domains 'openai.com'
|
||||
list second_custom_domains 'microsoft.com'
|
||||
list second_custom_domains 'windowsupdate.com'
|
||||
list second_custom_domains 'bing.com'
|
||||
list second_custom_domains 'supercell.com'
|
||||
list second_custom_domains 'seeurlpcl.com'
|
||||
list second_custom_domains 'supercellid.com'
|
||||
list second_custom_domains 'supercellgames.com'
|
||||
list second_custom_domains 'clashroyale.com'
|
||||
list second_custom_domains 'brawlstars.com'
|
||||
list second_custom_domains 'clash.com'
|
||||
list second_custom_domains 'clashofclans.com'
|
||||
list second_custom_domains 'x.ai'
|
||||
list second_custom_domains 'grok.com'
|
||||
list second_custom_domains 'gitgub.com'
|
||||
list second_custom_domains 'searchgpt.com'
|
||||
list second_custom_domains 'xboxlive.com'
|
||||
list second_custom_domains 'gamepass.com'
|
||||
list second_custom_domains 'xboxab.com'
|
||||
list second_custom_domains 'xboxservices.com'
|
||||
list second_custom_domains 'myip.com'
|
||||
list second_custom_domains '4pda.to'
|
||||
list second_custom_domains '4pda.ws'
|
||||
list second_custom_domains 'habr.com'
|
||||
list second_custom_domains 'byteoversea.com'
|
||||
list second_custom_domains 'ibytedtos.com'
|
||||
list second_custom_domains 'muscdn.com'
|
||||
list second_custom_domains 'musical.ly'
|
||||
list second_custom_domains 'tik-tokapi.com'
|
||||
list second_custom_domains 'tiktok.com'
|
||||
list second_custom_domains 'tiktokcdn-us.com'
|
||||
list second_custom_domains 'tiktokcdn-eu.com'
|
||||
list second_custom_domains 'tiktokcdn.com'
|
||||
list second_custom_domains 'tiktokd.net'
|
||||
list second_custom_domains 'tiktokd.org'
|
||||
list second_custom_domains 'tiktokv.com'
|
||||
list second_custom_domains 'tiktokv.us'
|
||||
list second_custom_domains 'tiktokw.us'
|
||||
list second_custom_domains 'ttwstatic.com'
|
||||
list second_custom_domains 'intel.com'
|
||||
list second_custom_domains 'intel.se'
|
||||
list second_custom_domains 'onetrust.com'
|
||||
list second_custom_domains 'gemini.google.com'
|
||||
@@ -8,7 +8,7 @@ config youtubeUnblock 'youtubeUnblock'
|
||||
|
||||
config section
|
||||
option name 'Youtube'
|
||||
option enabled '1'
|
||||
option enabled '0'
|
||||
option tls_enabled '1'
|
||||
option fake_sni '1'
|
||||
option faking_strategy 'pastseq'
|
||||
@@ -36,37 +36,6 @@ config section
|
||||
list sni_domains 'l.google.com'
|
||||
option quic_drop '1'
|
||||
|
||||
config section
|
||||
option name 'Discord'
|
||||
option tls_enabled '1'
|
||||
option fake_sni '1'
|
||||
option faking_strategy 'pastseq'
|
||||
option fake_sni_seq_len '1'
|
||||
option fake_sni_type 'default'
|
||||
option frag 'tcp'
|
||||
option frag_sni_reverse '1'
|
||||
option frag_sni_faked '0'
|
||||
option frag_middle_sni '1'
|
||||
option frag_sni_pos '1'
|
||||
option seg2delay '0'
|
||||
option fk_winsize '0'
|
||||
option synfake '0'
|
||||
option all_domains '0'
|
||||
option sni_detection 'parse'
|
||||
option quic_drop '0'
|
||||
option udp_mode 'fake'
|
||||
option udp_faking_strategy 'none'
|
||||
option udp_fake_seq_len '6'
|
||||
option udp_fake_len '64'
|
||||
list udp_dport_filter '50000-50100 '
|
||||
option udp_filter_quic 'disabled'
|
||||
option enabled '1'
|
||||
list sni_domains 'discord.com'
|
||||
list sni_domains 'discordapp.com'
|
||||
list sni_domains 'discord.gg'
|
||||
list sni_domains 'discordapp.net'
|
||||
list sni_domains 'discord.media'
|
||||
|
||||
config section
|
||||
option name 'CallsWhatsAppTelegram'
|
||||
option tls_enabled '0'
|
||||
@@ -103,3 +72,4 @@ config section
|
||||
option udp_filter_quic 'disabled'
|
||||
option enabled '1'
|
||||
option udp_stun_filter '1'
|
||||
|
||||
@@ -36,6 +36,37 @@ config section
|
||||
list sni_domains 'l.google.com'
|
||||
option quic_drop '1'
|
||||
|
||||
config section
|
||||
option name 'Discord'
|
||||
option tls_enabled '1'
|
||||
option fake_sni '1'
|
||||
option faking_strategy 'pastseq'
|
||||
option fake_sni_seq_len '1'
|
||||
option fake_sni_type 'default'
|
||||
option frag 'tcp'
|
||||
option frag_sni_reverse '1'
|
||||
option frag_sni_faked '0'
|
||||
option frag_middle_sni '1'
|
||||
option frag_sni_pos '1'
|
||||
option seg2delay '0'
|
||||
option fk_winsize '0'
|
||||
option synfake '0'
|
||||
option all_domains '0'
|
||||
option sni_detection 'parse'
|
||||
option quic_drop '0'
|
||||
option udp_mode 'fake'
|
||||
option udp_faking_strategy 'none'
|
||||
option udp_fake_seq_len '6'
|
||||
option udp_fake_len '64'
|
||||
list udp_dport_filter '50000-50100 '
|
||||
option udp_filter_quic 'disabled'
|
||||
option enabled '1'
|
||||
list sni_domains 'discord.com'
|
||||
list sni_domains 'discordapp.com'
|
||||
list sni_domains 'discord.gg'
|
||||
list sni_domains 'discordapp.net'
|
||||
list sni_domains 'discord.media'
|
||||
|
||||
config section
|
||||
option name 'CallsWhatsAppTelegram'
|
||||
option tls_enabled '0'
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
DIR="/etc/config"
|
||||
DIR_BACKUP="/root/backup3"
|
||||
config_files="network
|
||||
firewall
|
||||
youtubeUnblock
|
||||
https-dns-proxy
|
||||
dhcp
|
||||
dns-failsafe-proxy"
|
||||
|
||||
manage_package() {
|
||||
local name="$1"
|
||||
local autostart="$2"
|
||||
local process="$3"
|
||||
|
||||
# Проверка, установлен ли пакет
|
||||
if opkg list-installed | grep -q "^$name"; then
|
||||
|
||||
# Проверка, включен ли автозапуск
|
||||
if /etc/init.d/$name enabled; then
|
||||
if [ "$autostart" = "disable" ]; then
|
||||
/etc/init.d/$name disable
|
||||
fi
|
||||
else
|
||||
if [ "$autostart" = "enable" ]; then
|
||||
/etc/init.d/$name enable
|
||||
fi
|
||||
fi
|
||||
|
||||
# Проверка, запущен ли процесс
|
||||
if pidof $name > /dev/null; then
|
||||
if [ "$process" = "stop" ]; then
|
||||
/etc/init.d/$name stop
|
||||
fi
|
||||
else
|
||||
if [ "$process" = "start" ]; then
|
||||
/etc/init.d/$name start
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -d "$DIR_BACKUP" ]
|
||||
then
|
||||
echo "Restore configs..."
|
||||
for file in $config_files
|
||||
do
|
||||
cp -f "$DIR_BACKUP/$file" "$DIR/$file"
|
||||
done
|
||||
|
||||
rm -rf "$DIR_BACKUP"
|
||||
fi
|
||||
|
||||
echo "Stop and disabled autostart Podkop..."
|
||||
manage_package "podkop" "disable" "stop"
|
||||
|
||||
echo "Run and enabled autostart youtubeUnblock and ruantiblock..."
|
||||
manage_package "youtubeUnblock" "enable" "start"
|
||||
manage_package "ruantiblock" "enable" "start"
|
||||
|
||||
printf "\033[32;1mRestart firewall, dnsmasq, odhcpd...\033[0m\n"
|
||||
service firewall restart
|
||||
service dnsmasq restart
|
||||
service odhcpd restart
|
||||
#service network restart
|
||||
|
||||
printf "\033[32;1mOff configured completed...\033[0m\n"
|
||||
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.
@@ -1,16 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
DESCRIPTION=$(ubus call system board | jsonfilter -e '@.release.description')
|
||||
VERSION=$(ubus call system board | jsonfilter -e '@.release.version')
|
||||
findKey="RouteRich"
|
||||
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
|
||||
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/beta_alt_test/universal_config_new_podkop.sh && chmod +x /tmp/universal_config_new_podkop.sh && /tmp/universal_config_new_podkop.sh $1 $2
|
||||
else
|
||||
printf "\033[32;1mThis old firmware.\nRecommendation, upgrade firmware to actual release...\nSleep 5 sec...\033[0m\n"
|
||||
sleep 5
|
||||
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/beta_alt_test/universal_config.sh && chmod +x /tmp/universal_config.sh && /tmp/universal_config.sh $1 $2
|
||||
fi
|
||||
@@ -120,25 +120,39 @@ manage_package() {
|
||||
fi
|
||||
}
|
||||
|
||||
checkPackageAndInstall()
|
||||
{
|
||||
|
||||
checkPackageAndInstall() {
|
||||
local name="$1"
|
||||
local isRequried="$2"
|
||||
#проверяем установлени ли библиотека $name
|
||||
if opkg list-installed | grep -q $name; then
|
||||
echo "$name already installed..."
|
||||
local isRequired="$2"
|
||||
local alt=""
|
||||
|
||||
if [ "$name" = "https-dns-proxy" ]; then
|
||||
alt="luci-app-doh-proxy"
|
||||
fi
|
||||
|
||||
if [ -n "$alt" ]; then
|
||||
if opkg list-installed | grep -qE "^($name|$alt) "; then
|
||||
echo "$name or $alt already installed..."
|
||||
return 0
|
||||
fi
|
||||
else
|
||||
echo "$name not installed. Installed $name..."
|
||||
opkg install $name
|
||||
res=$?
|
||||
if [ "$isRequried" = "1" ]; then
|
||||
if [ $res -eq 0 ]; then
|
||||
echo "$name insalled successfully"
|
||||
else
|
||||
echo "Error installing $name. Please, install $name manually and run the script again"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
if opkg list-installed | grep -q "^$name "; then
|
||||
echo "$name already installed..."
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$name not installed. Installing $name..."
|
||||
opkg install "$name"
|
||||
res=$?
|
||||
|
||||
if [ "$isRequired" = "1" ]; then
|
||||
if [ $res -eq 0 ]; then
|
||||
echo "$name installed successfully"
|
||||
else
|
||||
echo "Error installing $name. Please, install $name manually$( [ -n "$alt" ] && echo " or $alt") and run the script again."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -281,94 +295,6 @@ checkAndAddDomainPermanentName()
|
||||
fi
|
||||
}
|
||||
|
||||
byPassGeoBlockComssDNS()
|
||||
{
|
||||
echo "Configure dhcp..."
|
||||
|
||||
uci set dhcp.cfg01411c.strictorder='1'
|
||||
uci set dhcp.cfg01411c.filter_aaaa='1'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5053'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5054'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5055'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.chatgpt.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.oaistatic.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.oaiusercontent.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.openai.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.microsoft.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.windowsupdate.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.bing.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.supercell.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.seeurlpcl.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.supercellid.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.supercellgames.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.clashroyale.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.brawlstars.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.clash.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.clashofclans.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.x.ai/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.grok.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.github.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.forzamotorsport.net/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.forzaracingchampionship.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.forzarc.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.gamepass.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.orithegame.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.renovacionxboxlive.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.tellmewhygame.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox.co/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox.eu/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox.org/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox360.co/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox360.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox360.eu/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox360.org/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxab.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxgamepass.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxgamestudios.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxlive.cn/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxlive.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxone.co/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxone.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxone.eu/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxplayanywhere.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxservices.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxstudios.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbx.lv/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.sentry.io/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.usercentrics.eu/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.recaptcha.net/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.gstatic.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.brawlstarsgame.com/127.0.0.1#5056'
|
||||
uci commit dhcp
|
||||
|
||||
echo "Add unblock ChatGPT..."
|
||||
|
||||
checkAndAddDomainPermanentName "chatgpt.com" "83.220.169.155"
|
||||
checkAndAddDomainPermanentName "openai.com" "83.220.169.155"
|
||||
checkAndAddDomainPermanentName "webrtc.chatgpt.com" "83.220.169.155"
|
||||
checkAndAddDomainPermanentName "ios.chat.openai.com" "83.220.169.155"
|
||||
checkAndAddDomainPermanentName "searchgpt.com" "83.220.169.155"
|
||||
|
||||
service dnsmasq restart
|
||||
service odhcpd restart
|
||||
}
|
||||
|
||||
deleteByPassGeoBlockComssDNS()
|
||||
{
|
||||
uci del dhcp.cfg01411c.server
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5053'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5054'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5055'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5056'
|
||||
while uci del dhcp.@domain[-1] ; do : ; done;
|
||||
uci commit dhcp
|
||||
service dnsmasq restart
|
||||
service odhcpd restart
|
||||
service https-dns-proxy restart
|
||||
}
|
||||
|
||||
install_youtubeunblock_packages() {
|
||||
PKGARCH=$(opkg print-architecture | awk 'BEGIN {max=0} {if ($3 > max) {max = $3; arch = $2}} END {print arch}')
|
||||
VERSION=$(ubus call system board | jsonfilter -e '@.release.version')
|
||||
@@ -452,19 +378,6 @@ install_youtubeunblock_packages() {
|
||||
rm -rf "$AWG_DIR"
|
||||
}
|
||||
|
||||
if [ "$1" = "y" ] || [ "$1" = "Y" ]
|
||||
then
|
||||
is_manual_input_parameters="y"
|
||||
else
|
||||
is_manual_input_parameters="n"
|
||||
fi
|
||||
if [ "$2" = "y" ] || [ "$2" = "Y" ] || [ "$2" = "" ]
|
||||
then
|
||||
is_reconfig_podkop="y"
|
||||
else
|
||||
is_reconfig_podkop="n"
|
||||
fi
|
||||
|
||||
echo "Update list packages..."
|
||||
opkg update
|
||||
|
||||
@@ -479,50 +392,9 @@ install_awg_packages
|
||||
checkPackageAndInstall "jq" "1"
|
||||
checkPackageAndInstall "curl" "1"
|
||||
checkPackageAndInstall "unzip" "1"
|
||||
#checkPackageAndInstall "sing-box" "1"
|
||||
checkPackageAndInstall "sing-box" "1"
|
||||
checkPackageAndInstall "opera-proxy" "1"
|
||||
checkPackageAndInstall "youtubeUnblock" "1"
|
||||
|
||||
###########
|
||||
manage_package "podkop" "enable" "stop"
|
||||
|
||||
PACKAGE="sing-box"
|
||||
REQUIRED_VERSION="1.11.15"
|
||||
|
||||
INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3)
|
||||
if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then
|
||||
echo "Version package $PACKAGE not equal $REQUIRED_VERSION. Removed packages..."
|
||||
opkg remove --force-removal-of-dependent-packages $PACKAGE
|
||||
fi
|
||||
|
||||
INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE")
|
||||
if [ -z "$INSTALLED_VERSION" ]; then
|
||||
PACK_NAME="sing-box"
|
||||
AWG_DIR="/tmp/$PACK_NAME"
|
||||
SINGBOX_FILENAME="sing-box_1.11.15_openwrt_aarch64_cortex-a53.ipk"
|
||||
BASE_URL="https://github.com/SagerNet/sing-box/releases/download/v1.11.15/"
|
||||
DOWNLOAD_URL="${BASE_URL}${SINGBOX_FILENAME}"
|
||||
mkdir -p "$AWG_DIR"
|
||||
#echo $DOWNLOAD_URL
|
||||
|
||||
wget -O "$AWG_DIR/$SINGBOX_FILENAME" "$DOWNLOAD_URL"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "$PACK_NAME file downloaded successfully"
|
||||
else
|
||||
echo "Error downloading $PACK_NAME. Please, install $PACK_NAME manually and run the script again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
opkg install "$AWG_DIR/$SINGBOX_FILENAME"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "$PACK_NAME file installing successfully"
|
||||
else
|
||||
echo "Error installing $PACK_NAME. Please, install $PACK_NAME manually and run the script again"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
###########
|
||||
|
||||
opkg upgrade youtubeUnblock
|
||||
opkg upgrade luci-app-youtubeUnblock
|
||||
manage_package "youtubeUnblock" "enable" "start"
|
||||
@@ -549,7 +421,7 @@ firewall
|
||||
https-dns-proxy
|
||||
youtubeUnblock
|
||||
dhcp"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt_test"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/test_main"
|
||||
|
||||
checkPackageAndInstall "https-dns-proxy" "0"
|
||||
|
||||
@@ -569,6 +441,10 @@ then
|
||||
then
|
||||
wget -O "$DIR/$file" "$URL/config_files/$file"
|
||||
fi
|
||||
if [ "$file" == "youtubeUnblock" ]
|
||||
then
|
||||
wget -O "$DIR/$file" "$URL/config_files/youtubeUnblockCalls"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -579,43 +455,35 @@ uci set dhcp.cfg01411c.filter_aaaa='1'
|
||||
uci commit dhcp
|
||||
|
||||
cat <<EOF > /etc/sing-box/config.json
|
||||
{
|
||||
"log": {
|
||||
"disabled": true,
|
||||
"level": "error"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "tproxy",
|
||||
"listen": "::",
|
||||
"listen_port": 1100,
|
||||
"sniff": false
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "http",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"auto_detect_interface": true
|
||||
}
|
||||
{
|
||||
"log": {
|
||||
"disabled": true,
|
||||
"level": "error"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "tproxy",
|
||||
"listen": "::",
|
||||
"listen_port": 1100,
|
||||
"sniff": false
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "http",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"auto_detect_interface": true
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
echo "Setting sing-box..."
|
||||
uci set sing-box.main.enabled='1'
|
||||
uci set sing-box.main.user='root'
|
||||
uci add_list sing-box.main.ifaces='wan'
|
||||
uci add_list sing-box.main.ifaces='wan2'
|
||||
uci add_list sing-box.main.ifaces='wan6'
|
||||
uci add_list sing-box.main.ifaces='wwan'
|
||||
uci add_list sing-box.main.ifaces='wwan0'
|
||||
uci add_list sing-box.main.ifaces='modem'
|
||||
uci add_list sing-box.main.ifaces='l2tp'
|
||||
uci add_list sing-box.main.ifaces='pptp'
|
||||
uci commit sing-box
|
||||
|
||||
nameRule="option name 'Block_UDP_443'"
|
||||
@@ -641,59 +509,10 @@ then
|
||||
uci commit firewall
|
||||
fi
|
||||
|
||||
printf "\033[32;1mCheck work youtubeUnblock..\033[0m\n"
|
||||
#install_youtubeunblock_packages
|
||||
opkg upgrade youtubeUnblock
|
||||
opkg upgrade luci-app-youtubeUnblock
|
||||
manage_package "youtubeUnblock" "enable" "start"
|
||||
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecond"
|
||||
manage_package "podkop" "enable" "stop"
|
||||
service youtubeUnblock restart
|
||||
|
||||
isWorkYoutubeUnBlock=0
|
||||
|
||||
curl -f -o /dev/null -k --connect-to ::google.com -L -H "Host: mirror.gcr.io" --max-time 360 https://test.googlevideo.com/v2/cimg/android/blobs/sha256:6fd8bdac3da660bde7bd0b6f2b6a46e1b686afb74b9a4614def32532b73f5eaa
|
||||
|
||||
# Проверяем код выхода
|
||||
if [ $? -eq 0 ]; then
|
||||
printf "\033[32;1myoutubeUnblock well work...\033[0m\n"
|
||||
cronTask="0 4 * * * service youtubeUnblock restart"
|
||||
str=$(grep -i "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root)
|
||||
if [ -z "$str" ]
|
||||
then
|
||||
echo "Add cron task auto reboot service youtubeUnblock..."
|
||||
echo "$cronTask" >> /etc/crontabs/root
|
||||
fi
|
||||
isWorkYoutubeUnBlock=1
|
||||
else
|
||||
manage_package "youtubeUnblock" "disable" "stop"
|
||||
printf "\033[32;1myoutubeUnblock not work...\033[0m\n"
|
||||
isWorkYoutubeUnBlock=0
|
||||
str=$(grep -i "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root)
|
||||
if [ ! -z "$str" ]
|
||||
then
|
||||
grep -v "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root > /etc/crontabs/temp
|
||||
cp -f "/etc/crontabs/temp" "/etc/crontabs/root"
|
||||
rm -f "/etc/crontabs/temp"
|
||||
fi
|
||||
fi
|
||||
|
||||
isWorkOperaProxy=0
|
||||
printf "\033[32;1mCheck opera proxy...\033[0m\n"
|
||||
service sing-box restart
|
||||
sing-box tools fetch ifconfig.co -D /etc/sing-box/
|
||||
if [ $? -eq 0 ]; then
|
||||
printf "\033[32;1mOpera proxy well work...\033[0m\n"
|
||||
isWorkOperaProxy=1
|
||||
else
|
||||
printf "\033[32;1mOpera proxy not work...\033[0m\n"
|
||||
isWorkOperaProxy=0
|
||||
fi
|
||||
|
||||
#printf "\033[32;1mAutomatic generate config AmneziaWG WARP (n) or manual input parameters for AmneziaWG (y)...\033[0m\n"
|
||||
printf "\033[32;1mAutomatic generate config AmneziaWG WARP (n) or manual input parameters for AmneziaWG (y)...\033[0m\n"
|
||||
countRepeatAWGGen=2
|
||||
#echo "Input manual parameters AmneziaWG? (y/n): "
|
||||
#read is_manual_input_parameters
|
||||
echo "Input manual parameters AmneziaWG? (y/n): "
|
||||
read is_manual_input_parameters
|
||||
currIter=0
|
||||
isExit=0
|
||||
while [ $currIter -lt $countRepeatAWGGen ] && [ "$isExit" = "0" ]
|
||||
@@ -901,43 +720,34 @@ do
|
||||
done
|
||||
|
||||
varByPass=0
|
||||
isWorkWARP=0
|
||||
|
||||
if [ "$isExit" = "1" ]
|
||||
then
|
||||
printf "\033[32;1mAWG WARP well work...\033[0m\n"
|
||||
isWorkWARP=1
|
||||
else
|
||||
printf "\033[32;1mAWG WARP not work.....Try opera proxy...\033[0m\n"
|
||||
isWorkWARP=0
|
||||
fi
|
||||
|
||||
echo "isWorkYoutubeUnBlock = $isWorkYoutubeUnBlock, isWorkOperaProxy = $isWorkOperaProxy, isWorkWARP = $isWorkWARP"
|
||||
|
||||
if [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "1" ]
|
||||
then
|
||||
varByPass=1
|
||||
elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "1" ]
|
||||
then
|
||||
varByPass=2
|
||||
elif [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "0" ]
|
||||
then
|
||||
varByPass=3
|
||||
elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "0" ]
|
||||
then
|
||||
varByPass=4
|
||||
elif [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "0" ] && [ "$isWorkWARP" = "0" ]
|
||||
then
|
||||
varByPass=5
|
||||
elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "0" ] && [ "$isWorkWARP" = "1" ]
|
||||
then
|
||||
varByPass=6
|
||||
elif [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "0" ] && [ "$isWorkWARP" = "1" ]
|
||||
then
|
||||
varByPass=7
|
||||
elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "0" ] && [ "$isWorkWARP" = "0" ]
|
||||
then
|
||||
varByPass=8
|
||||
else
|
||||
printf "\033[32;1mAWG WARP not work...Try work youtubeunblock...Please wait...\033[0m\n"
|
||||
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecond"
|
||||
service youtubeUnblock restart
|
||||
curl -f -o /dev/null -k --connect-to ::google.com -L -H "Host: mirror.gcr.io" --max-time 360 https://test.googlevideo.com/v2/cimg/android/blobs/sha256:6fd8bdac3da660bde7bd0b6f2b6a46e1b686afb74b9a4614def32532b73f5eaa
|
||||
|
||||
# Проверяем код выхода
|
||||
if [ $? -eq 0 ]; then
|
||||
printf "\033[32;1myoutubeUnblock well work...\033[0m\n"
|
||||
varByPass=2
|
||||
else
|
||||
manage_package "youtubeUnblock" "disable" "stop"
|
||||
printf "\033[32;1myoutubeUnblock not work...Try opera proxy...\033[0m\n"
|
||||
service sing-box restart
|
||||
sing-box tools fetch ifconfig.co -D /etc/sing-box/
|
||||
if [ $? -eq 0 ]; then
|
||||
printf "\033[32;1mOpera proxy well work...\033[0m\n"
|
||||
varByPass=3
|
||||
else
|
||||
printf "\033[32;1mOpera proxy not work...Try custom settings router to bypass the locks... Recomendation buy 'VPS' and up 'vless'\033[0m\n"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
printf "\033[32;1mRestart service dnsmasq, odhcpd...\033[0m\n"
|
||||
@@ -946,80 +756,28 @@ service odhcpd restart
|
||||
|
||||
path_podkop_config="/etc/config/podkop"
|
||||
path_podkop_config_backup="/root/podkop"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt_test"
|
||||
|
||||
messageComplete=""
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/test_main"
|
||||
|
||||
case $varByPass in
|
||||
1)
|
||||
nameFileReplacePodkop="podkopNoYoutube"
|
||||
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecond"
|
||||
service youtubeUnblock restart
|
||||
deleteByPassGeoBlockComssDNS
|
||||
messageComplete="ByPass block for Method 1: AWG WARP + youtubeunblock + Opera Proxy...Configured completed..."
|
||||
;;
|
||||
2)
|
||||
nameFileReplacePodkop="podkop"
|
||||
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
||||
manage_package "youtubeUnblock" "disable" "stop"
|
||||
#manage_package "youtubeUnblock" "disable" "stop"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
deleteByPassGeoBlockComssDNS
|
||||
messageComplete="ByPass block for Method 2: AWG WARP + Opera Proxy...Configured completed..."
|
||||
;;
|
||||
3)
|
||||
2)
|
||||
nameFileReplacePodkop="podkopSecond"
|
||||
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecondDiscord"
|
||||
service youtubeUnblock restart
|
||||
deleteByPassGeoBlockComssDNS
|
||||
messageComplete="ByPass block for Method 3: youtubeUnblock + Opera Proxy...Configured completed..."
|
||||
;;
|
||||
4)
|
||||
3)
|
||||
nameFileReplacePodkop="podkopSecondYoutube"
|
||||
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
||||
manage_package "youtubeUnblock" "disable" "stop"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
deleteByPassGeoBlockComssDNS
|
||||
messageComplete="ByPass block for Method 4: Only Opera Proxy...Configured completed..."
|
||||
;;
|
||||
5)
|
||||
nameFileReplacePodkop="podkopSecondYoutube"
|
||||
printf "\033[32;1mStop and disabled service 'ruantiblock' and 'podkop'...\033[0m\n"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
manage_package "podkop" "disable" "stop"
|
||||
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblock"
|
||||
service youtubeUnblock restart
|
||||
byPassGeoBlockComssDNS
|
||||
printf "\033[32;1mByPass block for Method 5: youtubeUnblock + ComssDNS for GeoBlock...Configured completed...\033[0m\n"
|
||||
exit 1
|
||||
;;
|
||||
6)
|
||||
nameFileReplacePodkop="podkopWARP"
|
||||
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
||||
manage_package "youtubeUnblock" "disable" "stop"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
byPassGeoBlockComssDNS
|
||||
messageComplete="ByPass block for Method 6: AWG WARP + ComssDNS for GeoBlock...Configured completed..."
|
||||
;;
|
||||
7)
|
||||
nameFileReplacePodkop="podkopWARPNoYoutube"
|
||||
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecond"
|
||||
service youtubeUnblock restart
|
||||
byPassGeoBlockComssDNS
|
||||
messageComplete="ByPass block for Method 7: AWG WARP + youtubeUnblock + ComssDNS for GeoBlock...Configured completed..."
|
||||
;;
|
||||
8)
|
||||
printf "\033[32;1mTry custom settings router to bypass the locks... Recomendation buy 'VPS' and up 'vless'\033[0m\n"
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
echo "Unknown error. Please send message in group Telegram t.me/routerich"
|
||||
exit 1
|
||||
nameFileReplacePodkop="podkop"
|
||||
esac
|
||||
|
||||
PACKAGE="podkop"
|
||||
@@ -1032,9 +790,9 @@ if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION"
|
||||
fi
|
||||
|
||||
if [ -f "/etc/init.d/podkop" ]; then
|
||||
#printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n"
|
||||
#is_reconfig_podkop="y"
|
||||
#read is_reconfig_podkop
|
||||
printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n"
|
||||
is_reconfig_podkop="y"
|
||||
read is_reconfig_podkop
|
||||
if [ "$is_reconfig_podkop" = "y" ] || [ "$is_reconfig_podkop" = "Y" ]; then
|
||||
cp -f "$path_podkop_config" "$path_podkop_config_backup"
|
||||
wget -O "$path_podkop_config" "$URL/config_files/$nameFileReplacePodkop"
|
||||
@@ -1042,9 +800,9 @@ if [ -f "/etc/init.d/podkop" ]; then
|
||||
echo "Podkop reconfigured..."
|
||||
fi
|
||||
else
|
||||
#printf "\033[32;1mInstall and configure PODKOP (a tool for point routing of traffic)?? (y/n): \033[0m\n"
|
||||
printf "\033[32;1mInstall and configure PODKOP (a tool for point routing of traffic)?? (y/n): \033[0m\n"
|
||||
is_install_podkop="y"
|
||||
#read is_install_podkop
|
||||
read is_install_podkop
|
||||
|
||||
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
|
||||
DOWNLOAD_DIR="/tmp/podkop"
|
||||
@@ -1094,4 +852,4 @@ service sing-box restart
|
||||
service podkop enable
|
||||
service podkop restart
|
||||
|
||||
printf "\033[32;1m$messageComplete\033[0m\n"
|
||||
printf "\033[32;1mConfigured completed...\033[0m\n"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user