mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-01-01 06:08:46 +03:00
Add new packets wdoc-singbox, wdoc-warp
This commit is contained in:
7
config_files/wdoc-singbox
Normal file
7
config_files/wdoc-singbox
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
config wdoc-singbox 'main'
|
||||||
|
option enabled '1'
|
||||||
|
option timeout '120'
|
||||||
|
option url_test 'facebook.com'
|
||||||
|
option log '0'
|
||||||
|
|
||||||
14
config_files/wdoc-warp
Normal file
14
config_files/wdoc-warp
Normal file
@@ -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'
|
||||||
|
|
||||||
@@ -673,7 +673,8 @@ URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/he
|
|||||||
|
|
||||||
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
|
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
|
||||||
checkPackageAndInstall "luci-i18n-stubby-ru" "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" ]
|
if [ ! -d "$DIR_BACKUP" ]
|
||||||
then
|
then
|
||||||
@@ -687,7 +688,7 @@ then
|
|||||||
|
|
||||||
for file in $config_files
|
for file in $config_files
|
||||||
do
|
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
|
then
|
||||||
wget -O "$DIR/$file" "$URL/config_files/$file"
|
wget -O "$DIR/$file" "$URL/config_files/$file"
|
||||||
fi
|
fi
|
||||||
@@ -1330,6 +1331,12 @@ fi
|
|||||||
# Включаем интерфейс
|
# Включаем интерфейс
|
||||||
#ifup $INTERFACE_NAME
|
#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"
|
printf "\033[32;1mService Podkop and Sing-Box restart...\033[0m\n"
|
||||||
service sing-box enable
|
service sing-box enable
|
||||||
service sing-box restart
|
service sing-box restart
|
||||||
|
|||||||
Reference in New Issue
Block a user