diff --git a/config_files/wdoc-singbox b/config_files/wdoc-singbox new file mode 100644 index 0000000..e395ef0 --- /dev/null +++ b/config_files/wdoc-singbox @@ -0,0 +1,7 @@ + +config wdoc-singbox 'main' + option enabled '1' + option timeout '120' + option url_test 'facebook.com' + option log '0' + diff --git a/config_files/wdoc-warp b/config_files/wdoc-warp new file mode 100644 index 0000000..96c2827 --- /dev/null +++ b/config_files/wdoc-warp @@ -0,0 +1,14 @@ + +config wdoc-warp 'main' + option enabled '1' + option timeout '300' + option check_inet1 '77.88.8.8' + option check_inet2 '8.8.8.8' + option log '0' + +config interface + option iface 'awg10' + option check_ip1 '8.8.8.8' + option check_ip2 '1.1.1.1' + option attempts '10' + diff --git a/universal_config_new_podkop.sh b/universal_config_new_podkop.sh index b7a9d85..1b8aa9b 100644 --- a/universal_config_new_podkop.sh +++ b/universal_config_new_podkop.sh @@ -673,7 +673,8 @@ URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/he checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1" checkPackageAndInstall "luci-i18n-stubby-ru" "1" -checkPackageAndInstall "luci-i18n-doh-proxy-ru" "1" +checkPackageAndInstall "luci-i18n-wdoc-singbox-ru" "1" +checkPackageAndInstall "luci-i18n-wdoc-warp-ru" "1" if [ ! -d "$DIR_BACKUP" ] then @@ -687,7 +688,7 @@ then for file in $config_files do - if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ] + if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ] || [ "$file" == "wdoc-singbox" ] || [ "$file" == "wdoc-warp" ] then wget -O "$DIR/$file" "$URL/config_files/$file" fi @@ -1330,6 +1331,12 @@ fi # Включаем интерфейс #ifup $INTERFACE_NAME +service doh-proxy restart +service stubby restart +service wdoc-singbox restart +service wdoc-warp restart +service dns-failsafe-proxy restart + printf "\033[32;1mService Podkop and Sing-Box restart...\033[0m\n" service sing-box enable service sing-box restart