Interview Prep/Networking/NAT, Firewalls & VPN

What is a firewall's default-deny principle?

BeginnerConceptNAT, Firewalls & VPN
Answer

Block everything, then explicitly allow only what is needed. Security groups already do this for inbound traffic; the discipline is to apply it to outbound traffic too, and to avoid 0.0.0.0/0 on admin ports like 22, 3389 and database ports.

Restrict egress for sensitive workloads: it limits data exfiltration and callbacks after a compromise.

All Networking questions Roadmap: Networking for DevOps

More on NAT, Firewalls & VPN