mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-29 18:28:07 +03:00
Compare commits
24 Commits
podkop07
...
zapret2712
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0feef7b06a | ||
|
|
7c28aaacc4 | ||
|
|
886c539a67 | ||
|
|
b15b197073 | ||
|
|
bab8d37b46 | ||
|
|
2674f7e9a9 | ||
|
|
588f538326 | ||
|
|
b5ac0c0dd4 | ||
|
|
c3a18a88a9 | ||
|
|
90978d0cbb | ||
|
|
948af4f0fc | ||
|
|
3539fe995d | ||
|
|
da4bf408b8 | ||
|
|
b58410aae3 | ||
|
|
aca33c2f49 | ||
|
|
57b2bf7ace | ||
|
|
6096a78db1 | ||
|
|
0835700a66 | ||
|
|
db425c55b3 | ||
|
|
6b57248ed4 | ||
|
|
2f1d2d3767 | ||
|
|
3b7b7b2320 | ||
|
|
90e18865e6 | ||
|
|
4c5da586c9 |
@@ -318,7 +318,7 @@ config_files="network
|
||||
firewall
|
||||
https-dns-proxy
|
||||
dhcp"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||
|
||||
checkPackageAndInstall "https-dns-proxy" "0"
|
||||
|
||||
@@ -575,7 +575,7 @@ fi
|
||||
|
||||
path_podkop_config="/etc/config/podkop"
|
||||
path_podkop_config_backup="/root/podkop"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||
|
||||
if [ -f "/etc/init.d/podkop" ]; then
|
||||
printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n"
|
||||
|
||||
@@ -52,3 +52,4 @@ config section 'Youtube_Discord'
|
||||
list community_lists 'discord'
|
||||
option user_domains_text '2ip.ru amazonaws.com whatsapp.com whatsapp.net whatsapp.biz wa.me'
|
||||
list remote_subnet_lists 'https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt'
|
||||
|
||||
|
||||
10
config_files/wdoc
Normal file
10
config_files/wdoc
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
config wdoc 'main'
|
||||
option enabled '1'
|
||||
option timeout '900'
|
||||
option ping_ip '77.88.8.8'
|
||||
option ping_domain 'ya.ru'
|
||||
option curl_domain 'https://scbh.yandex.net/generate_204'
|
||||
option firstboot '0'
|
||||
option log '0'
|
||||
|
||||
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'
|
||||
|
||||
13
config_files/wdoc-wg
Normal file
13
config_files/wdoc-wg
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
config wdoc-wg 'main'
|
||||
option enabled '0'
|
||||
option timeout '900'
|
||||
option log '0'
|
||||
option dns1 '77.88.8.8'
|
||||
option dns2 '8.8.8.8'
|
||||
|
||||
config interface
|
||||
option iface 'awg10'
|
||||
option ip '172.16.0.1'
|
||||
option check_inet '1'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||
DIR="/etc/config"
|
||||
DIR_BACKUP="/root/backup"
|
||||
config_files="dhcp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||
DIR="/etc/config"
|
||||
DIR_BACKUP="/root/backup"
|
||||
config_files="dhcp
|
||||
|
||||
Binary file not shown.
BIN
podkop_packets/luci-app-podkop-v0.7.8-r1-all.ipk
Normal file
BIN
podkop_packets/luci-app-podkop-v0.7.8-r1-all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-i18n-podkop-ru-0.7.8.ipk
Normal file
BIN
podkop_packets/luci-i18n-podkop-ru-0.7.8.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/podkop-v0.7.8-r1-all.ipk
Normal file
BIN
podkop_packets/podkop-v0.7.8-r1-all.ipk
Normal file
Binary file not shown.
@@ -7,10 +7,10 @@ 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/podkop07/universal_config_new_podkop.sh && chmod +x /tmp/universal_config_new_podkop.sh && /tmp/universal_config_new_podkop.sh $1 $2
|
||||
wget --no-check-certificate -O /tmp/universal_config_new_podkop.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225/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/podkop07/universal_config.sh && chmod +x /tmp/universal_config.sh && /tmp/universal_config.sh $1 $2
|
||||
wget --no-check-certificate -O /tmp/universal_config.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225/universal_config.sh && chmod +x /tmp/universal_config.sh && /tmp/universal_config.sh $1 $2
|
||||
fi
|
||||
@@ -661,7 +661,7 @@ firewall
|
||||
https-dns-proxy
|
||||
youtubeUnblock
|
||||
dhcp"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
|
||||
|
||||
checkPackageAndInstall "https-dns-proxy" "0"
|
||||
|
||||
@@ -1143,7 +1143,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/podkop07"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
|
||||
|
||||
messageComplete=""
|
||||
|
||||
|
||||
@@ -658,19 +658,26 @@ uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d'
|
||||
uci commit dhcp
|
||||
|
||||
DIR="/etc/config"
|
||||
DIR_BACKUP="/root/backup5"
|
||||
DIR_BACKUP="/root/backup6"
|
||||
config_files="network
|
||||
firewall
|
||||
doh-proxy
|
||||
zapret
|
||||
dhcp
|
||||
dns-failsafe-proxy
|
||||
stubby"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||
stubby
|
||||
wdoc
|
||||
wdoc-singbox
|
||||
wdoc-warp
|
||||
wdoc-wg"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||
|
||||
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"
|
||||
checkPackageAndInstall "luci-i18n-wdoc-wg-ru" "1"
|
||||
|
||||
#проверяем установлени ли пакет https-dns-proxy
|
||||
if opkg list-installed | grep -q https-dns-proxy; then
|
||||
@@ -690,7 +697,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" ] || [ "$file" == "wdoc-singbox" ] || [ "$file" == "wdoc-warp" ]
|
||||
then
|
||||
wget -O "$DIR/$file" "$URL/config_files/$file"
|
||||
fi
|
||||
@@ -829,10 +836,10 @@ printf "\033[32;1mCheck opera proxy...\033[0m\n"
|
||||
service sing-box restart
|
||||
curl --proxy http://127.0.0.1:18080 ipinfo.io/ip
|
||||
if [ $? -eq 0 ]; then
|
||||
printf "\033[32;1mOpera proxy well work...\033[0m\n"
|
||||
printf "\n\033[32;1mOpera proxy well work...\033[0m\n"
|
||||
isWorkOperaProxy=1
|
||||
else
|
||||
printf "\033[32;1mOpera proxy not work...\033[0m\n"
|
||||
printf "\n\033[32;1mOpera proxy not work...\033[0m\n"
|
||||
isWorkOperaProxy=0
|
||||
fi
|
||||
|
||||
@@ -1182,7 +1189,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/podkop07"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||
|
||||
messageComplete=""
|
||||
|
||||
@@ -1334,6 +1341,14 @@ fi
|
||||
# Включаем интерфейс
|
||||
#ifup $INTERFACE_NAME
|
||||
|
||||
service doh-proxy restart
|
||||
service stubby restart
|
||||
service wdoc restart
|
||||
service wdoc-singbox restart
|
||||
service wdoc-warp restart
|
||||
service wdoc-wg 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
|
||||
|
||||
1357
universal_config_new_podkop_no_edit_sing_box.sh
Normal file
1357
universal_config_new_podkop_no_edit_sing_box.sh
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user