Created
May 21, 2022 09:17
-
-
Save realdomdom/f19246bfbb89c6ce7a2f0b804e06ab88 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
sudo iptables -t nat -a prerouting -p udp -d 8.8.8.8 --dport 53 -j redirect | |
sudo iptables -t nat -a prerouting -p tcp -d 8.8.8.8 --dport 53 -j redirect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment