DMZ architecture is a security setup where public-facing servers are placed in a special zone called the DMZ. Traffic from the Internet first passes through an external firewall that filters what can enter the DMZ. Inside the DMZ, servers like web and mail servers handle public requests. To protect the internal network, an internal firewall controls traffic from the DMZ to the internal network, allowing only approved connections. Traffic directly from the Internet to the internal network is blocked by the internal firewall. This layered approach helps keep the internal network safe while still providing public services.