mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-29 18:28:07 +03:00
Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c01c6d10f4 | ||
|
|
0e06bb9e6d | ||
|
|
313c725038 | ||
|
|
1c74ee190a | ||
|
|
083b2efd15 | ||
|
|
5a0f0060ff | ||
|
|
98d755c362 | ||
|
|
605c79bc55 | ||
|
|
e18d56269c | ||
|
|
a779ca4418 | ||
|
|
9123c0d847 | ||
|
|
5d4a82e902 | ||
|
|
1495647a36 | ||
|
|
5d90170698 | ||
|
|
50044435a7 | ||
|
|
e765114c49 | ||
|
|
9aeb4d70c1 | ||
|
|
b0b5f09b51 | ||
|
|
5231dc247d |
11
config_files/dns-failsafe-proxy
Normal file
11
config_files/dns-failsafe-proxy
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
config dns-failsafe-proxy 'main'
|
||||
option listen_ip '127.0.0.1'
|
||||
option listen_port '5359'
|
||||
option dns_ip '127.0.0.42'
|
||||
option dns_port '53'
|
||||
option failback_ip '127.0.0.1'
|
||||
option failback_port '5453'
|
||||
option connect_timeout '150'
|
||||
option session_timeout '2000'
|
||||
|
||||
19
config_files/doh-proxy
Normal file
19
config_files/doh-proxy
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
config main 'config'
|
||||
option canary_domains_icloud '1'
|
||||
option canary_domains_mozilla '1'
|
||||
option dnsmasq_config_update '-'
|
||||
option force_dns '1'
|
||||
list force_dns_port '53'
|
||||
list force_dns_port '853'
|
||||
list procd_fw_src_interfaces 'lan'
|
||||
option procd_trigger_wan6 '0'
|
||||
|
||||
config doh-proxy
|
||||
option bootstrap_dns '94.140.14.14,94.140.15.15'
|
||||
option resolver_url 'https://dns.adguard-dns.com/dns-query'
|
||||
option listen_addr '127.0.0.1'
|
||||
option listen_port '5053'
|
||||
option user 'nobody'
|
||||
option group 'nogroup'
|
||||
|
||||
55
config_files/podkopNew
Normal file
55
config_files/podkopNew
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'proxy'
|
||||
option proxy_config_type 'outbound'
|
||||
option domain_list_enabled '1'
|
||||
option subnets_list_enabled '0'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
option delist_domains_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option yacd '0'
|
||||
option socks5 '0'
|
||||
option exclude_ntp '1'
|
||||
option quic_disable '1'
|
||||
option dont_touch_dhcp '1'
|
||||
option update_interval '1d'
|
||||
option dns_type 'doh'
|
||||
option dns_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '0'
|
||||
option outbound_json '{
|
||||
"type": "http",
|
||||
"tag": "http-proxy",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
list domain_list 'geoblock'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'google_ai'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
|
||||
config extra 'Youtube_Discord'
|
||||
option mode 'vpn'
|
||||
option interface 'awg10'
|
||||
option domain_list_enabled '1'
|
||||
list domain_list 'youtube'
|
||||
list domain_list 'discord'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_domains_text '2ip.ru'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
54
config_files/podkopNewNoYoutube
Normal file
54
config_files/podkopNewNoYoutube
Normal file
@@ -0,0 +1,54 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'proxy'
|
||||
option proxy_config_type 'outbound'
|
||||
option domain_list_enabled '1'
|
||||
option subnets_list_enabled '0'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
option delist_domains_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option yacd '0'
|
||||
option socks5 '0'
|
||||
option exclude_ntp '1'
|
||||
option quic_disable '1'
|
||||
option dont_touch_dhcp '1'
|
||||
option update_interval '1d'
|
||||
option dns_type 'doh'
|
||||
option dns_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '0'
|
||||
option outbound_json '{
|
||||
"type": "http",
|
||||
"tag": "http-proxy",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
list domain_list 'geoblock'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'google_ai'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
|
||||
config extra 'Discord'
|
||||
option mode 'vpn'
|
||||
option interface 'awg10'
|
||||
option domain_list_enabled '1'
|
||||
list domain_list 'discord'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_domains_text '2ip.ru'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
42
config_files/podkopNewSecond
Normal file
42
config_files/podkopNewSecond
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'proxy'
|
||||
option proxy_config_type 'outbound'
|
||||
option domain_list_enabled '1'
|
||||
option subnets_list_enabled '0'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
option delist_domains_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option yacd '0'
|
||||
option socks5 '0'
|
||||
option exclude_ntp '1'
|
||||
option quic_disable '1'
|
||||
option dont_touch_dhcp '1'
|
||||
option update_interval '1d'
|
||||
option dns_type 'doh'
|
||||
option dns_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '0'
|
||||
option outbound_json '{
|
||||
"type": "http",
|
||||
"tag": "http-proxy",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
list domain_list 'geoblock'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'google_ai'
|
||||
list domain_list 'discord'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
43
config_files/podkopNewSecondYoutube
Normal file
43
config_files/podkopNewSecondYoutube
Normal file
@@ -0,0 +1,43 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'proxy'
|
||||
option proxy_config_type 'outbound'
|
||||
option domain_list_enabled '1'
|
||||
option subnets_list_enabled '0'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
option delist_domains_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option yacd '0'
|
||||
option socks5 '0'
|
||||
option exclude_ntp '1'
|
||||
option quic_disable '1'
|
||||
option dont_touch_dhcp '1'
|
||||
option update_interval '1d'
|
||||
option dns_type 'doh'
|
||||
option dns_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '0'
|
||||
option outbound_json '{
|
||||
"type": "http",
|
||||
"tag": "http-proxy",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 18080
|
||||
}'
|
||||
list domain_list 'geoblock'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'google_ai'
|
||||
list domain_list 'discord'
|
||||
list domain_list 'youtube'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
36
config_files/podkopNewWARP
Normal file
36
config_files/podkopNewWARP
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'vpn'
|
||||
option interface 'awg10'
|
||||
option domain_list_enabled '1'
|
||||
option subnets_list_enabled '0'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
option delist_domains_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option yacd '0'
|
||||
option socks5 '0'
|
||||
option exclude_ntp '1'
|
||||
option quic_disable '1'
|
||||
option dont_touch_dhcp '1'
|
||||
option update_interval '1d'
|
||||
option dns_type 'doh'
|
||||
option dns_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '0'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'telegram'
|
||||
list domain_list 'discord'
|
||||
list domain_list 'youtube'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
35
config_files/podkopNewWARPNoYoutube
Normal file
35
config_files/podkopNewWARPNoYoutube
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
config main 'main'
|
||||
option mode 'vpn'
|
||||
option interface 'awg10'
|
||||
option domain_list_enabled '1'
|
||||
option subnets_list_enabled '0'
|
||||
option custom_domains_list_type 'text'
|
||||
option custom_local_domains_list_enabled '0'
|
||||
option custom_download_domains_list_enabled '0'
|
||||
option custom_download_subnets_list_enabled '0'
|
||||
option all_traffic_from_ip_enabled '0'
|
||||
option delist_domains_enabled '0'
|
||||
option exclude_from_ip_enabled '0'
|
||||
option yacd '0'
|
||||
option socks5 '0'
|
||||
option exclude_ntp '1'
|
||||
option quic_disable '1'
|
||||
option dont_touch_dhcp '1'
|
||||
option update_interval '1d'
|
||||
option dns_type 'doh'
|
||||
option dns_server 'dns.adguard-dns.com'
|
||||
option split_dns_enabled '0'
|
||||
option dns_rewrite_ttl '60'
|
||||
option cache_file '/tmp/cache.db'
|
||||
list iface 'br-lan'
|
||||
option mon_restart_ifaces '0'
|
||||
option detour '0'
|
||||
list domain_list 'block'
|
||||
list domain_list 'meta'
|
||||
list domain_list 'twitter'
|
||||
list domain_list 'hdrezka'
|
||||
list domain_list 'telegram'
|
||||
list domain_list 'discord'
|
||||
option custom_domains_text 'myip.com'
|
||||
option custom_subnets_list_enabled 'disabled'
|
||||
68
off_universal_config_new_podkop.sh
Normal file
68
off_universal_config_new_podkop.sh
Normal file
@@ -0,0 +1,68 @@
|
||||
#!/bin/sh
|
||||
|
||||
DIR="/etc/config"
|
||||
DIR_BACKUP="/root/backup3"
|
||||
config_files="network
|
||||
firewall
|
||||
youtubeUnblock
|
||||
https-dns-proxy
|
||||
dhcp
|
||||
dns-failsafe-proxy"
|
||||
|
||||
manage_package() {
|
||||
local name="$1"
|
||||
local autostart="$2"
|
||||
local process="$3"
|
||||
|
||||
# Проверка, установлен ли пакет
|
||||
if opkg list-installed | grep -q "^$name"; then
|
||||
|
||||
# Проверка, включен ли автозапуск
|
||||
if /etc/init.d/$name enabled; then
|
||||
if [ "$autostart" = "disable" ]; then
|
||||
/etc/init.d/$name disable
|
||||
fi
|
||||
else
|
||||
if [ "$autostart" = "enable" ]; then
|
||||
/etc/init.d/$name enable
|
||||
fi
|
||||
fi
|
||||
|
||||
# Проверка, запущен ли процесс
|
||||
if pidof $name > /dev/null; then
|
||||
if [ "$process" = "stop" ]; then
|
||||
/etc/init.d/$name stop
|
||||
fi
|
||||
else
|
||||
if [ "$process" = "start" ]; then
|
||||
/etc/init.d/$name start
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -d "$DIR_BACKUP" ]
|
||||
then
|
||||
echo "Restore configs..."
|
||||
for file in $config_files
|
||||
do
|
||||
cp -f "$DIR_BACKUP/$file" "$DIR/$file"
|
||||
done
|
||||
|
||||
rm -rf "$DIR_BACKUP"
|
||||
fi
|
||||
|
||||
echo "Stop and disabled autostart Podkop..."
|
||||
manage_package "podkop" "disable" "stop"
|
||||
|
||||
echo "Run and enabled autostart youtubeUnblock and ruantiblock..."
|
||||
manage_package "youtubeUnblock" "enable" "start"
|
||||
manage_package "ruantiblock" "enable" "start"
|
||||
|
||||
printf "\033[32;1mRestart firewall, dnsmasq, odhcpd...\033[0m\n"
|
||||
service firewall restart
|
||||
service dnsmasq restart
|
||||
service odhcpd restart
|
||||
#service network restart
|
||||
|
||||
printf "\033[32;1mOff configured completed...\033[0m\n"
|
||||
BIN
podkop_packets/luci-app-podkop_0.4.6-r1_all.ipk
Normal file
BIN
podkop_packets/luci-app-podkop_0.4.6-r1_all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-i18n-podkop-ru_0.4.6.ipk
Normal file
BIN
podkop_packets/luci-i18n-podkop-ru_0.4.6.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/podkop_0.4.6-r1_all.ipk
Normal file
BIN
podkop_packets/podkop_0.4.6-r1_all.ipk
Normal file
Binary file not shown.
1082
universal_config_new_podkop.sh
Normal file
1082
universal_config_new_podkop.sh
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user