Skip to content

Instantly share code, notes, and snippets.

@TGion
Created February 1, 2023 13:45
Show Gist options
  • Save TGion/78e14b1e22c0aaead51fbc69345f6426 to your computer and use it in GitHub Desktop.
Save TGion/78e14b1e22c0aaead51fbc69345f6426 to your computer and use it in GitHub Desktop.
FreeBSD 13 sysctl settings to prevent port scanning
# /etc/sysctl.conf
# Against port scanning
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.icmp.icmplim=50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment