diff --git a/ipv4-rules.sh b/ipv4-rules.sh index 25f6739..fa4e69c 100755 --- a/ipv4-rules.sh +++ b/ipv4-rules.sh @@ -132,7 +132,7 @@ function addHetzner() { } function setSysctlValues() { - sysctl -q -w net.netfilter.nf_conntrack_max=$((2 ** 21)) + sysctl -q -w net.netfilter.nf_conntrack_max=$((2 ** 21)) || sysctl -q -w net.nf_conntrack_max=$((2 ** 21)) sysctl -q -w net.ipv4.tcp_syncookies=1 # make tcp_max_syn_backlog big enough to have ListenDrops being low or 0: