]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - config/etc/sysctl.conf
Merge remote-tracking branch 'alfh/feature_firewalllogcountry' into beyond-next
[people/teissler/ipfire-2.x.git] / config / etc / sysctl.conf
index df3ef5f96a08543d78d93abe1adade575766e0a2..e2e3d81b032ab1877e6c76e0136b8be165b23775 100644 (file)
@@ -1,7 +1,10 @@
 net.ipv4.ip_forward = 1
 net.ipv4.ip_dynaddr = 1
+
 net.ipv4.icmp_echo_ignore_broadcasts = 1
 net.ipv4.icmp_ignore_bogus_error_responses = 1
+net.ipv4.icmp_ratelimit = 1000
+net.ipv4.icmp_ratemask = 6168
 
 net.ipv4.tcp_syncookies = 1
 net.ipv4.tcp_fin_timeout = 30
@@ -28,3 +31,6 @@ vm.min_free_kbytes = 8192
 # Disable IPv6 by default.
 net.ipv6.conf.all.disable_ipv6 = 1
 net.ipv6.conf.default.disable_ipv6 = 1
+
+# Enable netfilter accounting
+net.netfilter.nf_conntrack_acct=1