Last active
August 29, 2015 14:16
-
-
Save sthorne/cc324985b225e862bc95 to your computer and use it in GitHub Desktop.
IPTables - Disable Tracking for DNS requests
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
## If IPTables conntrack is enabled and lots of connections are sucking up resources this can alleviate the problem | |
## This example is specific to DNS | |
/sbin/iptables -t raw -I OUTPUT -p udp --sport 53 -j NOTRACK | |
/sbin/iptables -t raw -I PREROUTING -p udp --dport 53 -j NOTRACK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment