Skip to content

Instantly share code, notes, and snippets.

View etherbiswas's full-sized avatar

Ether Biswas etherbiswas

View GitHub Profile
# 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