This file contains 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
# Disable IPv4 forwarding (default) | |
net.ipv4.ip_forward = 0 | |
# Disable ICMP echo reply (if you need to reduce ping responses) | |
net.ipv4.icmp_echo_ignore_all = 1 | |
# Enable TCP SYN cookies (security against SYN flood attacks) | |
net.ipv4.tcp_syncookies = 1 | |
# Increase TCP buffer sizes for wireless and high throughput networks |