Created
July 31, 2019 15:41
-
-
Save peterzen/d2c46d0e21fe90d7f514680b0429b2bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init.d script: | |
#!/system/bin/sh | |
iptables -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to-destination 8.8.8.8:53 | |
iptables -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to-destination 8.8.8.8:53 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment