Cybersecurity Network Architecture


Cybersecurity Network Architecture

Simon
Welcome back to the Cybersecurity Architecture Series. We've covered identity and endpoint security, and now it's time to tackle the network. Network security is huge, with firewalls, segmentation, VPNs, and SASE all playing a role. Hope, let's start with the foundation—firewalls.

Hope
Firewalls—everyone talks about them, but where did the idea even come from?

Simon
It actually comes from physical firewalls. Imagine three townhouses connected. If one catches fire, a physical wall slows the spread, giving the fire department time. In networking, we do the same: use firewalls to isolate and protect parts of the network from dangerous traffic.

Hope
I love that analogy. So how does a firewall actually decide what to let through?

Simon
The most basic method is packet filtering. The firewall looks at the packet header—just like an envelope has a to and from address. It checks the source IP, destination IP, and port number. For instance, if traffic comes in on port 80, that's standard unencrypted web traffic, so we allow it. But we also add rules: if a packet from the outside claims to be from an internal address, we block it—that's anti-spoofing. And we restrict the destination so outside traffic can only reach the web server, not the database directly.

Hope
So packet filtering is like checking the envelope but never opening it. What about more advanced inspection?

Simon
Exactly. Stateful packet inspection goes further—it not only checks headers but also looks at the context. It tracks connections; if a packet arrives that doesn't match the expected sequence, it's suspicious. And application firewalls inspect the actual payload, like opening the envelope to read the letter. That way you can catch malware or policy violations.

Hope
And there's also the proxy firewall, right? That's different again.

Simon
Yes! A proxy acts as an intermediary. Instead of a direct connection between a user and a server, the proxy creates two separate sessions. The user talks only to the proxy, and the proxy talks to the server. That gives us a man-in-the-middle, but a good one—we can inspect all traffic, enforce security, and even hide the user's identity for privacy.

Hope
And what about NAT? I see that term all the time with home routers.

Simon
Network Address Translation is everywhere. Internally, devices use private IP addresses like 192.168.x.x, which are not routable on the Internet. The NAT box translates that internal address to a single public IP when traffic goes out, and maps responses back. That conserves public IPs, but also provides security: because internal addresses are not routable from outside, an attacker can't directly initiate a connection to a device inside your network.

Hope
So firewalls are the building blocks. Now, how do we arrange them in a network? That's segmentation, right?

Simon
Exactly. Segmentation is about using firewalls to create different security zones. The most primitive setup is a bastion host—you just put your web server directly on the Internet, and hope it doesn't get compromised. Not recommended, but it was done in the early days.

Hope
I can see why that's risky. What's the next step?

Simon
A tri-homed network uses a single firewall with three network interfaces: one for the Internet, one for the internal network, and one for a demilitarized zone—the DMZ. The DMZ is a buffer zone between untrusted and trusted areas. It's cheap and simple, but it's a single point of failure.

Hope
So better is the basic DMZ with two firewalls, right?

Simon
Yes. The basic DMZ uses two firewalls: one facing the Internet, one facing the internal network. The web server sits between them. This gives defense in depth—if the first firewall fails, the second still blocks direct access from the Internet to the internal network. It's more scalable and not a single point of failure, but also more complex and costly.

Hope
And then there's the multi-tiered DMZ, which really layers it on.

Simon
Right. A multi-tiered DMZ adds a third firewall to separate the web server, application server, and database into distinct zones. This gives even greater granularity—you can enforce strict rules about which component can talk to which—and defense in depth on steroids. The downside? Even more cost and administrative overhead.

Hope
Okay, so firewalls and segmentation control traffic inside and at the perimeter. But what about when data has to travel over the Internet? That's where VPNs come in.

Simon
Exactly. A VPN creates a secure channel over an untrusted network, like the Internet, by encrypting the traffic. This gives you confidentiality. But there's a trade-off: encryption also hides malicious content, so it limits your ability to inspect traffic—kind of a blessing and a curse.

Hope
And there are different types of VPNs, depending on which layer of the OSI model they work at, right?

Simon
Yes. At the application layer, you have SSH for secure remote access, or secure FTP. At the transport layer, TLS—what gives you the padlock in your browser—is a common VPN. At the network layer, IPsec encrypts everything between two network addresses. And there are lower-layer options like L2TP. The key point is that if you encrypt low in the stack, all higher layers inherit that encryption.

Hope
So why would you choose one over another? Is it simplicity versus granularity?

Simon
Exactly. Broad network-based VPNs like IPsec are simple: set up one tunnel and all traffic is encrypted. But you get limited control. Application-specific VPNs like SSH give you granular control: you can have separate VPNs for email, file sharing, etc., and manage each individually. The trend today is moving toward application-specific VPNs because of that granularity.

Hope
Now, there's a newer concept I've heard about—SASE. What is that?

Simon
SASE stands for Secure Access Service Edge. Think of it as the intersection of network security, wide area networking, and the cloud. It combines firewall, secure web gateway, data loss prevention, and software-defined WAN into a single service delivered from the cloud. That gives you scalability, agility, and a holistic approach instead of managing separate appliances.

Hope
So it's like a consolidated, cloud-delivered security and networking platform at the edge?

Simon
Exactly. And it often includes identity management—authentication and authorization—as part of the package. It's a modern way to deliver these capabilities, especially in a zero-trust architecture. It reduces complexity and allows you to adapt quickly.

Hope
We've covered firewalls, segmentation, VPNs, and SASE. But there's always more, right?

Simon
Definitely. We didn't get into physical networking security like 5G and Wi-Fi due to time, but if there's interest, we can revisit that. For now, we've completed the networking domain. Next up is application security. Stay tuned, and don't forget to like, subscribe, and hit notify so you don't miss it!

Ask anything
We've read this whole study set, so questions about it get the best answers.