Merge pull request #22 from routerich/main

Merge
This commit is contained in:
CodeRoK7
2025-04-02 17:09:37 +05:00
committed by GitHub
2 changed files with 44 additions and 8 deletions

View File

@@ -145,7 +145,7 @@ checkPackageAndInstall()
requestConfWARP1() requestConfWARP1()
{ {
#запрос конфигурации WARP #запрос конфигурации WARP
local result=$(curl -w "%{http_code}" 'https://warp.llimonix.pw/api/warp' \ local result=$(curl --connect-timeout 20 --max-time 60 -w "%{http_code}" 'https://warp.llimonix.pw/api/warp' \
-H 'Accept: */*' \ -H 'Accept: */*' \
-H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' \ -H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' \
-H 'Connection: keep-alive' \ -H 'Connection: keep-alive' \
@@ -166,7 +166,7 @@ requestConfWARP1()
requestConfWARP2() requestConfWARP2()
{ {
#запрос конфигурации WARP #запрос конфигурации WARP
local result=$(curl -w "%{http_code}" 'https://topor-warp.vercel.app/generate' \ local result=$(curl --connect-timeout 20 --max-time 60 -w "%{http_code}" 'https://topor-warp.vercel.app/generate' \
-H 'Accept: */*' \ -H 'Accept: */*' \
-H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' \ -H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' \
-H 'Connection: keep-alive' \ -H 'Connection: keep-alive' \
@@ -187,7 +187,7 @@ requestConfWARP2()
requestConfWARP3() requestConfWARP3()
{ {
#запрос конфигурации WARP #запрос конфигурации WARP
local result=$(curl -w "%{http_code}" 'https://warp-gen.vercel.app/generate-config' \ local result=$(curl --connect-timeout 20 --max-time 60 -w "%{http_code}" 'https://warp-gen.vercel.app/generate-config' \
-H 'Accept: */*' \ -H 'Accept: */*' \
-H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' \ -H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' \
-H 'Connection: keep-alive' \ -H 'Connection: keep-alive' \
@@ -205,7 +205,7 @@ requestConfWARP3()
requestConfWARP4() requestConfWARP4()
{ {
#запрос конфигурации WARP #запрос конфигурации WARP
local result=$(curl -w "%{http_code}" 'https://config-generator-warp.vercel.app/warp' \ local result=$(curl --connect-timeout 20 --max-time 60 -w "%{http_code}" 'https://config-generator-warp.vercel.app/warp' \
-H 'Accept: */*' \ -H 'Accept: */*' \
-H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' \ -H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' \
-H 'Connection: keep-alive' \ -H 'Connection: keep-alive' \
@@ -318,7 +318,7 @@ config_files="network
firewall firewall
https-dns-proxy https-dns-proxy
dhcp" dhcp"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta" URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/main"
checkPackageAndInstall "https-dns-proxy" "0" checkPackageAndInstall "https-dns-proxy" "0"
@@ -565,7 +565,7 @@ service odhcpd restart
path_podkop_config="/etc/config/podkop" path_podkop_config="/etc/config/podkop"
path_podkop_config_backup="/root/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/main"
if [ -f "/etc/init.d/podkop" ]; then if [ -f "/etc/init.d/podkop" ]; then
printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n" printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n"
@@ -628,7 +628,10 @@ sleep 2
# Включаем интерфейс # Включаем интерфейс
ifup $INTERFACE_NAME ifup $INTERFACE_NAME
printf "\033[32;1mService Podkop restart...\033[0m\n" printf "\033[32;1mService Podkop and Sing-Box restart...\033[0m\n"
service sing-box enable
service sing-box restart
service podkop enable
service podkop restart service podkop restart
printf "\033[32;1mConfigured completed...\033[0m\n" printf "\033[32;1mConfigured completed...\033[0m\n"

View File

@@ -34,6 +34,20 @@ config main 'main'
list custom_domains 'animego.org' list custom_domains 'animego.org'
list custom_domains 'jut.su' list custom_domains 'jut.su'
list custom_domains 'anilibria.tv' list custom_domains 'anilibria.tv'
list custom_domains 'twimg.com'
list custom_domains 'kinozal.tv'
list custom_domains 'cdninstagram.com'
list custom_domains 'instagram.com'
list custom_domains 'ig.me'
list custom_domains 'fbcdn.net'
list custom_domains 'facebook.com'
list custom_domains 'facebook.net'
list custom_domains 'fb.com'
list custom_domains 'discord.com'
list custom_domains 'discordapp.com'
list custom_domains 'discord.gg'
list custom_domains 'discordapp.net'
list custom_domains 'discord.media'
config second 'second' config second 'second'
option second_enable '1' option second_enable '1'
@@ -74,4 +88,23 @@ config second 'second'
list second_custom_domains 'xboxservices.com' list second_custom_domains 'xboxservices.com'
list second_custom_domains 'myip.com' list second_custom_domains 'myip.com'
list second_custom_domains '4pda.to' list second_custom_domains '4pda.to'
list second_custom_domains 'habr.com' list second_custom_domains 'habr.com'
list second_custom_domains 'byteoversea.com'
list second_custom_domains 'ibytedtos.com'
list second_custom_domains 'muscdn.com'
list second_custom_domains 'musical.ly'
list second_custom_domains 'tik-tokapi.com'
list second_custom_domains 'tiktok.com'
list second_custom_domains 'tiktokcdn-us.com'
list second_custom_domains 'tiktokcdn-eu.com'
list second_custom_domains 'tiktokcdn.com'
list second_custom_domains 'tiktokd.net'
list second_custom_domains 'tiktokd.org'
list second_custom_domains 'tiktokv.com'
list second_custom_domains 'tiktokv.us'
list second_custom_domains 'tiktokw.us'
list second_custom_domains 'ttwstatic.com'
list second_custom_domains 'intel.com'
list second_custom_domains 'intel.se'
list second_custom_domains 'onetrust.com'
list second_custom_domains 'gemini.google.com'