0
su
iptables -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to 8.8.8.8:53

The above command is really working, but only for client phones who are using my phone's WiFi hotspot.

The result I need is for my phone itself. I want to route all my DNS queries only through 8.8.8.8 without using a VPN but with iptables.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
WaiYan
  • 1

0 Answers0