mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-14 14:40:58 +00:00
Updated Установка и настройка https‑dns‑proxy (markdown)
@@ -16,22 +16,9 @@
|
||||
uci commit network
|
||||
|
||||
|
||||
**3. Перехват DNS-трафика клиентов:**
|
||||
|
||||
Дополнительно, можно добавить правило файервола для перехвата из локальной сети трафика клиентов, которые используют сторонние DNS-серверы (различные мобильные приложения и пр.).
|
||||
|
||||
uci add firewall redirect
|
||||
uci set firewall.@redirect[-1].src="lan"
|
||||
uci set firewall.@redirect[-1].src_dport="53"
|
||||
uci set firewall.@redirect[-1].target="DNAT"
|
||||
uci set firewall.@redirect[-1].dest_ip="`uci get network.lan.ipaddr|sed 's-/.*$--'`"
|
||||
uci set firewall.@redirect[-1].name="dnsproxy-dns-leaks"
|
||||
uci commit firewall
|
||||
|
||||
|
||||
**4. Перезагрузка роутера.**
|
||||
**3. Перезагрузка роутера.**
|
||||
|
||||
После перезагрузки можно проверить работоспособность https-dns-proxy здесь: [https://dnsleaktest.com](https://dnsleaktest.com).
|
||||
|
||||
|
||||
Раздел https-dns-proxy в руководстве OpenWrt: https://openwrt.org/docs/guide-user/services/dns/doh_dnsmasq_https-dns-proxy.
|
||||
Раздел https-dns-proxy в руководстве OpenWrt: https://openwrt.org/docs/guide-user/services/dns/doh_dnsmasq_https-dns-proxy.
|
||||
|
||||
Reference in New Issue
Block a user