mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-31 03:08:07 +03:00
Fix voice calls WhatspApp and Telegram
This commit is contained in:
@@ -95,3 +95,39 @@ config section
|
|||||||
list sni_domains 'twitteroauth.com'
|
list sni_domains 'twitteroauth.com'
|
||||||
list sni_domains 'twitterstat.us'
|
list sni_domains 'twitterstat.us'
|
||||||
|
|
||||||
|
config section
|
||||||
|
option name 'CallsWhatsAppTelegram'
|
||||||
|
option tls_enabled '0'
|
||||||
|
option all_domains '0'
|
||||||
|
list sni_domains 'cdn-telegram.org'
|
||||||
|
list sni_domains 'comments.app'
|
||||||
|
list sni_domains 'contest.com'
|
||||||
|
list sni_domains 'fragment.com'
|
||||||
|
list sni_domains 'graph.org'
|
||||||
|
list sni_domains 'quiz.directory'
|
||||||
|
list sni_domains 't.me'
|
||||||
|
list sni_domains 'tdesktop.com'
|
||||||
|
list sni_domains 'telega.one'
|
||||||
|
list sni_domains 'telegra.ph'
|
||||||
|
list sni_domains 'telegram-cdn.org'
|
||||||
|
list sni_domains 'telegram.dog'
|
||||||
|
list sni_domains 'telegram.me'
|
||||||
|
list sni_domains 'telegram.org'
|
||||||
|
list sni_domains 'telegram.space'
|
||||||
|
list sni_domains 'telesco.pe'
|
||||||
|
list sni_domains 'tg.dev'
|
||||||
|
list sni_domains 'tx.me'
|
||||||
|
list sni_domains 'usercontent.dev'
|
||||||
|
list sni_domains 'graph.facebook.com'
|
||||||
|
list sni_domains 'whatsapp.biz'
|
||||||
|
list sni_domains 'whatsapp.com'
|
||||||
|
list sni_domains 'whatsapp.net'
|
||||||
|
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'
|
||||||
|
option udp_filter_quic 'disabled'
|
||||||
|
option enabled '1'
|
||||||
|
option udp_stun_filter '1'
|
||||||
75
config_files/youtubeUnblockCalls
Normal file
75
config_files/youtubeUnblockCalls
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
|
||||||
|
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 '0'
|
||||||
|
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 'CallsWhatsAppTelegram'
|
||||||
|
option tls_enabled '0'
|
||||||
|
option all_domains '0'
|
||||||
|
list sni_domains 'cdn-telegram.org'
|
||||||
|
list sni_domains 'comments.app'
|
||||||
|
list sni_domains 'contest.com'
|
||||||
|
list sni_domains 'fragment.com'
|
||||||
|
list sni_domains 'graph.org'
|
||||||
|
list sni_domains 'quiz.directory'
|
||||||
|
list sni_domains 't.me'
|
||||||
|
list sni_domains 'tdesktop.com'
|
||||||
|
list sni_domains 'telega.one'
|
||||||
|
list sni_domains 'telegra.ph'
|
||||||
|
list sni_domains 'telegram-cdn.org'
|
||||||
|
list sni_domains 'telegram.dog'
|
||||||
|
list sni_domains 'telegram.me'
|
||||||
|
list sni_domains 'telegram.org'
|
||||||
|
list sni_domains 'telegram.space'
|
||||||
|
list sni_domains 'telesco.pe'
|
||||||
|
list sni_domains 'tg.dev'
|
||||||
|
list sni_domains 'tx.me'
|
||||||
|
list sni_domains 'usercontent.dev'
|
||||||
|
list sni_domains 'graph.facebook.com'
|
||||||
|
list sni_domains 'whatsapp.biz'
|
||||||
|
list sni_domains 'whatsapp.com'
|
||||||
|
list sni_domains 'whatsapp.net'
|
||||||
|
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'
|
||||||
|
option udp_filter_quic 'disabled'
|
||||||
|
option enabled '1'
|
||||||
|
option udp_stun_filter '1'
|
||||||
|
|
||||||
@@ -65,4 +65,41 @@ config section
|
|||||||
list sni_domains 'discordapp.com'
|
list sni_domains 'discordapp.com'
|
||||||
list sni_domains 'discord.gg'
|
list sni_domains 'discord.gg'
|
||||||
list sni_domains 'discordapp.net'
|
list sni_domains 'discordapp.net'
|
||||||
list sni_domains 'discord.media'
|
list sni_domains 'discord.media'
|
||||||
|
|
||||||
|
config section
|
||||||
|
option name 'CallsWhatsAppTelegram'
|
||||||
|
option tls_enabled '0'
|
||||||
|
option all_domains '0'
|
||||||
|
list sni_domains 'cdn-telegram.org'
|
||||||
|
list sni_domains 'comments.app'
|
||||||
|
list sni_domains 'contest.com'
|
||||||
|
list sni_domains 'fragment.com'
|
||||||
|
list sni_domains 'graph.org'
|
||||||
|
list sni_domains 'quiz.directory'
|
||||||
|
list sni_domains 't.me'
|
||||||
|
list sni_domains 'tdesktop.com'
|
||||||
|
list sni_domains 'telega.one'
|
||||||
|
list sni_domains 'telegra.ph'
|
||||||
|
list sni_domains 'telegram-cdn.org'
|
||||||
|
list sni_domains 'telegram.dog'
|
||||||
|
list sni_domains 'telegram.me'
|
||||||
|
list sni_domains 'telegram.org'
|
||||||
|
list sni_domains 'telegram.space'
|
||||||
|
list sni_domains 'telesco.pe'
|
||||||
|
list sni_domains 'tg.dev'
|
||||||
|
list sni_domains 'tx.me'
|
||||||
|
list sni_domains 'usercontent.dev'
|
||||||
|
list sni_domains 'graph.facebook.com'
|
||||||
|
list sni_domains 'whatsapp.biz'
|
||||||
|
list sni_domains 'whatsapp.com'
|
||||||
|
list sni_domains 'whatsapp.net'
|
||||||
|
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'
|
||||||
|
option udp_filter_quic 'disabled'
|
||||||
|
option enabled '1'
|
||||||
|
option udp_stun_filter '1'
|
||||||
@@ -298,7 +298,7 @@ checkAndAddDomainPermanentName()
|
|||||||
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')
|
||||||
BASE_URL="https://github.com/Waujito/youtubeUnblock/releases/download/v1.0.0/"
|
BASE_URL="https://github.com/Waujito/youtubeUnblock/releases/download/v1.1.0/"
|
||||||
PACK_NAME="youtubeUnblock"
|
PACK_NAME="youtubeUnblock"
|
||||||
|
|
||||||
AWG_DIR="/tmp/$PACK_NAME"
|
AWG_DIR="/tmp/$PACK_NAME"
|
||||||
@@ -326,7 +326,7 @@ install_youtubeunblock_packages() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
YOUTUBEUNBLOCK_FILENAME="youtubeUnblock-1.0.0-10-f37c3dd-${PKGARCH}-openwrt-23.05.ipk"
|
YOUTUBEUNBLOCK_FILENAME="youtubeUnblock-1.1.0-2-2d579d5-${PKGARCH}-openwrt-23.05.ipk"
|
||||||
DOWNLOAD_URL="${BASE_URL}${YOUTUBEUNBLOCK_FILENAME}"
|
DOWNLOAD_URL="${BASE_URL}${YOUTUBEUNBLOCK_FILENAME}"
|
||||||
echo $DOWNLOAD_URL
|
echo $DOWNLOAD_URL
|
||||||
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
|
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
|
||||||
@@ -393,6 +393,11 @@ checkPackageAndInstall "jq" "1"
|
|||||||
checkPackageAndInstall "curl" "1"
|
checkPackageAndInstall "curl" "1"
|
||||||
checkPackageAndInstall "unzip" "1"
|
checkPackageAndInstall "unzip" "1"
|
||||||
checkPackageAndInstall "sing-box" "1"
|
checkPackageAndInstall "sing-box" "1"
|
||||||
|
checkPackageAndInstall "opera-proxy" "1"
|
||||||
|
checkPackageAndInstall "youtubeUnblock" "1"
|
||||||
|
opkg upgrade youtubeUnblock
|
||||||
|
opkg upgrade luci-app-youtubeUnblock
|
||||||
|
manage_package "youtubeUnblock" "enable" "start"
|
||||||
|
|
||||||
#проверяем установлени ли пакет dnsmasq-full
|
#проверяем установлени ли пакет dnsmasq-full
|
||||||
if opkg list-installed | grep -q dnsmasq-full; then
|
if opkg list-installed | grep -q dnsmasq-full; then
|
||||||
@@ -436,6 +441,10 @@ then
|
|||||||
then
|
then
|
||||||
wget -O "$DIR/$file" "$URL/config_files/$file"
|
wget -O "$DIR/$file" "$URL/config_files/$file"
|
||||||
fi
|
fi
|
||||||
|
if [ "$file" == "youtubeUnblock" ]
|
||||||
|
then
|
||||||
|
wget -O "$DIR/$file" "$URL/config_files/youtubeUnblockCalls"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -445,18 +454,6 @@ 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..."
|
|
||||||
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"
|
|
||||||
destination_file="/tmp/opera-proxy.ipk"
|
|
||||||
|
|
||||||
echo "Downloading opera-proxy..."
|
|
||||||
wget "$url" -O "$destination_file" || { echo "Failed to download the file"; exit 1; }
|
|
||||||
echo "Installing opera-proxy..."
|
|
||||||
opkg install $destination_file
|
|
||||||
|
|
||||||
cat <<EOF > /etc/sing-box/config.json
|
cat <<EOF > /etc/sing-box/config.json
|
||||||
{
|
{
|
||||||
"log": {
|
"log": {
|
||||||
@@ -730,10 +727,6 @@ then
|
|||||||
varByPass=1
|
varByPass=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 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"
|
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecond"
|
||||||
service youtubeUnblock restart
|
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
|
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
|
||||||
@@ -769,7 +762,7 @@ case $varByPass in
|
|||||||
1)
|
1)
|
||||||
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"
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
|
|||||||
Reference in New Issue
Block a user