17 Commits

Author SHA1 Message Date
CodeRoK7
767f9d19da On download list services of proxy 2025-09-18 10:10:00 +00:00
CodeRoK7
f5ab0ddfef Updated Podkop to version 0.4.11 2025-09-17 04:19:22 +00:00
CodeRoK7
d3bce96c88 Add new Podkop 0.4.10 install 2025-09-15 11:18:10 +00:00
CodeRoK7
e01d3a6be4 Add resolver dns in doh-proxy 2025-08-28 07:15:10 +00:00
CodeRoK7
930f6dcf2d Add new Podkop v0.4.8-r1 install 2025-08-26 16:35:00 +00:00
CodeRoK7
6d4e532dd6 Upgrade version Podkop for install 2025-08-26 06:49:18 +00:00
CodeRoK7
7fa5aa9717 Fix check version sing-box 2025-08-26 06:01:19 +00:00
CodeRoK7
67118ebc61 Fix check version sing-box 2025-08-26 05:35:44 +00:00
CodeRoK7
8432d25a20 Fix check version sing-box 2025-08-26 05:07:01 +00:00
CodeRoK7
49074bfb41 Check version sing-box and install version 1.11.15 2025-08-26 04:53:12 +00:00
CodeRoK7
c52df10834 fix 2025-08-23 18:54:26 +00:00
CodeRoK7
f5ff284f19 Fix check version firmware 2025-08-23 18:52:55 +00:00
CodeRoK7
f72be7e6c9 delete test 2025-08-22 07:08:26 +00:00
CodeRoK7
ef5fba95bf test 2025-08-22 06:38:23 +00:00
CodeRoK7
9838dba347 Add new script run_universal_config.sh and fix check youtubeUnblock 2025-08-22 06:32:51 +00:00
CodeRoK7
979a204127 Change repo url 2025-08-15 11:21:31 +00:00
CodeRoK7
99cfbb654e Fix calls WhatsApp and Telegram 2025-08-15 11:18:36 +00:00
25 changed files with 293 additions and 74 deletions

View File

@@ -17,3 +17,26 @@ config doh-proxy
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'

View File

@@ -24,7 +24,7 @@ config main 'main'
option cache_file '/tmp/cache.db'
list iface 'br-lan'
option mon_restart_ifaces '0'
option detour '0'
option detour '1'
option outbound_json '{
"type": "http",
"tag": "http-proxy",

View File

@@ -24,7 +24,7 @@ config main 'main'
option cache_file '/tmp/cache.db'
list iface 'br-lan'
option mon_restart_ifaces '0'
option detour '0'
option detour '1'
option outbound_json '{
"type": "http",
"tag": "http-proxy",

View File

@@ -24,7 +24,7 @@ config main 'main'
option cache_file '/tmp/cache.db'
list iface 'br-lan'
option mon_restart_ifaces '0'
option detour '0'
option detour '1'
option outbound_json '{
"type": "http",
"tag": "http-proxy",

View File

@@ -24,7 +24,7 @@ config main 'main'
option cache_file '/tmp/cache.db'
list iface 'br-lan'
option mon_restart_ifaces '0'
option detour '0'
option detour '1'
option outbound_json '{
"type": "http",
"tag": "http-proxy",

View File

@@ -24,7 +24,7 @@ config main 'main'
option cache_file '/tmp/cache.db'
list iface 'br-lan'
option mon_restart_ifaces '0'
option detour '0'
option detour '1'
list domain_list 'block'
list domain_list 'meta'
list domain_list 'twitter'

View File

@@ -24,7 +24,7 @@ config main 'main'
option cache_file '/tmp/cache.db'
list iface 'br-lan'
option mon_restart_ifaces '0'
option detour '0'
option detour '1'
list domain_list 'block'
list domain_list 'meta'
list domain_list 'twitter'

View File

@@ -95,3 +95,39 @@ config section
list sni_domains 'twitteroauth.com'
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'

View File

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

View File

@@ -65,4 +65,41 @@ config section
list sni_domains 'discordapp.com'
list sni_domains 'discord.gg'
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'

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.

16
run_universal_config.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/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

View File

