Advertisement
ujiajah1

sysctl.conf /tproxy konfigure

Jan 8th, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. kernel.panic = 30
  2. kernel.panic_on_oops = 30
  3. kernel.sysrq = 0
  4. kernel.core_uses_pid = 1
  5. kernel.msgmnb = 65536
  6. kernel.msgmax = 65536
  7. fs.file-max = 65536
  8. vm.swappiness = 5
  9. vm.vfs_cache_pressure=50
  10. vm.mmap_min_addr = 4096
  11. vm.overcommit_ratio = 0
  12. vm.overcommit_memory = 0
  13. kernel.shmmax = 268435456
  14. kernel.shmall = 268435456
  15. vm.min_free_kbytes = 65536
  16. net.ipv4.tcp_syncookies = 1
  17. net.ipv4.tcp_syn_retries = 5
  18. net.ipv4.tcp_synack_retries = 2
  19. net.ipv4.tcp_max_syn_backlog = 4096
  20. net.ipv4.ip_forward = 1
  21. net.ipv4.conf.all.forwarding = 1
  22. net.ipv4.conf.default.forwarding = 1
  23. net.ipv4.conf.all.accept_source_route = 0
  24. net.ipv4.conf.default.accept_source_route = 0
  25. net.ipv4.conf.all.rp_filter = 0
  26. net.ipv4.conf.default.rp_filter = 0
  27. net.ipv4.conf.eth0.rp_filter = 0
  28. net.ipv4.conf.all.accept_redirects = 0
  29. net.ipv4.conf.default.accept_redirects = 0
  30. net.ipv4.conf.all.log_martians = 0
  31. net.ipv4.conf.default.log_martians = 0
  32. net.ipv4.tcp_fin_timeout = 15
  33. net.ipv4.tcp_keepalive_time = 300
  34. net.ipv4.tcp_keepalive_probes = 5
  35. net.ipv4.tcp_keepalive_intvl = 15
  36. net.ipv4.conf.all.bootp_relay = 0
  37. net.ipv4.conf.all.proxy_arp = 0
  38. net.ipv4.tcp_dsack = 1
  39. net.ipv4.tcp_sack = 1
  40. net.ipv4.tcp_fack = 1
  41. net.ipv4.tcp_timestamps = 1
  42. net.ipv4.icmp_echo_ignore_all = 0
  43. net.ipv4.icmp_echo_ignore_broadcasts = 1
  44. net.ipv4.icmp_ignore_bogus_error_responses = 1
  45. net.ipv4.ip_local_port_range = 1024 65535
  46. net.ipv4.tcp_rfc1337 = 1
  47. net.ipv4.tcp_congestion_control = cubic
  48. net.ipv4.tcp_window_scaling = 1
  49. net.ipv4.tcp_mem = 65536 131072 262144
  50. net.ipv4.udp_mem = 65536 131072 262144
  51. net.ipv4.tcp_rmem = 8192 87380 16777216
  52. net.ipv4.udp_rmem_min = 16384
  53. net.core.rmem_default = 87380
  54. net.core.rmem_max = 16777216
  55. net.ipv4.tcp_wmem = 8192 65536 16777216
  56. net.ipv4.udp_wmem_min = 16384
  57. net.core.wmem_default = 65536
  58. net.core.wmem_max = 16777216
  59. net.core.somaxconn = 32768
  60. net.core.netdev_max_backlog = 4096
  61. net.core.dev_weight = 64
  62. net.core.optmem_max = 65536
  63. net.ipv4.tcp_max_tw_buckets = 1440000
  64. net.ipv4.tcp_tw_recycle = 1
  65. net.ipv4.tcp_tw_reuse = 1
  66. net.ipv4.tcp_max_orphans = 16384
  67. net.ipv4.tcp_orphan_retries = 0
  68. net.ipv4.ipfrag_high_thresh = 512000
  69. net.ipv4.ipfrag_low_thresh = 446464
  70. net.ipv4.tcp_no_metrics_save = 1
  71. net.ipv4.tcp_moderate_rcvbuf = 1
  72. net.unix.max_dgram_qlen = 50
  73. net.ipv4.neigh.default.gc_thresh3 = 2048
  74. net.ipv4.neigh.default.gc_thresh2 = 1024
  75. net.ipv4.neigh.default.gc_thresh1 = 32
  76. net.ipv4.neigh.default.gc_interval = 30
  77. net.ipv4.neigh.default.proxy_qlen = 96
  78. net.ipv4.neigh.default.unres_qlen = 6
  79. net.ipv4.tcp_ecn = 1
  80. net.ipv4.tcp_reordering = 3
  81. net.ipv4.tcp_retries2 = 15
  82. net.ipv4.tcp_retries1 = 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement