Advertisement
MrFastDie

sysctl.conf

Jan 6th, 2017
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.72 KB | None | 0 0
  1. net.ipv4.ip_local_port_range = 18000    65535
  2. net.ipv4.tcp_slow_start_after_idle=0
  3.  
  4. net.ipv4.conf.default.rp_filter=1
  5. net.ipv4.conf.all.rp_filter=1
  6. net.ipv4.tcp_syncookies=1
  7. fs.file-max = 1048576
  8.  
  9. net.core.rmem_max = 16777216
  10. net.core.wmem_max = 16777216
  11. net.core.rmem_default = 16777216
  12. net.core.wmem_default = 16777216
  13. net.core.optmem_max = 40960
  14. net.ipv4.tcp_rmem = 4096 87380 16777216
  15. net.ipv4.tcp_wmem = 4096 65536 16777216
  16.  
  17. net.core.netdev_max_backlog = 50000
  18. net.ipv4.tcp_max_syn_backlog = 30000
  19. net.ipv4.tcp_max_tw_buckets = 2000000
  20. net.ipv4.tcp_tw_reuse = 1
  21. net.ipv4.tcp_fin_timeout = 10
  22.  
  23. net.ipv4.conf.all.send_redirects = 0
  24. net.ipv4.conf.all.accept_redirects = 0
  25. net.ipv4.conf.all.accept_source_route = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement