Security & Hardening · about 1 min · 3 steps
Kernel network hardening
Turns on kernel protections against SYN floods, spoofed addresses and malicious redirects. Routing, Docker and VPNs keep working.
Runs on
- Debian / Ubuntu: supported
- RHEL / Fedora: supported
- Alpine: supported
What it changes on your server
- Writes /etc/sysctl.d/90-shellbay-network.conf and applies it now; it also applies after reboots.
- Turns on SYN cookies and loose reverse-path filtering, ignores ICMP redirects, source routing and broadcast pings, and logs impossible addresses.
- Leaves IP forwarding unchanged. Settings the kernel doesn't have are skipped.
What Shellbay asks you
Nothing. This workflow needs no details from you.
Steps
- Write the settings
- Apply them now
- Check the kernel uses them
Shellbay checks the server before the first step, and stops at the first step that fails.
When it's done
- The kernel network protections are on. To undo, delete /etc/sysctl.d/90-shellbay-network.conf and reboot.