by forapurpose · 8y ago · 0 comments
As one simple issue, I'm pretty sure Android uses Google's DNS and that is hard to change.
Sorry to be vague; I wish I had more details but don't have time to look them up right now. The basic message is: It's not sufficient, depending on your goals. to rely on settings in the GUI and to avoid Google applications.
Example usage:
iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 1.2.3.4
iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 1.2.3.4I'm pretty sure it runs the DNS you specify though your ISP might mangle the packets to their own DNS (Vodafone NL used to do this and also tunnel HTTP traffic into their transparent proxy; not sure if they still do).
However this is a non-issue if you're OK running a VPN server. I use WireGuard to use my home network's Pi-Hole which applies filtering. I also get insight on data traffic from the device via DPI feature on my router. Though the WireGuard Android package isn't complete yet the good part of the story is WireGuard doesn't take many resources. When I did this with OpenVPN in the past my phone would get so hot it hurted to touch it at some spots (granted though it was in summer but still not good for battery).
DNS66 from the fdroid store. Doesn't require root either.