@@ -372,7 +372,7 @@ deleteByPassGeoBlockComssDNS()
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')
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"
AWG_DIR="/tmp/$PACK_NAME"
@@ -400,7 +400,7 @@ install_youtubeunblock_packages() {
fi
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}"
echo $DOWNLOAD_URL
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
@@ -427,7 +427,7 @@ install_youtubeunblock_packages() {
echo "$PACK_NAME already installed"
else
PACK_NAME="luci-app-youtubeUnblock"
YOUTUBEUNBLOCK_FILENAME="luci-app-youtubeUnblock-1.0.0-10-f37c3dd.ipk"
YOUTUBEUNBLOCK_FILENAME="luci-app-youtubeUnblock-1.1.0-1-473af29.ipk"
DOWNLOAD_URL="${BASE_URL}${YOUTUBEUNBLOCK_FILENAME}"
echo $DOWNLOAD_URL
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
@@ -479,7 +479,53 @@ 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"
#проверяем установлени ли пакет dnsmasq-full
if opkg list-installed | grep -q dnsmasq-full; then
@@ -503,7 +549,7 @@ firewall
https-dns-proxy
youtubeUnblock
dhcp"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt_test"
checkPackageAndInstall "https-dns-proxy" "0"
@@ -532,21 +578,6 @@ uci set dhcp.cfg01411c.strictorder='1'
uci set dhcp.cfg01411c.filter_aaaa='1'
uci commit dhcp
if opkg list-installed | grep -q opera-proxy; then
echo "Opera-proxy already installed..."
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"
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
{
"log": {
@@ -574,11 +605,18 @@ cat <<EOF > /etc/sing-box/config.json
}
EOF
echo "Setting sing-box..."
uci set sing-box.main.enabled='1'
uci set sing-box.main.user='root'
uci commit sing-box
fi
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'"
str=$(grep -i "$nameRule" /etc/config/firewall)
@@ -604,11 +642,12 @@ then
fi
printf "\033[32;1mCheck work youtubeUnblock..\033[0m\n"
install_youtubeunblock_packages
#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
@@ -907,7 +946,7 @@ 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"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt_test"
messageComplete=""

View File

@@ -382,7 +382,7 @@ deleteByPassGeoBlockComssDNS()
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')
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"
AWG_DIR="/tmp/$PACK_NAME"
@@ -410,7 +410,7 @@ install_youtubeunblock_packages() {
fi
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}"
echo $DOWNLOAD_URL
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
@@ -437,7 +437,7 @@ install_youtubeunblock_packages() {
echo "$PACK_NAME already installed"
else
PACK_NAME="luci-app-youtubeUnblock"
YOUTUBEUNBLOCK_FILENAME="luci-app-youtubeUnblock-1.0.0-10-f37c3dd.ipk"
YOUTUBEUNBLOCK_FILENAME="luci-app-youtubeUnblock-1.1.0-1-473af29.ipk"
DOWNLOAD_URL="${BASE_URL}${YOUTUBEUNBLOCK_FILENAME}"
echo $DOWNLOAD_URL
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
@@ -489,7 +489,53 @@ 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"
#проверяем установлени ли пакет dnsmasq-full
if opkg list-installed | grep -q dnsmasq-full; then
@@ -514,7 +560,7 @@ doh-proxy
youtubeUnblock
dhcp
dns-failsafe-proxy"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt_test"
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
checkPackageAndInstall "luci-i18n-stubby-ru" "1"
@@ -545,21 +591,6 @@ uci set dhcp.cfg01411c.strictorder='1'
uci set dhcp.cfg01411c.filter_aaaa='1'
uci commit dhcp
if opkg list-installed | grep -q opera-proxy; then
echo "Opera-proxy already installed..."
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"
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
{
"log": {
@@ -587,19 +618,18 @@ cat <<EOF > /etc/sing-box/config.json
}
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
fi
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'"
str=$(grep -i "$nameRule" /etc/config/firewall)
@@ -625,11 +655,12 @@ then
fi
printf "\033[32;1mCheck work youtubeUnblock..\033[0m\n"
install_youtubeunblock_packages
#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
@@ -928,7 +959,7 @@ 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"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt_test"
messageComplete=""
@@ -1005,7 +1036,7 @@ case $varByPass in
esac
PACKAGE="podkop"
REQUIRED_VERSION="0.4.6-r1"
REQUIRED_VERSION="v0.4.11-r1"
INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3)
if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then
@@ -1031,9 +1062,9 @@ else
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
DOWNLOAD_DIR="/tmp/podkop"
mkdir -p "$DOWNLOAD_DIR"
podkop_files="podkop_0.4.6-r1_all.ipk
luci-app-podkop_0.4.6-r1_all.ipk
luci-i18n-podkop-ru_0.4.6.ipk"
podkop_files="podkop_v0.4.11-r1_all.ipk
luci-app-podkop_v0.4.11-r1_all.ipk
luci-i18n-podkop-ru_0.4.11.ipk"
for file in $podkop_files
do
echo "Download $file..."