mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-28 17:58:07 +03:00
Compare commits
62 Commits
main
...
beta_alt_t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
767f9d19da | ||
|
|
f5ab0ddfef | ||
|
|
d3bce96c88 | ||
|
|
e01d3a6be4 | ||
|
|
930f6dcf2d | ||
|
|
6d4e532dd6 | ||
|
|
7fa5aa9717 | ||
|
|
67118ebc61 | ||
|
|
8432d25a20 | ||
|
|
49074bfb41 | ||
|
|
c52df10834 | ||
|
|
f5ff284f19 | ||
|
|
f72be7e6c9 | ||
|
|
ef5fba95bf | ||
|
|
9838dba347 | ||
|
|
979a204127 | ||
|
|
99cfbb654e | ||
|
|
c01c6d10f4 | ||
|
|
0e06bb9e6d | ||
|
|
313c725038 | ||
|
|
1c74ee190a | ||
|
|
083b2efd15 | ||
|
|
5a0f0060ff | ||
|
|
98d755c362 | ||
|
|
605c79bc55 | ||
|
|
e18d56269c | ||
|
|
a779ca4418 | ||
|
|
9123c0d847 | ||
|
|
5d4a82e902 | ||
|
|
1495647a36 | ||
|
|
5d90170698 | ||
|
|
50044435a7 | ||
|
|
e765114c49 | ||
|
|
9aeb4d70c1 | ||
|
|
b0b5f09b51 | ||
|
|
5231dc247d | ||
|
|
e69c9f1ee2 | ||
|
|
b159e3caea | ||
|
|
73871d0864 | ||
|
|
9c6a776af6 | ||
|
|
0604b99db4 | ||
|
|
4e0238213f | ||
|
|
6eebf40f4c | ||
|
|
b55012ef84 | ||
|
|
4b1e9f72c4 | ||
|
|
296ba4c6be | ||
|
|
1b63e81ced | ||
|
|
85c4386866 | ||
|
|
2daa388b30 | ||
|
|
34558f232c | ||
|
|
f20be60176 | ||
|
|
41e16a0d83 | ||
|
|
a310e6ab38 | ||
|
|
5c374ac531 | ||
|
|
88fe06e701 | ||
|
|
3a5fadd5ea | ||
|
|
52a2eb463b | ||
|
|
c271c7b14a | ||
|
|
a3dad7e374 | ||
|
|
84a5bccc25 | ||
|
|
30e0a4837a | ||
|
|
8dbb6df0c9 |
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'
|
||||||
|
|
||||||
42
config_files/doh-proxy
Normal file
42
config_files/doh-proxy
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
|
||||||
|
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'
|
||||||
|
|
||||||
|
config doh-proxy
|
||||||
|
option resolver_url 'https://dns.google/dns-query'
|
||||||
|
option bootstrap_dns '8.8.8.8,8.8.4.4'
|
||||||
|
option listen_addr '127.0.0.1'
|
||||||
|
option listen_port '5054'
|
||||||
|
option user 'nobody'
|
||||||
|
option group 'nogroup'
|
||||||
|
|
||||||
|
config doh-proxy
|
||||||
|
option resolver_url 'https://cloudflare-dns.com/dns-query'
|
||||||
|
option bootstrap_dns '1.1.1.1,1.0.0.1'
|
||||||
|
option listen_addr '127.0.0.1'
|
||||||
|
option listen_port '5055'
|
||||||
|
option user 'nobody'
|
||||||
|
option group 'nogroup'
|
||||||
|
|
||||||
|
config doh-proxy
|
||||||
|
option resolver_url 'https://router.comss.one/dns-query'
|
||||||
|
option bootstrap_dns '195.133.25.16,212.109.195.93'
|
||||||
|
option listen_addr '127.0.0.1'
|
||||||
|
option listen_port '5056'
|
||||||
|
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 '1'
|
||||||
|
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 '1'
|
||||||
|
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 '1'
|
||||||
|
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 '1'
|
||||||
|
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 '1'
|
||||||
|
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 '1'
|
||||||
|
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'
|
||||||
102
config_files/podkopNoYoutube
Normal file
102
config_files/podkopNoYoutube
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
|
||||||
|
config main 'main'
|
||||||
|
option mode 'vpn'
|
||||||
|
option domain_list_enabled '0'
|
||||||
|
option subnets_list_enabled '1'
|
||||||
|
option custom_domains_list_enabled 'dynamic'
|
||||||
|
option custom_subnets_list_enabled 'disabled'
|
||||||
|
option all_traffic_from_ip_enabled '0'
|
||||||
|
option custom_download_domains_list_enabled '0'
|
||||||
|
option custom_download_subnets_list_enabled '0'
|
||||||
|
option exclude_from_ip_enabled '0'
|
||||||
|
option update_interval '0 4 * * *'
|
||||||
|
option custom_local_domains_list_enabled '0'
|
||||||
|
option interface 'awg10'
|
||||||
|
list subnets 'meta'
|
||||||
|
list subnets 'twitter'
|
||||||
|
list subnets 'discord'
|
||||||
|
list custom_domains '2ip.ru'
|
||||||
|
list custom_domains 'rutracker.org'
|
||||||
|
list custom_domains 'rutracker.net'
|
||||||
|
list custom_domains 'rutracker.cc'
|
||||||
|
list custom_domains 'rutor.info'
|
||||||
|
list custom_domains 'nnmclub.to'
|
||||||
|
list custom_domains 'lostfilm.tv'
|
||||||
|
list custom_domains 'animego.org'
|
||||||
|
list custom_domains 'jut.su'
|
||||||
|
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'
|
||||||
|
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 '4pda.ws'
|
||||||
|
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'
|
||||||
112
config_files/podkopWARP
Normal file
112
config_files/podkopWARP
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
|
||||||
|
config main 'main'
|
||||||
|
option mode 'vpn'
|
||||||
|
option domain_list_enabled '0'
|
||||||
|
option subnets_list_enabled '1'
|
||||||
|
option custom_domains_list_enabled 'dynamic'
|
||||||
|
option custom_subnets_list_enabled 'disabled'
|
||||||
|
option all_traffic_from_ip_enabled '0'
|
||||||
|
option custom_download_domains_list_enabled '0'
|
||||||
|
option custom_download_subnets_list_enabled '0'
|
||||||
|
option exclude_from_ip_enabled '0'
|
||||||
|
option update_interval '0 4 * * *'
|
||||||
|
option custom_local_domains_list_enabled '0'
|
||||||
|
option interface 'awg10'
|
||||||
|
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 'rutracker.net'
|
||||||
|
list custom_domains 'rutracker.cc'
|
||||||
|
list custom_domains 'rutor.info'
|
||||||
|
list custom_domains 'nnmclub.to'
|
||||||
|
list custom_domains 'lostfilm.tv'
|
||||||
|
list custom_domains 'animego.org'
|
||||||
|
list custom_domains 'jut.su'
|
||||||
|
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'
|
||||||
|
option second_enable '0'
|
||||||
|
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 '4pda.ws'
|
||||||
|
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'
|
||||||
102
config_files/podkopWARPNoYoutube
Normal file
102
config_files/podkopWARPNoYoutube
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
|
||||||
|
config main 'main'
|
||||||
|
option mode 'vpn'
|
||||||
|
option domain_list_enabled '0'
|
||||||
|
option subnets_list_enabled '1'
|
||||||
|
option custom_domains_list_enabled 'dynamic'
|
||||||
|
option custom_subnets_list_enabled 'disabled'
|
||||||
|
option all_traffic_from_ip_enabled '0'
|
||||||
|
option custom_download_domains_list_enabled '0'
|
||||||
|
option custom_download_subnets_list_enabled '0'
|
||||||
|
option exclude_from_ip_enabled '0'
|
||||||
|
option update_interval '0 4 * * *'
|
||||||
|
option custom_local_domains_list_enabled '0'
|
||||||
|
option interface 'awg10'
|
||||||
|
list subnets 'meta'
|
||||||
|
list subnets 'twitter'
|
||||||
|
list subnets 'discord'
|
||||||
|
list custom_domains '2ip.ru'
|
||||||
|
list custom_domains 'rutracker.org'
|
||||||
|
list custom_domains 'rutracker.net'
|
||||||
|
list custom_domains 'rutracker.cc'
|
||||||
|
list custom_domains 'rutor.info'
|
||||||
|
list custom_domains 'nnmclub.to'
|
||||||
|
list custom_domains 'lostfilm.tv'
|
||||||
|
list custom_domains 'animego.org'
|
||||||
|
list custom_domains 'jut.su'
|
||||||
|
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'
|
||||||
|
option second_enable '0'
|
||||||
|
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 '4pda.ws'
|
||||||
|
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'
|
||||||
@@ -95,3 +95,39 @@ config section
|
|||||||
list sni_domains 'twitteroauth.com'
|
list sni_domains 'twitteroauth.com'
|
||||||
list sni_domains 'twitterstat.us'
|
list sni_domains 'twitterstat.us'
|
||||||
|
|
||||||
|
config section
|
||||||
|
option name 'CallsWhatsAppTelegram'
|
||||||
|
option tls_enabled '0'
|
||||||
|
option all_domains '0'
|
||||||
|
list sni_domains 'cdn-telegram.org'
|
||||||
|
list sni_domains 'comments.app'
|
||||||
|
list sni_domains 'contest.com'
|
||||||
|
list sni_domains 'fragment.com'
|
||||||
|
list sni_domains 'graph.org'
|
||||||
|
list sni_domains 'quiz.directory'
|
||||||
|
list sni_domains 't.me'
|
||||||
|
list sni_domains 'tdesktop.com'
|
||||||
|
list sni_domains 'telega.one'
|
||||||
|
list sni_domains 'telegra.ph'
|
||||||
|
list sni_domains 'telegram-cdn.org'
|
||||||
|
list sni_domains 'telegram.dog'
|
||||||
|
list sni_domains 'telegram.me'
|
||||||
|
list sni_domains 'telegram.org'
|
||||||
|
list sni_domains 'telegram.space'
|
||||||
|
list sni_domains 'telesco.pe'
|
||||||
|
list sni_domains 'tg.dev'
|
||||||
|
list sni_domains 'tx.me'
|
||||||
|
list sni_domains 'usercontent.dev'
|
||||||
|
list sni_domains 'graph.facebook.com'
|
||||||
|
list sni_domains 'whatsapp.biz'
|
||||||
|
list sni_domains 'whatsapp.com'
|
||||||
|
list sni_domains 'whatsapp.net'
|
||||||
|
option sni_detection 'parse'
|
||||||
|
option quic_drop '0'
|
||||||
|
option udp_mode 'fake'
|
||||||
|
option udp_faking_strategy 'none'
|
||||||
|
option udp_fake_seq_len '6'
|
||||||
|
option udp_fake_len '64'
|
||||||
|
option udp_filter_quic 'disabled'
|
||||||
|
option enabled '1'
|
||||||
|
option udp_stun_filter '1'
|
||||||
@@ -37,32 +37,38 @@ config section
|
|||||||
option quic_drop '1'
|
option quic_drop '1'
|
||||||
|
|
||||||
config section
|
config section
|
||||||
option name 'Discord'
|
option name 'CallsWhatsAppTelegram'
|
||||||
option tls_enabled '1'
|
option tls_enabled '0'
|
||||||
option fake_sni '1'
|
|
||||||
option faking_strategy 'pastseq'
|
|
||||||
option fake_sni_seq_len '1'
|
|
||||||
option fake_sni_type 'default'
|
|
||||||
option frag 'tcp'
|
|
||||||
option frag_sni_reverse '1'
|
|
||||||
option frag_sni_faked '0'
|
|
||||||
option frag_middle_sni '1'
|
|
||||||
option frag_sni_pos '1'
|
|
||||||
option seg2delay '0'
|
|
||||||
option fk_winsize '0'
|
|
||||||
option synfake '0'
|
|
||||||
option all_domains '0'
|
option all_domains '0'
|
||||||
|
list sni_domains 'cdn-telegram.org'
|
||||||
|
list sni_domains 'comments.app'
|
||||||
|
list sni_domains 'contest.com'
|
||||||
|
list sni_domains 'fragment.com'
|
||||||
|
list sni_domains 'graph.org'
|
||||||
|
list sni_domains 'quiz.directory'
|
||||||
|
list sni_domains 't.me'
|
||||||
|
list sni_domains 'tdesktop.com'
|
||||||
|
list sni_domains 'telega.one'
|
||||||
|
list sni_domains 'telegra.ph'
|
||||||
|
list sni_domains 'telegram-cdn.org'
|
||||||
|
list sni_domains 'telegram.dog'
|
||||||
|
list sni_domains 'telegram.me'
|
||||||
|
list sni_domains 'telegram.org'
|
||||||
|
list sni_domains 'telegram.space'
|
||||||
|
list sni_domains 'telesco.pe'
|
||||||
|
list sni_domains 'tg.dev'
|
||||||
|
list sni_domains 'tx.me'
|
||||||
|
list sni_domains 'usercontent.dev'
|
||||||
|
list sni_domains 'graph.facebook.com'
|
||||||
|
list sni_domains 'whatsapp.biz'
|
||||||
|
list sni_domains 'whatsapp.com'
|
||||||
|
list sni_domains 'whatsapp.net'
|
||||||
option sni_detection 'parse'
|
option sni_detection 'parse'
|
||||||
option quic_drop '0'
|
option quic_drop '0'
|
||||||
option udp_mode 'fake'
|
option udp_mode 'fake'
|
||||||
option udp_faking_strategy 'none'
|
option udp_faking_strategy 'none'
|
||||||
option udp_fake_seq_len '6'
|
option udp_fake_seq_len '6'
|
||||||
option udp_fake_len '64'
|
option udp_fake_len '64'
|
||||||
list udp_dport_filter '50000-50100 '
|
|
||||||
option udp_filter_quic 'disabled'
|
option udp_filter_quic 'disabled'
|
||||||
option enabled '1'
|
option enabled '1'
|
||||||
list sni_domains 'discord.com'
|
option udp_stun_filter '1'
|
||||||
list sni_domains 'discordapp.com'
|
|
||||||
list sni_domains 'discord.gg'
|
|
||||||
list sni_domains 'discordapp.net'
|
|
||||||
list sni_domains 'discord.media'
|
|
||||||
105
config_files/youtubeUnblockSecondDiscord
Normal file
105
config_files/youtubeUnblockSecondDiscord
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
|
||||||
|
config youtubeUnblock 'youtubeUnblock'
|
||||||
|
option conf_strat 'ui_flags'
|
||||||
|
option packet_mark '32768'
|
||||||
|
option queue_num '537'
|
||||||
|
option silent '1'
|
||||||
|
option no_ipv6 '1'
|
||||||
|
|
||||||
|
config section
|
||||||
|
option name 'Youtube'
|
||||||
|
option enabled '1'
|
||||||
|
option tls_enabled '1'
|
||||||
|
option fake_sni '1'
|
||||||
|
option faking_strategy 'pastseq'
|
||||||
|
option fake_sni_seq_len '1'
|
||||||
|
option fake_sni_type 'default'
|
||||||
|
option frag 'tcp'
|
||||||
|
option frag_sni_reverse '1'
|
||||||
|
option frag_sni_faked '0'
|
||||||
|
option frag_middle_sni '1'
|
||||||
|
option frag_sni_pos '1'
|
||||||
|
option seg2delay '0'
|
||||||
|
option fk_winsize '0'
|
||||||
|
option synfake '0'
|
||||||
|
option sni_detection 'parse'
|
||||||
|
option all_domains '0'
|
||||||
|
list sni_domains 'googlevideo.com'
|
||||||
|
list sni_domains 'ggpht.com'
|
||||||
|
list sni_domains 'ytimg.com'
|
||||||
|
list sni_domains 'youtube.com'
|
||||||
|
list sni_domains 'play.google.com'
|
||||||
|
list sni_domains 'youtu.be'
|
||||||
|
list sni_domains 'googleapis.com'
|
||||||
|
list sni_domains 'googleusercontent.com'
|
||||||
|
list sni_domains 'gstatic.com'
|
||||||
|
list sni_domains 'l.google.com'
|
||||||
|
option quic_drop '1'
|
||||||
|
|
||||||
|
config section
|
||||||
|
option name 'Discord'
|
||||||
|
option tls_enabled '1'
|
||||||
|
option fake_sni '1'
|
||||||
|
option faking_strategy 'pastseq'
|
||||||
|
option fake_sni_seq_len '1'
|
||||||
|
option fake_sni_type 'default'
|
||||||
|
option frag 'tcp'
|
||||||
|
option frag_sni_reverse '1'
|
||||||
|
option frag_sni_faked '0'
|
||||||
|
option frag_middle_sni '1'
|
||||||
|
option frag_sni_pos '1'
|
||||||
|
option seg2delay '0'
|
||||||
|
option fk_winsize '0'
|
||||||
|
option synfake '0'
|
||||||
|
option all_domains '0'
|
||||||
|
option sni_detection 'parse'
|
||||||
|
option quic_drop '0'
|
||||||
|
option udp_mode 'fake'
|
||||||
|
option udp_faking_strategy 'none'
|
||||||
|
option udp_fake_seq_len '6'
|
||||||
|
option udp_fake_len '64'
|
||||||
|
list udp_dport_filter '50000-50100 '
|
||||||
|
option udp_filter_quic 'disabled'
|
||||||
|
option enabled '1'
|
||||||
|
list sni_domains 'discord.com'
|
||||||
|
list sni_domains 'discordapp.com'
|
||||||
|
list sni_domains 'discord.gg'
|
||||||
|
list sni_domains 'discordapp.net'
|
||||||
|
list sni_domains 'discord.media'
|
||||||
|
|
||||||
|
config section
|
||||||
|
option name 'CallsWhatsAppTelegram'
|
||||||
|
option tls_enabled '0'
|
||||||
|
option all_domains '0'
|
||||||
|
list sni_domains 'cdn-telegram.org'
|
||||||
|
list sni_domains 'comments.app'
|
||||||
|
list sni_domains 'contest.com'
|
||||||
|
list sni_domains 'fragment.com'
|
||||||
|
list sni_domains 'graph.org'
|
||||||
|
list sni_domains 'quiz.directory'
|
||||||
|
list sni_domains 't.me'
|
||||||
|
list sni_domains 'tdesktop.com'
|
||||||
|
list sni_domains 'telega.one'
|
||||||
|
list sni_domains 'telegra.ph'
|
||||||
|
list sni_domains 'telegram-cdn.org'
|
||||||
|
list sni_domains 'telegram.dog'
|
||||||
|
list sni_domains 'telegram.me'
|
||||||
|
list sni_domains 'telegram.org'
|
||||||
|
list sni_domains 'telegram.space'
|
||||||
|
list sni_domains 'telesco.pe'
|
||||||
|
list sni_domains 'tg.dev'
|
||||||
|
list sni_domains 'tx.me'
|
||||||
|
list sni_domains 'usercontent.dev'
|
||||||
|
list sni_domains 'graph.facebook.com'
|
||||||
|
list sni_domains 'whatsapp.biz'
|
||||||
|
list sni_domains 'whatsapp.com'
|
||||||
|
list sni_domains 'whatsapp.net'
|
||||||
|
option sni_detection 'parse'
|
||||||
|
option quic_drop '0'
|
||||||
|
option udp_mode 'fake'
|
||||||
|
option udp_faking_strategy 'none'
|
||||||
|
option udp_fake_seq_len '6'
|
||||||
|
option udp_fake_len '64'
|
||||||
|
option udp_filter_quic 'disabled'
|
||||||
|
option enabled '1'
|
||||||
|
option udp_stun_filter '1'
|
||||||
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-app-podkop_0.4.7-r1_all.ipk
Normal file
BIN
podkop_packets/luci-app-podkop_0.4.7-r1_all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-app-podkop_v0.4.10-r1_all.ipk
Normal file
BIN
podkop_packets/luci-app-podkop_v0.4.10-r1_all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-app-podkop_v0.4.11-r1_all.ipk
Normal file
BIN
podkop_packets/luci-app-podkop_v0.4.11-r1_all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-app-podkop_v0.4.8-r1_all.ipk
Normal file
BIN
podkop_packets/luci-app-podkop_v0.4.8-r1_all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-i18n-podkop-ru_0.4.10.ipk
Normal file
BIN
podkop_packets/luci-i18n-podkop-ru_0.4.10.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-i18n-podkop-ru_0.4.11.ipk
Normal file
BIN
podkop_packets/luci-i18n-podkop-ru_0.4.11.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/luci-i18n-podkop-ru_0.4.7.ipk
Normal file
BIN
podkop_packets/luci-i18n-podkop-ru_0.4.7.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-i18n-podkop-ru_0.4.8.ipk
Normal file
BIN
podkop_packets/luci-i18n-podkop-ru_0.4.8.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.
BIN
podkop_packets/podkop_0.4.7-r1_all.ipk
Normal file
BIN
podkop_packets/podkop_0.4.7-r1_all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/podkop_v0.4.10-r1_all.ipk
Normal file
BIN
podkop_packets/podkop_v0.4.10-r1_all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/podkop_v0.4.11-r1_all.ipk
Normal file
BIN
podkop_packets/podkop_v0.4.11-r1_all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/podkop_v0.4.8-r1_all.ipk
Normal file
BIN
podkop_packets/podkop_v0.4.8-r1_all.ipk
Normal file
Binary file not shown.
16
run_universal_config.sh
Normal file
16
run_universal_config.sh
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
DESCRIPTION=$(ubus call system board | jsonfilter -e '@.release.description')
|
||||||
|
VERSION=$(ubus call system board | jsonfilter -e '@.release.version')
|
||||||
|
findKey="RouteRich"
|
||||||
|
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/beta_alt_test/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/beta_alt_test/universal_config.sh && chmod +x /tmp/universal_config.sh && /tmp/universal_config.sh $1 $2
|
||||||
|
fi
|
||||||
@@ -120,39 +120,25 @@ manage_package() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkPackageAndInstall()
|
||||||
checkPackageAndInstall() {
|
{
|
||||||
local name="$1"
|
local name="$1"
|
||||||
local isRequired="$2"
|
local isRequried="$2"
|
||||||
local alt=""
|
#проверяем установлени ли библиотека $name
|
||||||
|
if opkg list-installed | grep -q $name; then
|
||||||
if [ "$name" = "https-dns-proxy" ]; then
|
echo "$name already installed..."
|
||||||
alt="luci-app-doh-proxy"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "$alt" ]; then
|
|
||||||
if opkg list-installed | grep -qE "^($name|$alt) "; then
|
|
||||||
echo "$name or $alt already installed..."
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
if opkg list-installed | grep -q "^$name "; then
|
echo "$name not installed. Installed $name..."
|
||||||
echo "$name already installed..."
|
opkg install $name
|
||||||
return 0
|
res=$?
|
||||||
fi
|
if [ "$isRequried" = "1" ]; then
|
||||||
fi
|
if [ $res -eq 0 ]; then
|
||||||
|
echo "$name insalled successfully"
|
||||||
echo "$name not installed. Installing $name..."
|
else
|
||||||
opkg install "$name"
|
echo "Error installing $name. Please, install $name manually and run the script again"
|
||||||
res=$?
|
exit 1
|
||||||
|
fi
|
||||||
if [ "$isRequired" = "1" ]; then
|
fi
|
||||||
if [ $res -eq 0 ]; then
|
|
||||||
echo "$name installed successfully"
|
|
||||||
else
|
|
||||||
echo "Error installing $name. Please, install $name manually$( [ -n "$alt" ] && echo " or $alt") and run the script again."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -295,10 +281,98 @@ checkAndAddDomainPermanentName()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
byPassGeoBlockComssDNS()
|
||||||
|
{
|
||||||
|
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..."
|
||||||
|
|
||||||
|
checkAndAddDomainPermanentName "chatgpt.com" "83.220.169.155"
|
||||||
|
checkAndAddDomainPermanentName "openai.com" "83.220.169.155"
|
||||||
|
checkAndAddDomainPermanentName "webrtc.chatgpt.com" "83.220.169.155"
|
||||||
|
checkAndAddDomainPermanentName "ios.chat.openai.com" "83.220.169.155"
|
||||||
|
checkAndAddDomainPermanentName "searchgpt.com" "83.220.169.155"
|
||||||
|
|
||||||
|
service dnsmasq restart
|
||||||
|
service odhcpd restart
|
||||||
|
}
|
||||||
|
|
||||||
|
deleteByPassGeoBlockComssDNS()
|
||||||
|
{
|
||||||
|
uci del dhcp.cfg01411c.server
|
||||||
|
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'
|
||||||
|
while uci del dhcp.@domain[-1] ; do : ; done;
|
||||||
|
uci commit dhcp
|
||||||
|
service dnsmasq restart
|
||||||
|
service odhcpd restart
|
||||||
|
service https-dns-proxy restart
|
||||||
|
}
|
||||||
|
|
||||||
install_youtubeunblock_packages() {
|
install_youtubeunblock_packages() {
|
||||||
PKGARCH=$(opkg print-architecture | awk 'BEGIN {max=0} {if ($3 > max) {max = $3; arch = $2}} END {print arch}')
|
PKGARCH=$(opkg print-architecture | awk 'BEGIN {max=0} {if ($3 > max) {max = $3; arch = $2}} END {print arch}')
|
||||||
VERSION=$(ubus call system board | jsonfilter -e '@.release.version')
|
VERSION=$(ubus call system board | jsonfilter -e '@.release.version')
|
||||||
BASE_URL="https://github.com/Waujito/youtubeUnblock/releases/download/v1.0.0/"
|
BASE_URL="https://github.com/Waujito/youtubeUnblock/releases/download/v1.1.0/"
|
||||||
PACK_NAME="youtubeUnblock"
|
PACK_NAME="youtubeUnblock"
|
||||||
|
|
||||||
AWG_DIR="/tmp/$PACK_NAME"
|
AWG_DIR="/tmp/$PACK_NAME"
|
||||||
@@ -326,7 +400,7 @@ install_youtubeunblock_packages() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
YOUTUBEUNBLOCK_FILENAME="youtubeUnblock-1.0.0-10-f37c3dd-${PKGARCH}-openwrt-23.05.ipk"
|
YOUTUBEUNBLOCK_FILENAME="youtubeUnblock-1.1.0-2-2d579d5-${PKGARCH}-openwrt-23.05.ipk"
|
||||||
DOWNLOAD_URL="${BASE_URL}${YOUTUBEUNBLOCK_FILENAME}"
|
DOWNLOAD_URL="${BASE_URL}${YOUTUBEUNBLOCK_FILENAME}"
|
||||||
echo $DOWNLOAD_URL
|
echo $DOWNLOAD_URL
|
||||||
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
|
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
|
||||||
@@ -353,7 +427,7 @@ install_youtubeunblock_packages() {
|
|||||||
echo "$PACK_NAME already installed"
|
echo "$PACK_NAME already installed"
|
||||||
else
|
else
|
||||||
PACK_NAME="luci-app-youtubeUnblock"
|
PACK_NAME="luci-app-youtubeUnblock"
|
||||||
YOUTUBEUNBLOCK_FILENAME="luci-app-youtubeUnblock-1.0.0-10-f37c3dd.ipk"
|
YOUTUBEUNBLOCK_FILENAME="luci-app-youtubeUnblock-1.1.0-1-473af29.ipk"
|
||||||
DOWNLOAD_URL="${BASE_URL}${YOUTUBEUNBLOCK_FILENAME}"
|
DOWNLOAD_URL="${BASE_URL}${YOUTUBEUNBLOCK_FILENAME}"
|
||||||
echo $DOWNLOAD_URL
|
echo $DOWNLOAD_URL
|
||||||
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
|
wget -O "$AWG_DIR/$YOUTUBEUNBLOCK_FILENAME" "$DOWNLOAD_URL"
|
||||||
@@ -378,6 +452,19 @@ install_youtubeunblock_packages() {
|
|||||||
rm -rf "$AWG_DIR"
|
rm -rf "$AWG_DIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ "$1" = "y" ] || [ "$1" = "Y" ]
|
||||||
|
then
|
||||||
|
is_manual_input_parameters="y"
|
||||||
|
else
|
||||||
|
is_manual_input_parameters="n"
|
||||||
|
fi
|
||||||
|
if [ "$2" = "y" ] || [ "$2" = "Y" ] || [ "$2" = "" ]
|
||||||
|
then
|
||||||
|
is_reconfig_podkop="y"
|
||||||
|
else
|
||||||
|
is_reconfig_podkop="n"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Update list packages..."
|
echo "Update list packages..."
|
||||||
opkg update
|
opkg update
|
||||||
|
|
||||||
@@ -393,6 +480,8 @@ checkPackageAndInstall "jq" "1"
|
|||||||
checkPackageAndInstall "curl" "1"
|
checkPackageAndInstall "curl" "1"
|
||||||
checkPackageAndInstall "unzip" "1"
|
checkPackageAndInstall "unzip" "1"
|
||||||
#checkPackageAndInstall "sing-box" "1"
|
#checkPackageAndInstall "sing-box" "1"
|
||||||
|
checkPackageAndInstall "opera-proxy" "1"
|
||||||
|
checkPackageAndInstall "youtubeUnblock" "1"
|
||||||
|
|
||||||
###########
|
###########
|
||||||
manage_package "podkop" "enable" "stop"
|
manage_package "podkop" "enable" "stop"
|
||||||
@@ -434,6 +523,10 @@ if [ -z "$INSTALLED_VERSION" ]; then
|
|||||||
fi
|
fi
|
||||||
###########
|
###########
|
||||||
|
|
||||||
|
opkg upgrade youtubeUnblock
|
||||||
|
opkg upgrade luci-app-youtubeUnblock
|
||||||
|
manage_package "youtubeUnblock" "enable" "start"
|
||||||
|
|
||||||
#проверяем установлени ли пакет dnsmasq-full
|
#проверяем установлени ли пакет dnsmasq-full
|
||||||
if opkg list-installed | grep -q dnsmasq-full; then
|
if opkg list-installed | grep -q dnsmasq-full; then
|
||||||
echo "dnsmasq-full already installed..."
|
echo "dnsmasq-full already installed..."
|
||||||
@@ -456,7 +549,7 @@ firewall
|
|||||||
https-dns-proxy
|
https-dns-proxy
|
||||||
youtubeUnblock
|
youtubeUnblock
|
||||||
dhcp"
|
dhcp"
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/main"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt_test"
|
||||||
|
|
||||||
checkPackageAndInstall "https-dns-proxy" "0"
|
checkPackageAndInstall "https-dns-proxy" "0"
|
||||||
|
|
||||||
@@ -485,48 +578,44 @@ uci set dhcp.cfg01411c.strictorder='1'
|
|||||||
uci set dhcp.cfg01411c.filter_aaaa='1'
|
uci set dhcp.cfg01411c.filter_aaaa='1'
|
||||||
uci commit dhcp
|
uci commit dhcp
|
||||||
|
|
||||||
echo "Install opera-proxy client..."
|
|
||||||
service stop vpn > /dev/null
|
|
||||||
rm -f /usr/bin/vpns /etc/init.d/vpn
|
|
||||||
|
|
||||||
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 "Downloading opera-proxy..."
|
|
||||||
wget "$url" -O "$destination_file" || { echo "Failed to download the file"; exit 1; }
|
|
||||||
echo "Installing opera-proxy..."
|
|
||||||
opkg install $destination_file
|
|
||||||
|
|
||||||
cat <<EOF > /etc/sing-box/config.json
|
cat <<EOF > /etc/sing-box/config.json
|
||||||
{
|
{
|
||||||
"log": {
|
"log": {
|
||||||
"disabled": true,
|
"disabled": true,
|
||||||
"level": "error"
|
"level": "error"
|
||||||
},
|
},
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
{
|
{
|
||||||
"type": "tproxy",
|
"type": "tproxy",
|
||||||
"listen": "::",
|
"listen": "::",
|
||||||
"listen_port": 1100,
|
"listen_port": 1100,
|
||||||
"sniff": false
|
"sniff": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"type": "http",
|
"type": "http",
|
||||||
"server": "127.0.0.1",
|
"server": "127.0.0.1",
|
||||||
"server_port": 18080
|
"server_port": 18080
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"route": {
|
"route": {
|
||||||
"auto_detect_interface": true
|
"auto_detect_interface": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "Setting sing-box..."
|
echo "Setting sing-box..."
|
||||||
uci set sing-box.main.enabled='1'
|
uci set sing-box.main.enabled='1'
|
||||||
uci set sing-box.main.user='root'
|
uci set sing-box.main.user='root'
|
||||||
|
uci add_list sing-box.main.ifaces='wan'
|
||||||
|
uci add_list sing-box.main.ifaces='wan2'
|
||||||
|
uci add_list sing-box.main.ifaces='wan6'
|
||||||
|
uci add_list sing-box.main.ifaces='wwan'
|
||||||
|
uci add_list sing-box.main.ifaces='wwan0'
|
||||||
|
uci add_list sing-box.main.ifaces='modem'
|
||||||
|
uci add_list sing-box.main.ifaces='l2tp'
|
||||||
|
uci add_list sing-box.main.ifaces='pptp'
|
||||||
uci commit sing-box
|
uci commit sing-box
|
||||||
|
|
||||||
nameRule="option name 'Block_UDP_443'"
|
nameRule="option name 'Block_UDP_443'"
|
||||||
@@ -552,10 +641,59 @@ then
|
|||||||
uci commit firewall
|
uci commit firewall
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\033[32;1mAutomatic generate config AmneziaWG WARP (n) or manual input parameters for AmneziaWG (y)...\033[0m\n"
|
printf "\033[32;1mCheck work youtubeUnblock..\033[0m\n"
|
||||||
|
#install_youtubeunblock_packages
|
||||||
|
opkg upgrade youtubeUnblock
|
||||||
|
opkg upgrade luci-app-youtubeUnblock
|
||||||
|
manage_package "youtubeUnblock" "enable" "start"
|
||||||
|
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecond"
|
||||||
|
manage_package "podkop" "enable" "stop"
|
||||||
|
service youtubeUnblock restart
|
||||||
|
|
||||||
|
isWorkYoutubeUnBlock=0
|
||||||
|
|
||||||
|
curl -f -o /dev/null -k --connect-to ::google.com -L -H "Host: mirror.gcr.io" --max-time 360 https://test.googlevideo.com/v2/cimg/android/blobs/sha256:6fd8bdac3da660bde7bd0b6f2b6a46e1b686afb74b9a4614def32532b73f5eaa
|
||||||
|
|
||||||
|
# Проверяем код выхода
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
printf "\033[32;1myoutubeUnblock well work...\033[0m\n"
|
||||||
|
cronTask="0 4 * * * service youtubeUnblock restart"
|
||||||
|
str=$(grep -i "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root)
|
||||||
|
if [ -z "$str" ]
|
||||||
|
then
|
||||||
|
echo "Add cron task auto reboot service youtubeUnblock..."
|
||||||
|
echo "$cronTask" >> /etc/crontabs/root
|
||||||
|
fi
|
||||||
|
isWorkYoutubeUnBlock=1
|
||||||
|
else
|
||||||
|
manage_package "youtubeUnblock" "disable" "stop"
|
||||||
|
printf "\033[32;1myoutubeUnblock not work...\033[0m\n"
|
||||||
|
isWorkYoutubeUnBlock=0
|
||||||
|
str=$(grep -i "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root)
|
||||||
|
if [ ! -z "$str" ]
|
||||||
|
then
|
||||||
|
grep -v "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root > /etc/crontabs/temp
|
||||||
|
cp -f "/etc/crontabs/temp" "/etc/crontabs/root"
|
||||||
|
rm -f "/etc/crontabs/temp"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
isWorkOperaProxy=0
|
||||||
|
printf "\033[32;1mCheck opera proxy...\033[0m\n"
|
||||||
|
service sing-box restart
|
||||||
|
sing-box tools fetch ifconfig.co -D /etc/sing-box/
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
printf "\033[32;1mOpera proxy well work...\033[0m\n"
|
||||||
|
isWorkOperaProxy=1
|
||||||
|
else
|
||||||
|
printf "\033[32;1mOpera proxy not work...\033[0m\n"
|
||||||
|
isWorkOperaProxy=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
#printf "\033[32;1mAutomatic generate config AmneziaWG WARP (n) or manual input parameters for AmneziaWG (y)...\033[0m\n"
|
||||||
countRepeatAWGGen=2
|
countRepeatAWGGen=2
|
||||||
echo "Input manual parameters AmneziaWG? (y/n): "
|
#echo "Input manual parameters AmneziaWG? (y/n): "
|
||||||
read is_manual_input_parameters
|
#read is_manual_input_parameters
|
||||||
currIter=0
|
currIter=0
|
||||||
isExit=0
|
isExit=0
|
||||||
while [ $currIter -lt $countRepeatAWGGen ] && [ "$isExit" = "0" ]
|
while [ $currIter -lt $countRepeatAWGGen ] && [ "$isExit" = "0" ]
|
||||||
@@ -763,38 +901,43 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
varByPass=0
|
varByPass=0
|
||||||
|
isWorkWARP=0
|
||||||
|
|
||||||
if [ "$isExit" = "1" ]
|
if [ "$isExit" = "1" ]
|
||||||
then
|
then
|
||||||
printf "\033[32;1mAWG WARP well work...\033[0m\n"
|
printf "\033[32;1mAWG WARP well work...\033[0m\n"
|
||||||
varByPass=1
|
isWorkWARP=1
|
||||||
else
|
else
|
||||||
printf "\033[32;1mAWG WARP not work...Try work youtubeunblock...Please wait...\033[0m\n"
|
printf "\033[32;1mAWG WARP not work.....Try opera proxy...\033[0m\n"
|
||||||
install_youtubeunblock_packages
|
isWorkWARP=0
|
||||||
opkg upgrade youtubeUnblock
|
fi
|
||||||
opkg upgrade luci-app-youtubeUnblock
|
|
||||||
manage_package "youtubeUnblock" "enable" "start"
|
|
||||||
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecond"
|
|
||||||
service youtubeUnblock restart
|
|
||||||
curl -f -o /dev/null -k --connect-to ::google.com -L -H "Host: mirror.gcr.io" --max-time 360 https://test.googlevideo.com/v2/cimg/android/blobs/sha256:6fd8bdac3da660bde7bd0b6f2b6a46e1b686afb74b9a4614def32532b73f5eaa
|
|
||||||
|
|
||||||
# Проверяем код выхода
|
echo "isWorkYoutubeUnBlock = $isWorkYoutubeUnBlock, isWorkOperaProxy = $isWorkOperaProxy, isWorkWARP = $isWorkWARP"
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
printf "\033[32;1myoutubeUnblock well work...\033[0m\n"
|
if [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "1" ]
|
||||||
varByPass=2
|
then
|
||||||
else
|
varByPass=1
|
||||||
manage_package "youtubeUnblock" "disable" "stop"
|
elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "1" ]
|
||||||
printf "\033[32;1myoutubeUnblock not work...Try opera proxy...\033[0m\n"
|
then
|
||||||
service sing-box restart
|
varByPass=2
|
||||||
sing-box tools fetch ifconfig.co -D /etc/sing-box/
|
elif [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "0" ]
|
||||||
if [ $? -eq 0 ]; then
|
then
|
||||||
printf "\033[32;1mOpera proxy well work...\033[0m\n"
|
varByPass=3
|
||||||
varByPass=3
|
elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "1" ] && [ "$isWorkWARP" = "0" ]
|
||||||
else
|
then
|
||||||
printf "\033[32;1mOpera proxy not work...Try custom settings router to bypass the locks... Recomendation buy 'VPS' and up 'vless'\033[0m\n"
|
varByPass=4
|
||||||
exit 1
|
elif [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "0" ] && [ "$isWorkWARP" = "0" ]
|
||||||
fi
|
then
|
||||||
fi
|
varByPass=5
|
||||||
|
elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "0" ] && [ "$isWorkWARP" = "1" ]
|
||||||
|
then
|
||||||
|
varByPass=6
|
||||||
|
elif [ "$isWorkYoutubeUnBlock" = "1" ] && [ "$isWorkOperaProxy" = "0" ] && [ "$isWorkWARP" = "1" ]
|
||||||
|
then
|
||||||
|
varByPass=7
|
||||||
|
elif [ "$isWorkYoutubeUnBlock" = "0" ] && [ "$isWorkOperaProxy" = "0" ] && [ "$isWorkWARP" = "0" ]
|
||||||
|
then
|
||||||
|
varByPass=8
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\033[32;1mRestart service dnsmasq, odhcpd...\033[0m\n"
|
printf "\033[32;1mRestart service dnsmasq, odhcpd...\033[0m\n"
|
||||||
@@ -803,28 +946,80 @@ 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/main"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt_test"
|
||||||
|
|
||||||
|
messageComplete=""
|
||||||
|
|
||||||
case $varByPass in
|
case $varByPass in
|
||||||
1)
|
1)
|
||||||
|
nameFileReplacePodkop="podkopNoYoutube"
|
||||||
|
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
|
||||||
|
manage_package "ruantiblock" "disable" "stop"
|
||||||
|
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecond"
|
||||||
|
service youtubeUnblock restart
|
||||||
|
deleteByPassGeoBlockComssDNS
|
||||||
|
messageComplete="ByPass block for Method 1: AWG WARP + youtubeunblock + Opera Proxy...Configured completed..."
|
||||||
|
;;
|
||||||
|
2)
|
||||||
nameFileReplacePodkop="podkop"
|
nameFileReplacePodkop="podkop"
|
||||||
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
||||||
manage_package "youtubeUnblock" "disable" "stop"
|
manage_package "youtubeUnblock" "disable" "stop"
|
||||||
manage_package "ruantiblock" "disable" "stop"
|
manage_package "ruantiblock" "disable" "stop"
|
||||||
|
deleteByPassGeoBlockComssDNS
|
||||||
|
messageComplete="ByPass block for Method 2: AWG WARP + Opera Proxy...Configured completed..."
|
||||||
;;
|
;;
|
||||||
2)
|
3)
|
||||||
nameFileReplacePodkop="podkopSecond"
|
nameFileReplacePodkop="podkopSecond"
|
||||||
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
|
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
|
||||||
manage_package "ruantiblock" "disable" "stop"
|
manage_package "ruantiblock" "disable" "stop"
|
||||||
|
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecondDiscord"
|
||||||
|
service youtubeUnblock restart
|
||||||
|
deleteByPassGeoBlockComssDNS
|
||||||
|
messageComplete="ByPass block for Method 3: youtubeUnblock + Opera Proxy...Configured completed..."
|
||||||
;;
|
;;
|
||||||
3)
|
4)
|
||||||
nameFileReplacePodkop="podkopSecondYoutube"
|
nameFileReplacePodkop="podkopSecondYoutube"
|
||||||
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
||||||
manage_package "youtubeUnblock" "disable" "stop"
|
manage_package "youtubeUnblock" "disable" "stop"
|
||||||
manage_package "ruantiblock" "disable" "stop"
|
manage_package "ruantiblock" "disable" "stop"
|
||||||
|
deleteByPassGeoBlockComssDNS
|
||||||
|
messageComplete="ByPass block for Method 4: Only Opera Proxy...Configured completed..."
|
||||||
|
;;
|
||||||
|
5)
|
||||||
|
nameFileReplacePodkop="podkopSecondYoutube"
|
||||||
|
printf "\033[32;1mStop and disabled service 'ruantiblock' and 'podkop'...\033[0m\n"
|
||||||
|
manage_package "ruantiblock" "disable" "stop"
|
||||||
|
manage_package "podkop" "disable" "stop"
|
||||||
|
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblock"
|
||||||
|
service youtubeUnblock restart
|
||||||
|
byPassGeoBlockComssDNS
|
||||||
|
printf "\033[32;1mByPass block for Method 5: youtubeUnblock + ComssDNS for GeoBlock...Configured completed...\033[0m\n"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
6)
|
||||||
|
nameFileReplacePodkop="podkopWARP"
|
||||||
|
printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'...\033[0m\n"
|
||||||
|
manage_package "youtubeUnblock" "disable" "stop"
|
||||||
|
manage_package "ruantiblock" "disable" "stop"
|
||||||
|
byPassGeoBlockComssDNS
|
||||||
|
messageComplete="ByPass block for Method 6: AWG WARP + ComssDNS for GeoBlock...Configured completed..."
|
||||||
|
;;
|
||||||
|
7)
|
||||||
|
nameFileReplacePodkop="podkopWARPNoYoutube"
|
||||||
|
printf "\033[32;1mStop and disabled service 'ruantiblock'...\033[0m\n"
|
||||||
|
manage_package "ruantiblock" "disable" "stop"
|
||||||
|
wget -O "/etc/config/youtubeUnblock" "$URL/config_files/youtubeUnblockSecond"
|
||||||
|
service youtubeUnblock restart
|
||||||
|
byPassGeoBlockComssDNS
|
||||||
|
messageComplete="ByPass block for Method 7: AWG WARP + youtubeUnblock + ComssDNS for GeoBlock...Configured completed..."
|
||||||
|
;;
|
||||||
|
8)
|
||||||
|
printf "\033[32;1mTry custom settings router to bypass the locks... Recomendation buy 'VPS' and up 'vless'\033[0m\n"
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
nameFileReplacePodkop="podkop"
|
echo "Unknown error. Please send message in group Telegram t.me/routerich"
|
||||||
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
PACKAGE="podkop"
|
PACKAGE="podkop"
|
||||||
@@ -837,9 +1032,9 @@ if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION"
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
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"
|
||||||
is_reconfig_podkop="y"
|
#is_reconfig_podkop="y"
|
||||||
read is_reconfig_podkop
|
#read is_reconfig_podkop
|
||||||
if [ "$is_reconfig_podkop" = "y" ] || [ "$is_reconfig_podkop" = "Y" ]; then
|
if [ "$is_reconfig_podkop" = "y" ] || [ "$is_reconfig_podkop" = "Y" ]; then
|
||||||
cp -f "$path_podkop_config" "$path_podkop_config_backup"
|
cp -f "$path_podkop_config" "$path_podkop_config_backup"
|
||||||
wget -O "$path_podkop_config" "$URL/config_files/$nameFileReplacePodkop"
|
wget -O "$path_podkop_config" "$URL/config_files/$nameFileReplacePodkop"
|
||||||
@@ -847,9 +1042,9 @@ if [ -f "/etc/init.d/podkop" ]; then
|
|||||||
echo "Podkop reconfigured..."
|
echo "Podkop reconfigured..."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
printf "\033[32;1mInstall and configure PODKOP (a tool for point routing of traffic)?? (y/n): \033[0m\n"
|
#printf "\033[32;1mInstall and configure PODKOP (a tool for point routing of traffic)?? (y/n): \033[0m\n"
|
||||||
is_install_podkop="y"
|
is_install_podkop="y"
|
||||||
read is_install_podkop
|
#read is_install_podkop
|
||||||
|
|
||||||
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
|
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
|
||||||
DOWNLOAD_DIR="/tmp/podkop"
|
DOWNLOAD_DIR="/tmp/podkop"
|
||||||
@@ -899,4 +1094,4 @@ service sing-box restart
|
|||||||
service podkop enable
|
service podkop enable
|
||||||
service podkop restart
|
service podkop restart
|
||||||
|
|
||||||
printf "\033[32;1mConfigured completed...\033[0m\n"
|
printf "\033[32;1m$messageComplete\033[0m\n"
|
||||||
1113
universal_config_new_podkop.sh
Normal file
1113
universal_config_new_podkop.sh
Normal file
File diff suppressed because it is too large
Load Diff
68
warp6.sh
68
warp6.sh
@@ -1,68 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
HASH='68747470733a2f2f73616e74612d61746d6f2e72752f776172702f776172702e706870'
|
|
||||||
COMPILE=$(printf '%b' "$(printf '%s\n' "$HASH" | sed 's/../\\x&/g')")
|
|
||||||
response=$(curl -s "$COMPILE")
|
|
||||||
|
|
||||||
PRIVATE_KEY=$(echo "$response" | jq -r '.result.key')
|
|
||||||
PUBLIC_KEY=$(echo "$response" | jq -r '.result.config.peers[0].public_key')
|
|
||||||
IPV6=$(echo "$response" | jq -r '.result.config.interface.addresses.v6')/128
|
|
||||||
HOST=$(echo "$response" | jq -r '.result.config.peers[0].endpoint.host')
|
|
||||||
#ENDPOINT_DOMAIN=$(echo "$HOST" | awk -F: '{print $1}')
|
|
||||||
#ENDPOINT_PORT=$(echo "$HOST" | awk -F: '{print $2}')
|
|
||||||
ENDPOINT_DOMAIN="188.114.96.1"
|
|
||||||
ENDPOINT_PORT="500"
|
|
||||||
|
|
||||||
for var in PRIVATE_KEY IPV6 ENDPOINT_DOMAIN ENDPOINT_PORT PUBLIC_KEY; do
|
|
||||||
eval val=\$$var
|
|
||||||
if [ -z "$val" ]; then
|
|
||||||
echo "Error: variable $var is empty, aborting" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
uci -q del network.wan6
|
|
||||||
uci -q del network.@amneziawg_wan6[0]
|
|
||||||
uci -q commit network
|
|
||||||
|
|
||||||
I1="<b 0xc70000000108ce1bf31eec7d93360000449e227e4596ed7f75c4d35ce31880b4133107c822c6355b51f0d7c1bba96d5c210a48aca01885fed0871cfc37d59137d73b506dc013bb4a13c060ca5b04b7ae215af71e37d6e8ff1db235f9fe0c25cb8b492471054a7c8d0d6077d430d07f6e87a8699287f6e69f54263c7334a8e144a29851429bf2e350e519445172d36953e96085110ce1fb641e5efad42c0feb4711ece959b72cc4d6f3c1e83251adb572b921534f6ac4b10927167f41fe50040a75acef62f45bded67c0b45b9d655ce374589cad6f568b8475b2e8921ff98628f86ff2eb5bcce6f3ddb7dc89e37c5b5e78ddc8d93a58896e530b5f9f1448ab3b7a1d1f24a63bf981634f6183a21af310ffa52e9ddf5521561760288669de01a5f2f1a4f922e68d0592026bbe4329b654d4f5d6ace4f6a23b8560b720a5350691c0037b10acfac9726add44e7d3e880ee6f3b0d6429ff33655c297fee786bb5ac032e48d2062cd45e305e6d8d8b82bfbf0fdbc5ec09943d1ad02b0b5868ac4b24bb10255196be883562c35a713002014016b8cc5224768b3d330016cf8ed9300fe6bf39b4b19b3667cddc6e7c7ebe4437a58862606a2a66bd4184b09ab9d2cd3d3faed4d2ab71dd821422a9540c4c5fa2a9b2e6693d411a22854a8e541ed930796521f03a54254074bc4c5bca152a1723260e7d70a24d49720acc544b41359cfc252385bda7de7d05878ac0ea0343c77715e145160e6562161dfe2024846dfda3ce99068817a2418e66e4f37dea40a21251c8a034f83145071d93baadf050ca0f95dc9ce2338fb082d64fbc8faba905cec66e65c0e1f9b003c32c943381282d4ab09bef9b6813ff3ff5118623d2617867e25f0601df583c3ac51bc6303f79e68d8f8de4b8363ec9c7728b3ec5fcd5274edfca2a42f2727aa223c557afb33f5bea4f64aeb252c0150ed734d4d8eccb257824e8e090f65029a3a042a51e5cc8767408ae07d55da8507e4d009ae72c47ddb138df3cab6cc023df2532f88fb5a4c4bd917fafde0f3134be09231c389c70bc55cb95a779615e8e0a76a2b4d943aabfde0e394c985c0cb0376930f92c5b6998ef49ff4a13652b787503f55c4e3d8eebd6e1bc6db3a6d405d8405bd7a8db7cefc64d16e0d105a468f3d33d29e5744a24c4ac43ce0eb1bf6b559aed520b91108cda2de6e2c4f14bc4f4dc58712580e07d217c8cca1aaf7ac04bab3e7b1008b966f1ed4fba3fd93a0a9d3a27127e7aa587fbcc60d548300146bdc126982a58ff5342fc41a43f83a3d2722a26645bc961894e339b953e78ab395ff2fb854247ad06d446cc2944a1aefb90573115dc198f5c1efbc22bc6d7a74e41e666a643d5f85f57fde81b87ceff95353d22ae8bab11684180dd142642894d8dc34e402f802c2fd4a73508ca99124e428d67437c871dd96e506ffc39c0fc401f666b437adca41fd563cbcfd0fa22fbbf8112979c4e677fb533d981745cceed0fe96da6cc0593c430bbb71bcbf924f70b4547b0bb4d41c94a09a9ef1147935a5c75bb2f721fbd24ea6a9f5c9331187490ffa6d4e34e6bb30c2c54a0344724f01088fb2751a486f425362741664efb287bce66c4a544c96fa8b124d3c6b9eaca170c0b530799a6e878a57f402eb0016cf2689d55c76b2a91285e2273763f3afc5bc9398273f5338a06d>"
|
|
||||||
|
|
||||||
uci -q set network.wan6=interface
|
|
||||||
uci -q set network.wan6.proto="amneziawg"
|
|
||||||
uci -q set network.wan6.nohostroute="1"
|
|
||||||
uci -q set network.wan6.private_key="$PRIVATE_KEY"
|
|
||||||
uci -q set network.wan6.addresses="$IPV6"
|
|
||||||
uci -q set network.wan6.awg_jc="4"
|
|
||||||
uci -q set network.wan6.awg_jmin="40"
|
|
||||||
uci -q set network.wan6.awg_jmax="70"
|
|
||||||
uci -q set network.wan6.awg_s1="0"
|
|
||||||
uci -q set network.wan6.awg_s2="0"
|
|
||||||
uci -q set network.wan6.awg_h1="1"
|
|
||||||
uci -q set network.wan6.awg_h2="2"
|
|
||||||
uci -q set network.wan6.awg_h3="3"
|
|
||||||
uci -q set network.wan6.awg_h4="4"
|
|
||||||
uci -q set network.wan6.awg_i1="$I1"
|
|
||||||
uci -q set network.@amneziawg_wan6[0]=amneziawg
|
|
||||||
|
|
||||||
uci -q add network amneziawg_wan6 >/dev/null 2>&1
|
|
||||||
uci -q set network.@amneziawg_wan6[0]=amneziawg_wan6
|
|
||||||
uci -q set network.@amneziawg_wan6[0].description="wan6"
|
|
||||||
uci -q set network.@amneziawg_wan6[0].endpoint_host="$ENDPOINT_DOMAIN"
|
|
||||||
uci -q set network.@amneziawg_wan6[0].endpoint_port="$ENDPOINT_PORT"
|
|
||||||
uci -q set network.@amneziawg_wan6[0].public_key="$PUBLIC_KEY"
|
|
||||||
uci -q set network.@amneziawg_wan6[0].persistent_keepalive="25"
|
|
||||||
uci -q set network.@amneziawg_wan6[0].route_allowed_ips="1"
|
|
||||||
uci -q set network.@amneziawg_wan6[0].allowed_ips="::/0"
|
|
||||||
uci -q commit network
|
|
||||||
|
|
||||||
ifup wan6
|
|
||||||
|
|
||||||
uci -q set dhcp.lan.ra_default="1"
|
|
||||||
uci -q commit dhcp
|
|
||||||
service odhcpd restart
|
|
||||||
|
|
||||||
uci -q set firewall.@zone[1].masq6="1"
|
|
||||||
uci -q commit firewall
|
|
||||||
service firewall restart
|
|
||||||
|
|
||||||
rm -f "$TMP_JSON" "$TMP_CONF"
|
|
||||||
Reference in New Issue
Block a user