Advertisement
Dremalka

sysctl.conf

Nov 18th, 2013
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. kernel.panic=3
  2. net.ipv4.conf.default.arp_ignore=1
  3. net.ipv4.conf.all.arp_ignore=1
  4. net.ipv4.ip_forward=1
  5. net.ipv4.icmp_echo_ignore_broadcasts=1
  6. net.ipv4.icmp_ignore_bogus_error_responses=1
  7. net.ipv4.tcp_ecn=0
  8. net.ipv4.tcp_fin_timeout=30
  9. net.ipv4.tcp_keepalive_time=120
  10. net.ipv4.tcp_syncookies=1
  11. net.ipv4.tcp_timestamps=1
  12. net.ipv4.tcp_sack=1
  13. net.ipv4.tcp_dsack=1
  14.  
  15. net.ipv6.conf.all.forwarding=1
  16.  
  17. net.netfilter.nf_conntrack_acct=1
  18. net.netfilter.nf_conntrack_checksum=0
  19. net.netfilter.nf_conntrack_max=16384
  20. net.netfilter.nf_conntrack_tcp_timeout_established=3600
  21. net.netfilter.nf_conntrack_udp_timeout=60
  22. net.netfilter.nf_conntrack_udp_timeout_stream=180
  23.  
  24. # disable bridge firewalling by default
  25. net.bridge.bridge-nf-call-arptables=0
  26. net.bridge.bridge-nf-call-ip6tables=0
  27. net.bridge.bridge-nf-call-iptables=0
  28.  
  29. # tweak
  30. vm.min_free_kbytes = 4096
  31. net.core.rmem_max = 16777216
  32. net.core.wmem_max = 16777216
  33. net.ipv4.tcp_rmem = 4096 87380 16777216
  34. net.ipv4.tcp_wmem = 4096 65536 16777216
  35. net.core.netdev_max_backlog = 30000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement