Created
June 7, 2020 04:03
-
-
Save hsupu/daf3cce79f633ed6b50b6e7faec6c3e4 to your computer and use it in GitHub Desktop.
For Proxy/Forward Server.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BBR | |
net.core.default_qdisc=fq | |
net.ipv4.tcp_congestion_control=bbr | |
fs.file-max = 1000000 | |
fs.inotify.max_user_instances = 8192 | |
net.ipv4.tcp_syncookies = 1 | |
net.ipv4.tcp_fin_timeout = 30 | |
net.ipv4.tcp_tw_reuse = 1 | |
net.ipv4.ip_local_port_range = 1024 65000 | |
net.ipv4.tcp_max_syn_backlog = 16384 | |
net.ipv4.tcp_max_tw_buckets = 6000 | |
net.ipv4.route.gc_timeout = 100 | |
net.ipv4.tcp_syn_retries = 1 | |
net.ipv4.tcp_synack_retries = 1 | |
net.core.somaxconn = 32768 | |
net.core.netdev_max_backlog = 32768 | |
net.ipv4.tcp_timestamps = 0 | |
net.ipv4.tcp_max_orphans = 32768 | |
# forward | |
net.ipv4.ip_forward = 1 | |
net.ipv6.conf.all.forwarding = 1 |
Author
hsupu
commented
Jun 7, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment