26 Commits

Author SHA1 Message Date
CodeRoK7
e69c9f1ee2 Fix check install opera proxy 2025-07-15 11:53:00 +00:00
CodeRoK7
b159e3caea Add check install opera-proxy 2025-07-08 10:57:01 +00:00
CodeRoK7
73871d0864 Fix message hints 2025-06-24 04:06:38 +00:00
CodeRoK7
9c6a776af6 For method 3 byPass Discord in youtubeUnblock 2025-06-23 17:30:06 +00:00
CodeRoK7
0604b99db4 Fix 2025-06-23 17:02:13 +00:00
CodeRoK7
4e0238213f Delete Discord byPass to youtubeUnBlock 2025-06-23 16:58:12 +00:00
CodeRoK7
6eebf40f4c Fix commands to reconfig Podkop 2025-06-23 15:52:56 +00:00
CodeRoK7
b55012ef84 Fix hints message 2025-06-23 15:14:10 +00:00
CodeRoK7
4b1e9f72c4 Fix check youtubeunblock 2025-06-23 11:10:05 +00:00
CodeRoK7
296ba4c6be Delete test file 2025-06-22 16:54:18 +00:00
CodeRoK7
1b63e81ced Add hints for used byPass method and delete byPass geoBlock by ComssDNS for some methods 2025-06-22 16:49:24 +00:00
CodeRoK7
85c4386866 Add hints message 2025-06-20 12:13:36 +00:00
CodeRoK7
2daa388b30 Remove comments 2025-06-20 12:09:21 +00:00
CodeRoK7
34558f232c Fix variable varByPass 2025-06-20 12:02:27 +00:00
CodeRoK7
f20be60176 test 2025-06-20 11:59:18 +00:00
CodeRoK7
41e16a0d83 test 2025-06-20 11:41:19 +00:00
CodeRoK7
a310e6ab38 Change hits 2025-06-20 10:52:18 +00:00
CodeRoK7
5c374ac531 Add more universality 2025-06-20 10:26:52 +00:00
CodeRoK7
88fe06e701 If not work youtubeUnblock delete task cron on restart service youtubeUnblock 2025-06-20 04:25:27 +00:00
CodeRoK7
3a5fadd5ea Add exit 2025-06-19 11:33:47 +00:00
CodeRoK7
52a2eb463b Add bypass geoblock by ComssDNS for youtubeunblock 2025-06-19 09:54:13 +00:00
CodeRoK7
c271c7b14a Changing the priority of bypassing locks 2025-06-19 09:18:42 +00:00
CodeRoK7
a3dad7e374 Merge pull request #25 from routerich/main
Merge main to beta
2025-06-19 10:32:28 +05:00
CodeRoK7
84a5bccc25 Update universal_config.sh 2025-06-11 21:12:49 +05:00
CodeRoK7
30e0a4837a Test 2025-06-11 14:02:15 +05:00
CodeRoK7
8dbb6df0c9 Merge pull request #24 from routerich/main
Merge main to beta
2025-06-11 13:59:01 +05:00
6 changed files with 671 additions and 108 deletions

View File

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

112
config_files/podkopWARP Normal file
View File

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

View File

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

View File

@@ -34,35 +34,4 @@ config section
list sni_domains 'googleusercontent.com' list sni_domains 'googleusercontent.com'
list sni_domains 'gstatic.com' list sni_domains 'gstatic.com'
list sni_domains 'l.google.com' list sni_domains 'l.google.com'
option quic_drop '1' 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'

View File

@@ -0,0 +1,68 @@
config youtubeUnblock 'youtubeUnblock'
option conf_strat 'ui_flags'
option packet_mark '32768'
option queue_num '537'
option silent '1'
option no_ipv6 '1'
config section
option name 'Youtube'
option enabled '1'
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 sni_detection 'parse'
option all_domains '0'
list sni_domains 'googlevideo.com'
list sni_domains 'ggpht.com'
list sni_domains 'ytimg.com'
list sni_domains 'youtube.com'
list sni_domains 'play.google.com'
list sni_domains 'youtu.be'
list sni_domains 'googleapis.com'
list sni_domains 'googleusercontent.com'
list sni_domains 'gstatic.com'
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'

View File

@@ -281,6 +281,94 @@ checkAndAddDomainPermanentName()
fi 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() { install_youtubeunblock_packages() {
PKGARCH=$(opkg print-architecture | awk 'BEGIN {max=0} {if ($3 > max) {max = $3; arch = $2}} END {print arch}') 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') VERSION=$(ubus call system board | jsonfilter -e '@.release.version')
@@ -364,6 +452,19 @@ install_youtubeunblock_packages() {
rm -rf "$AWG_DIR" 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..." echo "Update list packages..."
opkg update opkg update
@@ -402,7 +503,7 @@ firewall
https-dns-proxy https-dns-proxy
youtubeUnblock youtubeUnblock
dhcp" dhcp"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/main" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta"
checkPackageAndInstall "https-dns-proxy" "0" checkPackageAndInstall "https-dns-proxy" "0"
@@ -431,49 +532,53 @@ uci set dhcp.cfg01411c.strictorder='1'
uci set dhcp.cfg01411c.filter_aaaa='1' uci set dhcp.cfg01411c.filter_aaaa='1'
uci commit dhcp uci commit dhcp
echo "Install opera-proxy client..." if opkg list-installed | grep -q opera-proxy; then
service stop vpn > /dev/null echo "Opera-proxy already installed..."
rm -f /usr/bin/vpns /etc/init.d/vpn else
echo "Install opera-proxy client..."
service stop vpn > /dev/null
rm -f /usr/bin/vpns /etc/init.d/vpn
url="https://github.com/NitroOxid/openwrt-opera-proxy-bin/releases/download/1.8.0/opera-proxy_1.8.0-1_aarch64_cortex-a53.ipk" url="https://github.com/NitroOxid/openwrt-opera-proxy-bin/releases/download/1.8.0/opera-proxy_1.8.0-1_aarch64_cortex-a53.ipk"
destination_file="/tmp/opera-proxy.ipk" destination_file="/tmp/opera-proxy.ipk"
echo "Downloading opera-proxy..." echo "Downloading opera-proxy..."
wget "$url" -O "$destination_file" || { echo "Failed to download the file"; exit 1; } wget "$url" -O "$destination_file" || { echo "Failed to download the file"; exit 1; }
echo "Installing opera-proxy..." echo "Installing opera-proxy..."
opkg install $destination_file opkg install $destination_file
cat <<EOF > /etc/sing-box/config.json cat <<EOF > /etc/sing-box/config.json
{ {
"log": { "log": {
"disabled": true, "disabled": true,
"level": "error" "level": "error"
}, },
"inbounds": [ "inbounds": [
{ {
"type": "tproxy", "type": "tproxy",
"listen": "::", "listen": "::",
"listen_port": 1100, "listen_port": 1100,
"sniff": false "sniff": false
} }
], ],
"outbounds": [ "outbounds": [
{ {
"type": "http", "type": "http",
"server": "127.0.0.1", "server": "127.0.0.1",
"server_port": 18080 "server_port": 18080
} }
], ],
"route": { "route": {
"auto_detect_interface": true "auto_detect_interface": true
} }
} }
EOF EOF
echo "Setting sing-box..." echo "Setting sing-box..."
uci set sing-box.main.enabled='1' uci set sing-box.main.enabled='1'
uci set sing-box.main.user='root' uci set sing-box.main.user='root'
uci commit sing-box uci commit sing-box
fi
nameRule="option name 'Block_UDP_443'" nameRule="option name 'Block_UDP_443'"
str=$(grep -i "$nameRule" /etc/config/firewall) str=$(grep -i "$nameRule" /etc/config/firewall)
@@ -498,10 +603,58 @@ then
uci commit firewall uci commit firewall
fi fi
printf "\033[32;1mAutomatic generate config AmneziaWG WARP (n) or manual input parameters for AmneziaWG (y)...\033[0m\n" 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"
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"
countRepeatAWGGen=2 countRepeatAWGGen=2
echo "Input manual parameters AmneziaWG? (y/n): " #echo "Input manual parameters AmneziaWG? (y/n): "
read is_manual_input_parameters #read is_manual_input_parameters
currIter=0 currIter=0
isExit=0 isExit=0
while [ $currIter -lt $countRepeatAWGGen ] && [ "$isExit" = "0" ] while [ $currIter -lt $countRepeatAWGGen ] && [ "$isExit" = "0" ]
@@ -709,38 +862,43 @@ do
done done
varByPass=0 varByPass=0
isWorkWARP=0
if [ "$isExit" = "1" ] if [ "$isExit" = "1" ]
then then
printf "\033[32;1mAWG WARP well work...\033[0m\n" printf "\033[32;1mAWG WARP well work...\033[0m\n"
varByPass=1 isWorkWARP=1
else else
printf "\033[32;1mAWG WARP not work...Try work youtubeunblock...Please wait...\033[0m\n" printf "\033[32;1mAWG WARP not work.....Try opera proxy...\033[0m\n"
install_youtubeunblock_packages isWorkWARP=0
opkg upgrade youtubeUnblock fi
opkg upgrade luci-app-youtubeUnblock
manage_package "youtubeUnblock" "enable" "start"
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
# Проверяем код выхода echo "isWorkYoutubeUnBlock = $isWorkYoutubeUnBlock, isWorkOperaProxy = $isWorkOperaProxy, isWorkWARP = $isWorkWARP"
if [ $? -eq 0 ]; then
printf "\033[32;1myoutubeUnblock well work...\033[0m\n" if [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "1" ]
varByPass=2 then
else varByPass=1
manage_package "youtubeUnblock" "disable" "stop" elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "1" ]
printf "\033[32;1myoutubeUnblock not work...Try opera proxy...\033[0m\n" then
service sing-box restart varByPass=2
sing-box tools fetch ifconfig.co -D /etc/sing-box/ elif [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "0" ]
if [ $? -eq 0 ]; then then
printf "\033[32;1mOpera proxy well work...\033[0m\n" varByPass=3
varByPass=3 elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "0" ]
else then
printf "\033[32;1mOpera proxy not work...Try custom settings router to bypass the locks... Recomendation buy 'VPS' and up 'vless'\033[0m\n" varByPass=4
exit 1 elif [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "0" ] && [ "$isWorkWARP" = "0" ]
fi then
fi 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
fi fi
printf "\033[32;1mRestart service dnsmasq, odhcpd...\033[0m\n" printf "\033[32;1mRestart service dnsmasq, odhcpd...\033[0m\n"
@@ -749,28 +907,80 @@ 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/main" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta"
messageComplete=""
case $varByPass in case $varByPass in
1) 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" nameFileReplacePodkop="podkop"
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n" 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" manage_package "ruantiblock" "disable" "stop"
deleteByPassGeoBlockComssDNS
messageComplete="ByPass block for Method 2: AWG WARP + Opera Proxy...Configured completed..."
;; ;;
2) 3)
nameFileReplacePodkop="podkopSecond" nameFileReplacePodkop="podkopSecond"
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n" printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
manage_package "ruantiblock" "disable" "stop" 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..."
;; ;;
3) 4)
nameFileReplacePodkop="podkopSecondYoutube" nameFileReplacePodkop="podkopSecondYoutube"
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n" 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" 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
;; ;;
*) *)
nameFileReplacePodkop="podkop" echo "Unknown error. Please send message in group Telegram t.me/routerich"
exit 1
esac esac
PACKAGE="podkop" PACKAGE="podkop"
@@ -783,9 +993,9 @@ if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION"
fi fi
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"
is_reconfig_podkop="y" #is_reconfig_podkop="y"
read is_reconfig_podkop #read is_reconfig_podkop
if [ "$is_reconfig_podkop" = "y" ] || [ "$is_reconfig_podkop" = "Y" ]; then if [ "$is_reconfig_podkop" = "y" ] || [ "$is_reconfig_podkop" = "Y" ]; then
cp -f "$path_podkop_config" "$path_podkop_config_backup" cp -f "$path_podkop_config" "$path_podkop_config_backup"
wget -O "$path_podkop_config" "$URL/config_files/$nameFileReplacePodkop" wget -O "$path_podkop_config" "$URL/config_files/$nameFileReplacePodkop"
@@ -793,9 +1003,9 @@ if [ -f "/etc/init.d/podkop" ]; then
echo "Podkop reconfigured..." echo "Podkop reconfigured..."
fi fi
else 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" is_install_podkop="y"
read is_install_podkop #read is_install_podkop
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"
@@ -845,4 +1055,4 @@ service sing-box restart
service podkop enable service podkop enable
service podkop restart service podkop restart
printf "\033[32;1mConfigured completed...\033[0m\n" printf "\033[32;1m$messageComplete\033[0m\n"