mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-06 03:26:43 +03:00
@@ -294,6 +294,8 @@ install_awg_packages
|
||||
|
||||
checkPackageAndInstall "jq" "1"
|
||||
checkPackageAndInstall "curl" "1"
|
||||
checkPackageAndInstall "unzip" "1"
|
||||
checkPackageAndInstall "sing-box" "1"
|
||||
|
||||
#проверяем установлени ли пакет dnsmasq-full
|
||||
if opkg list-installed | grep -q dnsmasq-full; then
|
||||
@@ -316,7 +318,7 @@ config_files="network
|
||||
firewall
|
||||
https-dns-proxy
|
||||
dhcp"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/main"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta"
|
||||
|
||||
checkPackageAndInstall "https-dns-proxy" "0"
|
||||
|
||||
@@ -343,69 +345,24 @@ echo "Configure dhcp..."
|
||||
|
||||
uci set dhcp.cfg01411c.strictorder='1'
|
||||
uci set dhcp.cfg01411c.filter_aaaa='1'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5053'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5054'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5055'
|
||||
uci add_list dhcp.cfg01411c.server='127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.chatgpt.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.oaistatic.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.oaiusercontent.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.openai.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.microsoft.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.windowsupdate.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.bing.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.supercell.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.seeurlpcl.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.supercellid.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.supercellgames.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.clashroyale.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.brawlstars.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.clash.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.clashofclans.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.x.ai/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.grok.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.github.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.forzamotorsport.net/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.forzaracingchampionship.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.forzarc.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.gamepass.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.orithegame.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.renovacionxboxlive.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.tellmewhygame.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox.co/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox.eu/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox.org/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox360.co/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox360.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox360.eu/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbox360.org/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxab.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxgamepass.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxgamestudios.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxlive.cn/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxlive.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxone.co/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxone.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxone.eu/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxplayanywhere.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxservices.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xboxstudios.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.xbx.lv/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.sentry.io/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.usercentrics.eu/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.recaptcha.net/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.gstatic.com/127.0.0.1#5056'
|
||||
uci add_list dhcp.cfg01411c.server='/*.brawlstarsgame.com/127.0.0.1#5056'
|
||||
uci commit dhcp
|
||||
|
||||
echo "Add unblock ChatGPT..."
|
||||
echo "Install opera-proxy client..."
|
||||
service stop vpn > /dev/null
|
||||
rm -f /usr/bin/vpns /etc/init.d/vpn
|
||||
|
||||
checkAndAddDomainPermanentName "chatgpt.com" "94.131.119.85"
|
||||
checkAndAddDomainPermanentName "openai.com" "94.131.119.85"
|
||||
checkAndAddDomainPermanentName "webrtc.chatgpt.com" "94.131.119.85"
|
||||
checkAndAddDomainPermanentName "ios.chat.openai.com" "94.131.119.85"
|
||||
checkAndAddDomainPermanentName "searchgpt.com" "94.131.119.85"
|
||||
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 "Downlading opera-proxy..."
|
||||
wget "$url" -O "$destination_file" || { echo "Failed to download the file"; exit 1; }
|
||||
echo "Installing opera-proxy..."
|
||||
opkg install $destination_file
|
||||
|
||||
echo "Setting sing-box..."
|
||||
uci set sing-box.main.enabled='1'
|
||||
uci set sing-box.main.user='root'
|
||||
uci commit sing-box
|
||||
|
||||
printf "\033[32;1mAutomatic generate config AmneziaWG WARP (n) or manual input parameters for AmneziaWG (y)...\033[0m\n"
|
||||
echo "Input manual parameters AmneziaWG? (y/n): "
|
||||
@@ -608,10 +565,10 @@ 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/main"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta"
|
||||
|
||||
if [ -f "/etc/init.d/podkop" ]; then
|
||||
printf "Podkop installed. Reconfigured on AWG WARP? (y/n): \n"
|
||||
printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n"
|
||||
is_reconfig_podkop="y"
|
||||
read is_reconfig_podkop
|
||||
if [ "$is_reconfig_podkop" = "y" ] || [ "$is_reconfig_podkop" = "Y" ]; then
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'vpn'
|
||||
option domain_list_enabled '1'
|
||||
option domain_list_enabled '0'
|
||||
option subnets_list_enabled '1'
|
||||
option custom_domains_list_enabled 'dynamic'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
@@ -9,19 +9,69 @@ config main 'main'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option exclude_ntp '1'
|
||||
option update_interval '0 4 * * *'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option interface 'awg10'
|
||||
option domain_list 'ru_inside'
|
||||
option delist_domains_enabled '0'
|
||||
list subnets 'meta'
|
||||
list subnets 'twitter'
|
||||
list subnets 'discord'
|
||||
list custom_domains '2ip.ru'
|
||||
list custom_domains 'googlevideo.com'
|
||||
list custom_domains 'ggpht.com'
|
||||
list custom_domains 'ytimg.com'
|
||||
list custom_domains 'youtube.com'
|
||||
list custom_domains 'play.google.com'
|
||||
list custom_domains 'youtu.be'
|
||||
list custom_domains 'googleapis.com'
|
||||
list custom_domains 'googleusercontent.com'
|
||||
list custom_domains 'gstatic.com'
|
||||
list custom_domains 'l.google.com'
|
||||
list custom_domains 'rutracker.org'
|
||||
list custom_domains 'rutor.info'
|
||||
list custom_domains 'nnmclub.to'
|
||||
list custom_domains 'rutracker.net'
|
||||
list custom_domains 'lostfilm.tv'
|
||||
list custom_domains 'animego.org'
|
||||
list custom_domains 'jut.su'
|
||||
list custom_domains 'anilibria.tv'
|
||||
|
||||
config second 'second'
|
||||
option second_enable '0'
|
||||
option second_enable '1'
|
||||
option domain_list_enabled '0'
|
||||
list domains 'youtube'
|
||||
|
||||
option second_mode 'proxy'
|
||||
option second_proxy_config_type 'outbound'
|
||||
option second_outbound_json '{
|
||||
"type": "http",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
option second_domain_service_enabled '0'
|
||||
option second_custom_domains_list_enabled 'dynamic'
|
||||
option second_custom_subnets_list_enabled 'disabled'
|
||||
list second_custom_domains 'chatgpt.com'
|
||||
list second_custom_domains 'oaistatic.com'
|
||||
list second_custom_domains 'oaiusercontent.com'
|
||||
list second_custom_domains 'openai.com'
|
||||
list second_custom_domains 'microsoft.com'
|
||||
list second_custom_domains 'windowsupdate.com'
|
||||
list second_custom_domains 'bing.com'
|
||||
list second_custom_domains 'supercell.com'
|
||||
list second_custom_domains 'seeurlpcl.com'
|
||||
list second_custom_domains 'supercellid.com'
|
||||
list second_custom_domains 'supercellgames.com'
|
||||
list second_custom_domains 'clashroyale.com'
|
||||
list second_custom_domains 'brawlstars.com'
|
||||
list second_custom_domains 'clash.com'
|
||||
list second_custom_domains 'clashofclans.com'
|
||||
list second_custom_domains 'x.ai'
|
||||
list second_custom_domains 'grok.com'
|
||||
list second_custom_domains 'gitgub.com'
|
||||
list second_custom_domains 'searchgpt.com'
|
||||
list second_custom_domains 'xboxlive.com'
|
||||
list second_custom_domains 'gamepass.com'
|
||||
list second_custom_domains 'xboxab.com'
|
||||
list second_custom_domains 'xboxservices.com'
|
||||
list second_custom_domains 'myip.com'
|
||||
list second_custom_domains '4pda.to'
|
||||
list second_custom_domains 'habr.com'
|
||||
Reference in New Issue
Block a user