We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

2

Add allowed hosts to /etc/hosts and define these firewall rules to block any outgoing DNS queries on standard UDP port 53: ~# iptables -I OUTPUT -p udp --dport 53 -j REJECT * May also use less rude DROP target in place of REJECT To be on safe side also block TCP port: ~# iptables -I OUTPUT -p tcp --dport 53 -j REJECT iptables is part of stock Android ...


0

An answered by @p057 you need to set proxy in Wi-Fi settings on your phone. The reason is that hotspot network (AP or ad-hoc) cannot be configured to use proxy. Proxy is used on per-connection basis by apps themselves. It's not enforced system-wide. For details see Why proxy set on Android does not work when used as hotspot?


Top 50 recent answers are included