Cybersecurity Network Architecture
Network Security
Network security involves a wide range of technologies and architectural patterns designed to protect the integrity, confidentiality, and availability of data as it travels across networks. The core components include firewalls, segmentation, virtual private networks (VPNs), and Secure Access Service Edge (SASE). Each addresses different threats and operational requirements, and they are often combined in layers to achieve defense in depth.
Firewalls
A firewall is a fundamental security device that filters traffic between networks based on a set of rules. The concept originates from physical firewalls in buildings that slow the spread of fire; similarly, network firewalls create isolation and limit the impact of malicious activity.
Packet Filtering
The simplest form of firewall inspects the packet header—the part of the packet containing source address, destination address, and port number. Think of it like an envelope with a return address and a delivery address. The firewall makes decisions based solely on this header information.
Source address: The firewall can block traffic that claims to come from inside the network but actually arrives from outside (anti-spoofing).
Destination address: The firewall restricts which destinations are reachable. For example, external traffic might be allowed only to a web server, not directly to a database.
Port number: Identifies the type of traffic. Port 80 (HTTP) and port 443 (HTTPS) are common open ports for web traffic.
Packet filtering is a stateless technique: each packet is evaluated in isolation, with no memory of previous packets.
Stateful Packet Inspection
More advanced than packet filtering, stateful packet inspection tracks the state of active connections. The firewall remembers that a legitimate packet was sent and only allows subsequent packets that match the expected flow of that connection.
The firewall can read not only the header but also the payload (the actual data inside the packet) to enforce deeper rules.
It can detect anomalies, such as a packet that arrives out of sequence or violates protocol standards.
This is analogous to opening the envelope and reading the letter, not just the address.
Proxy Firewalls
A proxy acts on behalf of another device. Instead of allowing a direct connection between an external user and an internal server, the proxy terminates the connection at itself and then opens a second connection to the target.
The proxy inspects all traffic passing through, enforcing security policies such as malware scanning.
It breaks the end-to-end session, creating two separate sessions: user ↔ proxy, proxy ↔ server.
Proxies can also provide privacy by masking the original source address (all traffic appears to come from the proxy).
Network Address Translation (NAT)
Network Address Translation (NAT) is a widespread technology that maps internal private IP addresses to a single public IP address (or a pool) when communicating across the internet.
Private address ranges (e.g.,
10.x.x.x,192.168.x.x) are not routable on the public internet.NAT translates the internal source address to a routable external address and maintains a table to reverse the mapping for return traffic.
Security benefit: External hosts cannot initiate direct connections to internal devices because the internal addresses are unreachable from the outside.
NAT is built into nearly every home router and is a key enabler of IPv4 address conservation.
Segmentation
Network segmentation divides a network into smaller, isolated zones, each with its own security controls. The goal is to limit the spread of attacks and protect sensitive assets.
Bastion Host (Primitive)
The earliest approach placed a critical server (e.g., a web server) directly on the internet, with no firewall protecting the internal network. This is not recommended today because it exposes the entire internal network to external threats.
Tri-Homed Network (Single Firewall with Three Interfaces)
A single firewall is equipped with three network interface cards (NICs), each connected to a different zone:
Untrusted zone (red): the internet.
Semi-trusted zone (yellow): a demilitarized zone (DMZ) containing servers that must be accessible from outside.
Trusted zone (green): the internal intranet.
The firewall applies different rules to traffic on each interface. This design is low-cost but is a single point of failure—if the firewall fails, all protection is lost.
Basic DMZ (Two Firewalls)
A more robust architecture uses two firewalls:
External firewall (between internet and DMZ): allows only specific traffic (e.g., HTTP/HTTPS) to the web server.
Internal firewall (between DMZ and internal network): further restricts traffic; for example, only the web server (specific source address) may connect to the database.
This arrangement provides defense in depth. Even if the external firewall is compromised, the internal firewall still blocks direct access from the internet to sensitive systems.
Multi-Tiered DMZ (Three or More Firewalls)
In a multi-tiered DMZ, additional firewalls separate components such as:
Web servers (frontend)
Application servers (middleware)
Database servers (backend)
Each tier has its own firewall rules. The result is greater granularity and stronger defense in depth (attackers must defeat multiple layers). The trade-offs are higher cost and administrative complexity.
Virtual Private Networks (VPNs)
A VPN creates a secure, encrypted channel over an untrusted network (e.g., the internet). It provides confidentiality by encrypting data in transit.
VPN: a secure channel over an untrusted network.
Encryption and Its Double Edge
Benefit: Data is protected from eavesdropping.
Drawback: Because traffic is encrypted, network security tools cannot inspect it for malware or intrusions. Attackers can also use VPNs to hide their malicious activities.
VPN Technologies by OSI Layer
VPNs can be implemented at different layers of the OSI model (7-layer network stack). Encrypting at a lower layer automatically protects all higher-layer traffic.
Application layer (Layer 7): Examples include SSH (Secure Shell) for secure remote login and file transfers, and SFTP (SSH File Transfer Protocol). These are application-specific VPNs.
Transport layer (Layer 4): TLS (Transport Layer Security) and its predecessor SSL. This is the technology behind HTTPS (the padlock icon in browsers). Encryption is applied to traffic for a specific application or endpoint.
Network layer (Layer 3): IPsec encrypts all traffic between two network addresses, covering multiple applications.
Data-link layer (Layer 2): Protocols like PPTP (Point-to-Point Tunneling Protocol) and L2TP (Layer 2 Tunneling Protocol) operate at even lower levels.
Broad vs. Application-Specific VPNs
Broad, network-based VPNs (e.g., IPsec):
Advantage: Simple to set up—encrypts everything between two endpoints.
Disadvantage: No granular control; cannot selectively permit or block individual applications.
Application-specific VPNs (e.g., SSH, TLS):
Advantage: Granular control—can enable VPN for email but not for file sharing, for example.
Disadvantage: More complex to manage because each application may require its own VPN configuration.
Secure Access Service Edge (SASE)
SASE (pronounced “sassy”) stands for Secure Access Service Edge. It is an emerging architecture that converges networking and security functions into a single cloud-delivered service, aligning with zero-trust principles.
SASE = Network Security + Wide Area Networking (specifically SD-WAN), all delivered from the cloud.
Core Components of SASE
Network security includes:
Firewalling
Secure web gateways
Data loss prevention (DLP)
And other security controls
Wide area networking (WAN) is typically a Software-Defined WAN (SD-WAN), which provides dynamic, flexible network boundaries that can be provisioned in real time.
Cloud delivery offers scalability, elasticity, and agility.
SASE often also integrates identity management (authentication and authorization) to enforce access controls based on user identity rather than just IP addresses.
Visualizing SASE
A Venn diagram shows three overlapping domains: networking, security, and cloud. SASE occupies the intersection of all three. In practice, SASE sits at the network edge between users and the internet, combining networking capabilities (SD-WAN, connectivity) with security capabilities (firewall, DLP, etc.) into a single logical service.
Why SASE Matters
Traditionally, each security and networking function was a separate physical appliance managed by separate teams. SASE unifies these into a holistic, cloud-native service, reducing complexity and improving operational efficiency. It aligns with modern trends such as remote work and cloud migration.
Network security is a vast domain. This overview covered firewalls, segmentation, VPNs, and SASE. Other important areas—such as physical networking security (5G, Wi-Fi), network access control, and intrusion detection/prevention—were not explored in depth here but remain critical components of a complete security posture.

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