Last active
May 22, 2017 15:53
-
-
Save dubcl/63a02a9126bfc14aca9e677d03b65663 to your computer and use it in GitHub Desktop.
conntrack
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
cat /proc/sys/net/netfilter/nf_conntrack_max | |
apt-get install libnetfilter-conntrack3 | |
echo "nf_conntrack" >> /etc/modules | |
modprobe nf_conntrack | |
echo 524288 > /proc/sys/net/netfilter/nf_conntrack_max | |
echo "net.netfilter.nf_conntrack_max = 524288" >> /etc/sysctl.conf | |
sysctl -p | |
sleep 2 | |
sysctl -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment