Interview Prep/Networking/NAT, Firewalls & VPN

What is port knocking and is it a good control?

AdvancedConceptNAT, Firewalls & VPN
Answer

The firewall hides a port until a client sends a secret sequence of connection attempts to other ports. It adds obscurity, not strong security: sequences can be replayed or sniffed.

We prefer real controls: key-based SSH, SSM or a VPN, IP allow lists and short-lived certificates. Treat port knocking as an extra layer, never the only one.

All Networking questions Roadmap: Networking for DevOps

More on NAT, Firewalls & VPN