Created
March 31, 2014 08:41
-
-
Save hamidreza-s/9888020 to your computer and use it in GitHub Desktop.
Iptables rules for allowing incoming and outgoing DNS query.
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
# Rules for DNS | |
iptables -A OUTPUT -p udp --dport 53 --sport 1024:65535 -j ACCEPT | |
iptables -A INPUT -p udp --dport 53 --sport 1024:65535 -j ACCEPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment