mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-01-01 06:08:46 +03:00
Changing the priority of bypassing locks
This commit is contained in:
97
config_files/podkopNoYoutubeDiscord
Normal file
97
config_files/podkopNoYoutubeDiscord
Normal file
@@ -0,0 +1,97 @@
|
||||
|
||||
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'
|
||||
|
||||
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'
|
||||
@@ -402,7 +402,7 @@ firewall
|
||||
https-dns-proxy
|
||||
youtubeUnblock
|
||||
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"
|
||||
|
||||
@@ -498,6 +498,27 @@ 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"
|
||||
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
|
||||
|
||||
isWorkYoutubeUnBlock=0
|
||||
|
||||
# Проверяем код выхода
|
||||
if [ $? -eq 0 ]; then
|
||||
printf "\033[32;1myoutubeUnblock well work...\033[0m\n"
|
||||
isWorkYoutubeUnBlock=1
|
||||
else
|
||||
manage_package "youtubeUnblock" "disable" "stop"
|
||||
printf "\033[32;1myoutubeUnblock not work...\033[0m\n"
|
||||
isWorkYoutubeUnBlock=0
|
||||
fi
|
||||
|
||||
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): "
|
||||
@@ -599,8 +620,6 @@ do
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$currIter !!! --- isExit = $isExit"
|
||||
|
||||
if [ "$isExit" = "2" ]
|
||||
then
|
||||
isExit=0
|
||||
@@ -704,44 +723,41 @@ do
|
||||
if ping -c 1 -I $INTERFACE_NAME $pingAddress >/dev/null 2>&1
|
||||
then
|
||||
isExit=1
|
||||
echo "lolo1"
|
||||
else
|
||||
isExit=0
|
||||
echo "lolo2"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
echo "isExit = $isExit"
|
||||
|
||||
varByPass=0
|
||||
|
||||
if [ "$isExit" = "1" ]
|
||||
then
|
||||
printf "\033[32;1mAWG WARP well work...\033[0m\n"
|
||||
varByPass=1
|
||||
else
|
||||
printf "\033[32;1mAWG WARP not work...Try work youtubeunblock...Please wait...\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
|
||||
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
|
||||
if [ "$isWorkYoutubeUnBlock" = "1" ]
|
||||
then
|
||||
varByPass=1
|
||||
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=2
|
||||
fi
|
||||
else
|
||||
printf "\033[32;1mAWG WARP 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"
|
||||
if [ "$isWorkYoutubeUnBlock" = "1" ]
|
||||
then
|
||||
varByPass=3
|
||||
else
|
||||
varByPass=4
|
||||
fi
|
||||
else
|
||||
if [ "$isWorkYoutubeUnBlock" = "1" ]
|
||||
then
|
||||
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblock"
|
||||
service youtubeUnblock restart
|
||||
printf "\033[32;1mConfigured completed...\033[0m\n"
|
||||
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
|
||||
@@ -755,21 +771,26 @@ 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/main"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta"
|
||||
|
||||
case $varByPass in
|
||||
1)
|
||||
nameFileReplacePodkop="podkopNoYoutubeDiscord"
|
||||
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
;;
|
||||
2)
|
||||
nameFileReplacePodkop="podkop"
|
||||
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
||||
manage_package "youtubeUnblock" "disable" "stop"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
;;
|
||||
2)
|
||||
3)
|
||||
nameFileReplacePodkop="podkopSecond"
|
||||
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
|
||||
manage_package "ruantiblock" "disable" "stop"
|
||||
;;
|
||||
3)
|
||||
4)
|
||||
nameFileReplacePodkop="podkopSecondYoutube"
|
||||
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
||||
manage_package "youtubeUnblock" "disable" "stop"
|
||||
|
||||
Reference in New Issue
Block a user