Skip to content

Instantly share code, notes, and snippets.

@dubcl
Last active May 22, 2017 15:53
Show Gist options
  • Save dubcl/63a02a9126bfc14aca9e677d03b65663 to your computer and use it in GitHub Desktop.
Save dubcl/63a02a9126bfc14aca9e677d03b65663 to your computer and use it in GitHub Desktop.
conntrack
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