Secure Network Design and Defence TechnologiesIntroduction and ContextA secure network is not simply a collection of firewalls and security appliances. It is an engineered system in which architecture, trust relationships, identity, traffic flows, resilience, monitoring and operational governance work together. Modern organisations must protect users, applications, data, devices, cloud services and operational technology while maintaining availability and acceptable performance. Network defence therefore begins with design. A poorly segmented network allows an attacker who compromises one endpoint to move laterally toward servers, administrator accounts or sensitive databases. A well-designed network limits unnecessary communication, verifies identity and device health, detects suspicious activity, and continues operating when components fail. This chapter examines secure topologies, VLANs, demilitarised zones (DMZs), proxies, firewalls, web application firewalls (WAFs), intrusion detection and prevention systems (IDS/IPS), network access control (NAC), virtual private networks (VPNs), secure wireless networking, micro-segmentation and software-defined security controls. Learning ObjectivesBy the end of this chapter, a learner should be able to: - Explain how network architecture supports confidentiality, integrity and availability.
- Design trust zones using VLANs, routing controls, DMZs and firewalls.
- Distinguish the functions and limitations of proxies, firewalls, WAFs, IDS/IPS and NAC.
- Select suitable VPN and wireless security controls for different risk contexts.
- Apply micro-segmentation and software-defined security principles.
- Analyse a network design for attack paths, resilience, performance and governance.
- Recommend controls that are technically effective, operationally manageable and proportionate to risk.
1. Principles of Secure Network Architecture1.1 Defence in depthDefence in depth uses several partially independent controls. For example, an internet-facing application may be protected by DNS security, edge filtering, a firewall, a WAF, secure application configuration, host controls, database access restrictions and central logging. The failure of one control should not expose the entire system. Layered controls should not be confused with simply purchasing multiple products. Controls must have different purposes and should be configured so that one failure does not disable all protection. Excessive, poorly understood controls can create configuration conflicts and false confidence. 1.2 Least privilege and least connectivityLeast privilege limits what a user, device, process or service may do. In network design, the related principle is least connectivity: a system should communicate only with destinations and protocols required for its function. A payroll workstation may need access to a payroll application over HTTPS, but it normally has no reason to initiate database administration sessions or communicate directly with internet hosts on arbitrary ports. A useful design question is not “Which network is trusted?” but “Which specific communication is justified, by whom, between which assets, using which protocol, for how long, and under what conditions?” 1.3 Zero Trust as an architectural principleZero Trust does not mean that no control exists. It means that network location alone is insufficient evidence of trust. Access decisions should consider identity, device posture, application, resource sensitivity, session context and policy. Authentication and authorisation should be continuous or periodically re-evaluated, especially for privileged and high-risk activity. Zero Trust complements, rather than eliminates, segmentation and firewalls. Segmentation reduces possible paths; identity-aware policy determines whether a particular path is permitted. 1.4 Secure topology and failure domainsA topology should identify trust boundaries, critical dependencies and failure domains. Common design patterns include: - Screened subnet: public services are placed between controlled filtering boundaries and the internal network.
- Three-tier architecture: presentation, application and database tiers are separated, with only required flows allowed between them.
- Collapsed-core or spine-and-leaf design: common in data centres, providing predictable paths and scalability.
- Hub-and-spoke or SD-WAN design: branch traffic is controlled through central or distributed policy points.
- High-availability pair: critical firewalls, switches and VPN gateways operate in failover configurations.
Redundancy must be tested. Two devices that depend on one power supply, one management network or one software licence do not provide complete resilience. 2. Segmentation Technologies2.1 VLANs and inter-VLAN routingA virtual local area network (VLAN) creates a logical Layer 2 broadcast domain on shared switching infrastructure. VLANs can separate users, servers, voice devices, guests, management systems and security appliances. A Layer 3 switch or router performs inter-VLAN routing, where access-control lists (ACLs) can restrict traffic between VLANs. VLANs improve organisation and reduce broadcast scope, but a VLAN is not automatically a security boundary. Misconfigured trunks, native VLANs, switch ports, routing ACLs or management interfaces can undermine isolation. High-risk zones should normally be separated by a policy enforcement point, such as a firewall, rather than relying solely on VLAN membership. Typical VLAN categories include: | VLAN or zone | Typical assets | Principal controls |
|---|
| User | Managed workstations and laptops | 802.1X, endpoint security, restricted egress | | Server | Application and infrastructure servers | Host firewall, tiered rules, monitoring | | Management | Switch, firewall and hypervisor interfaces | Privileged access, MFA, dedicated administration | | Voice/IoT | Phones, sensors and embedded devices | Restricted destinations, profiling, rate limits | | Guest | Visitor devices | Internet-only access, client isolation | | Security | Logging, monitoring and identity systems | Strong availability and tightly controlled access |
2.2 DMZ designA DMZ is a controlled zone for services that must communicate with less-trusted networks. Examples include reverse proxies, public web gateways, mail relays, authoritative DNS services and remote-access portals. The DMZ is not a “safe” network; it is a buffer that limits the consequences of compromise. A sound policy commonly permits: - Internet to DMZ: only the published service and required protocol.
- DMZ to internal application tier: only explicitly required application traffic.
- DMZ to database tier: normally prohibited or limited to a specific service path.
- Internal administration to DMZ: controlled through a management path, MFA and jump host.
- DMZ to internet: restricted to justified update, DNS, time and monitoring services.
A public web server should not normally have unrestricted access to internal systems. Where possible, the public-facing component should be a reverse proxy or load balancer, while application services remain in a separate zone. 2.3 Micro-segmentationTraditional segmentation places broad groups into VLANs or subnets. Micro-segmentation applies policy at a finer level, such as workload, identity, process, application label or security group. It is especially valuable in virtualised and cloud environments, where workloads may move between hosts. Micro-segmentation can restrict a payment service to a specific application tier, allow an identity service to communicate with defined clients, and deny direct workstation-to-workstation traffic. Policy may be enforced by distributed host agents, hypervisor switches, cloud security groups, service meshes or software-defined networking controllers. Its limitations include policy complexity, incomplete asset inventories, blind spots for unmanaged systems and the risk of blocking legitimate dependencies. A phased approach is preferable: discover flows, classify assets, define intended communication, enforce low-risk policies, then expand enforcement and test continuously. 3. Firewalls, Proxies and Application Protection3.1 Firewall functionsA firewall enforces a rule set controlling traffic between interfaces, zones, addresses, identities, applications or services. Modern next-generation firewalls may inspect application protocols, identify users, use threat intelligence and decrypt selected traffic, subject to legal and privacy requirements. A firewall rule should be specific and reviewable. It should identify source, destination, service, direction, action, owner, business justification, logging requirement and expiry or review date. The preferred default is deny, with explicit permits for required flows. Rules should be ordered carefully because many platforms evaluate rules sequentially. A firewall does not replace secure host configuration, application security or identity controls. It may also be unable to understand an encrypted payload without decryption, and broad “allow any” rules can turn a sophisticated appliance into an expensive router. 3.2 Stateful and stateless filteringA stateless ACL evaluates each packet independently. A stateful firewall tracks connection state and can permit return traffic belonging to an established, permitted session. Stateful inspection improves practicality but does not prove that the application or user is trustworthy. Application-layer attacks can occur inside an allowed stateful connection. 3.3 ProxiesA forward proxy represents internal clients when they access external services. It can enforce web policy, malware scanning, URL filtering, authentication and data-loss controls. A reverse proxy represents servers to clients and can provide TLS termination, load balancing, caching, rate limiting and concealment of internal addresses. Proxies create useful policy and logging points, but they can become bottlenecks, introduce certificate-management challenges and fail to interpret protocols they do not support. Proxy logs must be protected because they can reveal browsing behaviour, credentials if mishandled, and sensitive URLs. 3.4 Web application firewallsA WAF operates at the HTTP or HTTPS application layer. It can detect or block patterns associated with injection, cross-site scripting, malicious file uploads, protocol violations, automated abuse and some forms of application-layer denial of service. Positive security models, which allow only known methods, paths and input types, can be stronger than lists of known attacks when an application is stable. A WAF is not a substitute for secure software development. It may generate false positives, be bypassed by application-specific logic flaws, and fail to detect attacks hidden in unusual encodings or encrypted end-to-end designs. WAF rules should be tuned using application knowledge, testing and monitored exceptions. 4. IDS, IPS and Security MonitoringAn intrusion detection system (IDS) observes activity and raises alerts; an intrusion prevention system (IPS) can block or reset traffic. Detection may be signature-based, anomaly-based, behavioural or a hybrid. - Signature detection is effective for known patterns but may miss novel attacks.
- Anomaly detection identifies deviations from a baseline but can produce false positives when legitimate behaviour changes.
- Behavioural analytics evaluates sequences, identities and context, potentially identifying low-and-slow activity.
Sensors may be network-based (NIDS/NIPS), host-based (HIDS/HIPS), cloud-based or integrated into endpoint detection and response platforms. Placement matters: sensors at the internet edge see scanning and exploitation attempts, while internal sensors can reveal lateral movement. Encrypted traffic reduces visibility, so organisations may use endpoint telemetry, metadata, selective TLS inspection and application logs. Detection quality depends on more than sensor count. Time synchronisation, asset context, alert prioritisation, retention, analyst capability and response procedures are essential. A useful operational measure is alert-to-action time, but metrics should not reward teams merely for generating large numbers of alerts. 5. Network Access ControlNAC controls whether a device may join a network and what access it receives. It commonly uses IEEE 802.1X with an authentication server, device certificates, user credentials, posture assessment and dynamic VLAN or policy assignment. A practical NAC process is: - Discover the connecting device and switch or wireless port.
- Authenticate the user or device.
- Assess posture, such as patch status, endpoint protection and encryption.
- Assign a role-based network policy.
- Continuously monitor and quarantine or restrict when risk changes.
NAC is valuable for reducing rogue devices and unmanaged endpoints, but it is not infallible. Printers, medical devices and industrial equipment may not support 802.1X. Exceptions should be documented and protected with profiling, fixed-port controls, certificates where possible, and restricted network access. A fail-open posture improves availability but may weaken security; fail-closed improves control but can disrupt essential operations. The choice should be risk-based and tested. 6. VPNs and Secure Remote ConnectivityA VPN creates an authenticated and cryptographically protected tunnel over an untrusted network. Site-to-site VPNs connect networks; remote-access VPNs connect individual users or devices. Common technologies include IPsec and TLS-based VPNs. Modern deployments should use strong, supported cryptographic suites, certificate-based authentication where feasible, MFA, managed clients and central logging. Encryption protects confidentiality and integrity in transit, but it does not make an endpoint trustworthy. A compromised laptop can use a valid VPN tunnel to attack internal resources. Remote access should therefore use device posture, least-privilege routes, privileged access workstations or jump hosts, session logging and short-lived credentials. Full-tunnel VPNs route all client traffic through organisational security controls; split tunnelling routes only selected traffic through the tunnel. Full tunnelling improves central inspection but consumes bandwidth and may affect performance. Split tunnelling can improve efficiency but increases exposure and complicates monitoring. The decision depends on data sensitivity, endpoint management, threat model and network capacity. 7. Secure Wireless Network DesignWireless networks extend the trust boundary beyond physical buildings. Secure enterprise WLANs should use WPA3-Enterprise where supported, or appropriately configured WPA2-Enterprise during transition. IEEE 802.1X with an authentication server provides per-user or per-device authentication. Certificate-based EAP methods reduce dependence on reusable passwords, provided certificate validation is correctly configured. Recommended practices include: - Separate corporate, guest and IoT SSIDs and policies.
- Map identities or device roles to restricted network segments.
- Use protected management frames where supported.
- Disable insecure legacy protocols and weak authentication modes.
- Prevent guest access to internal address space.
- Monitor rogue access points, evil-twin indicators and unusual association patterns.
- Protect wireless controllers and management interfaces.
- Avoid treating a hidden SSID as a security control.
Radio-frequency coverage, channel planning and physical security also matter. An attacker may operate outside the building, and jamming can affect availability even when encryption remains strong. 8. Software-Defined and Cloud Security ControlsSoftware-defined networking separates, to varying degrees, the control plane that defines policy from the data plane that forwards traffic. Central policy can improve consistency, automation and visibility, but the controller becomes a high-value target and a potential single point of failure. Important controls include mutually authenticated controller connections, role-based administration, change approval, signed software, secure APIs, configuration backups, controller redundancy and monitoring of policy changes. Automation should be tested because an erroneous rule can be deployed rapidly across the estate. In cloud environments, security groups, network ACLs, private endpoints, route tables, service identities and cloud-native firewalls provide distributed enforcement. Cloud responsibility is shared: the provider secures underlying infrastructure, while the customer remains responsible for identity, configuration, data and often guest operating systems. Cloud network design should avoid assuming that a virtual private cloud is automatically secure. 9. Design MethodologyA professional design process can be organised into the following stages. Stage 1: Establish requirements and riskIdentify business services, regulatory obligations, recovery objectives, users, data classifications, external dependencies and unacceptable outcomes. A healthcare system, university network and manufacturing control system have different availability and safety requirements. Stage 2: Build an asset and flow modelInventory devices, applications, identities, protocols, owners and dependencies. Capture both intended and observed flows. Unknown assets and undocumented dependencies are major causes of segmentation failure. Stage 3: Define zones and trust boundariesGroup assets by function and risk, not merely by organisational department. Separate public services, user devices, administration, production, development, backups, security tooling and critical infrastructure where justified. Stage 4: Specify policyFor each required flow, document source, destination, protocol, direction, authentication, inspection, logging, owner and review period. Use explicit deny rules and carefully controlled exceptions. Stage 5: Design resilienceRemove unnecessary single points of failure. Consider redundant links, diverse power, stateful firewall failover, replicated identity services, alternate VPN gateways, backup configurations and out-of-band management. Define what happens during failure: fail-open, fail-closed, degraded service or manual recovery. Stage 6: Implement incrementallyStart with observation and logging, then enforce low-risk boundaries before protecting critical paths. Use maintenance windows, rollback plans and stakeholder testing. Segmentation changes can interrupt business processes even when the security logic is correct. Stage 7: Validate and operatePerform rule reviews, vulnerability assessments, penetration tests, failover tests, wireless surveys and incident-response exercises. Monitor for drift between documented and actual topology. Retire obsolete rules and devices. Worked Design Example: Three-Tier E-Commerce ServiceAn organisation operates an online ordering service. Customers access a public website, the application processes orders, and a database stores customer and transaction records. A suitable design places a reverse proxy and WAF in a public DMZ. The reverse proxy communicates with application servers in an application zone over a defined service port. Application servers communicate with the database zone only through the database service required by the application. Administrators use MFA and a hardened jump host in a management zone. Database backups are sent to a separate backup zone using an authenticated, encrypted channel. The principal rules are: | Source | Destination | Allowed service | Decision |
|---|
| Internet | WAF/reverse proxy | HTTPS | Permit and inspect | | WAF | Application tier | Required application protocol | Permit and log | | Application tier | Database tier | Required database service | Permit and log | | User VLAN | Database tier | Direct database administration | Deny | | Management jump host | Application and database administration interfaces | Approved management protocols | Permit with MFA | | Database tier | Internet | General outbound access | Deny |
The design limits lateral movement. If the public proxy is compromised, it should not have unrestricted access to the database or management plane. If an application server is compromised, monitoring can identify unexpected outbound connections, and micro-segmentation can restrict communication to known services. Performance and availability must also be considered. The WAF and reverse proxy require capacity planning, redundant instances and health checks. If TLS is terminated at the proxy, certificate private keys require special protection. Logs should be forwarded to a separate security platform, with time synchronisation and retention appropriate to investigative and regulatory needs. This is an illustrative case, not a universal architecture. A real design would also address application secrets, API gateways, fraud controls, database encryption, patching, backup recovery and privacy obligations. Challenges, Limitations and GovernanceComplexity and configuration driftDistributed controls create a large policy surface. Inconsistent rules, undocumented exceptions and outdated objects can create either exposure or operational failure. Configuration-as-code, version control, peer review, automated testing and periodic recertification reduce drift. Encryption and inspectionEncryption improves confidentiality but can reduce network visibility. TLS inspection may expose personal or confidential content and may break applications using certificate pinning. It should be risk-based, transparent where required, technically controlled and governed by privacy and employment policies. Availability and fail-safe behaviourSecurity controls can become denial-of-service points. High availability, capacity planning, graceful degradation, bypass procedures and emergency access must be engineered before deployment. “Deny by default” is a sound security principle, but essential safety and continuity functions require carefully designed exceptions. Privacy and proportionalityNetwork monitoring can reveal employee activity, personal communications and sensitive organisational information. Collection should have a legitimate purpose, limited scope, defined retention, access control and appropriate notice. Security teams should distinguish necessary metadata from unnecessary content inspection. Supply-chain and administrative riskFirewalls, controllers, access points and security platforms are privileged components. Vendor compromise, vulnerable firmware, insecure support access and weak administrative credentials can defeat segmentation. Procurement should evaluate update practices, vulnerability disclosure, logging, secure defaults, independent assurance and exit or migration options. Contemporary DevelopmentsIdentity-aware segmentation increasingly combines network policy with endpoint, workload and user context. Secure access service edge (SASE) and security service edge (SSE) move some networking and security functions toward cloud-delivered policy enforcement. Service meshes provide workload-to-workload authentication and authorisation, although their operational complexity can be substantial. Artificial intelligence and machine learning can assist anomaly detection, traffic classification, rule analysis and alert prioritisation. These tools are not authoritative security decisions by themselves. They can inherit biased or incomplete training data, generate opaque explanations and be manipulated by adversaries. Human review, high-quality telemetry, model monitoring and safe rollback remain necessary. Post-quantum migration planning is also relevant to long-lived confidential data and public-key infrastructure. Organisations should inventory cryptographic dependencies, follow standards developments and plan algorithm agility rather than making unsupported claims about immediate replacement requirements. Best-Practice Checklist- Maintain an authoritative asset, identity and data-flow inventory.
- Separate public, user, server, management, guest, backup and critical-service zones where justified.
- Use explicit, least-privilege rules with owners, logging and review dates.
- Treat VLANs as logical segmentation, not automatic complete isolation.
- Protect management planes with MFA, privileged workstations and dedicated paths.
- Combine firewalls with secure hosts, application controls, identity and monitoring.
- Use NAC and device posture controls for managed and unmanaged endpoint risk.
- Design VPN and wireless access around identity, device health and least privilege.
- Apply micro-segmentation gradually, based on observed dependencies.
- Test failover, rollback, incident response and disaster recovery.
- Govern inspection and monitoring according to privacy, legal and ethical requirements.
- Measure outcomes such as reduced attack paths, containment time and recovery capability rather than product counts.
Chapter SummarySecure network design is an architectural discipline that combines segmentation, identity, policy enforcement, visibility and resilience. VLANs organise logical networks, while firewalls and routing controls regulate communication between zones. DMZs protect internal services from direct exposure. Proxies and WAFs provide intermediary and application-layer controls, but they do not replace secure development or endpoint protection. IDS/IPS supports detection and prevention, while NAC controls device admission and role assignment. VPNs protect remote connectivity, but authenticated tunnels must still be restricted and monitored. Secure wireless design requires strong enterprise authentication, separated guest and IoT access, protected management and detection of rogue infrastructure. Micro-segmentation and software-defined controls provide fine-grained, programmable enforcement, particularly in virtualised and cloud environments. Effective designs are based on asset and flow knowledge, least privilege, explicit policy, tested resilience and continuous review. Technical controls must be balanced with availability, privacy, governance, usability and operational capability. Key TermsAccess-control list (ACL): Rules that permit or deny network traffic based on defined attributes. DMZ: A controlled network zone for services exposed to less-trusted networks. Firewall: A system that enforces traffic policy between networks, zones or identities. Forward proxy: An intermediary representing internal clients when accessing external services. IDS: A system that detects and reports suspicious activity. IPS: A system that detects and can actively block suspicious activity. Least privilege: Granting only the access required for an authorised task. Micro-segmentation: Fine-grained segmentation based on workloads, identities, applications or processes. NAC: Network access control that authenticates devices or users and assigns access policy. Network zone: A group of assets sharing a defined trust and security-policy context. Reverse proxy: An intermediary representing servers to external clients. Screened subnet: A network architecture using filtering boundaries to isolate exposed services. Stateful inspection: Firewall analysis that tracks connection state. VLAN: A logical Layer 2 broadcast domain implemented on switching infrastructure. VPN: An authenticated, encrypted tunnel across an untrusted network. WAF: A security control that filters and monitors web application traffic. Zero Trust: An approach that does not grant implicit trust based solely on network location. 802.1X: A port-based network access-control framework commonly used with enterprise wired and wireless authentication. Review QuestionsShort Answer Questions- Why is a VLAN not automatically a complete security boundary?
- What is the main purpose of a DMZ?
- Distinguish an IDS from an IPS.
- State two security benefits of enterprise wireless authentication.
- Why should VPN access include endpoint or device-posture controls?
Long Answer Questions- Explain how defence in depth can be applied to an internet-facing web application.
- Compare traditional VLAN segmentation with micro-segmentation, including benefits and limitations.
- Describe a professional methodology for designing and validating a segmented network.
- Explain the roles of firewalls, proxies and WAFs and why none is sufficient alone.
- Discuss the availability, privacy and governance challenges associated with network monitoring and traffic inspection.
Analytical / Application Questions- A university has user devices, research servers, guest wireless, laboratory instruments and a central management network. Propose zones, major traffic rules and controls for unmanaged laboratory instruments.
- An organisation discovers that a compromised web server can connect directly to its database and administrator workstation. Analyse the architectural weaknesses and propose a staged remediation plan.
- A company must choose between full-tunnel and split-tunnel remote access for staff using managed laptops. Evaluate the decision using confidentiality, monitoring, performance, availability and endpoint-risk criteria.
Multiple Choice Questions with AnswersQuestion 1Which statement best describes the security value of network segmentation? A. It guarantees that malware cannot enter the organisation. B. It limits permitted communication paths and can reduce lateral movement. C. It eliminates the need for endpoint security. D. It encrypts every packet crossing the network. Correct Answer: B. It limits permitted communication paths and can reduce lateral movement. Question 2What is the primary purpose of placing a public web service in a DMZ? A. To give the service unrestricted access to internal systems. B. To remove the need for application authentication. C. To isolate the exposed service from more trusted internal zones. D. To ensure that the service cannot be monitored. Correct Answer: C. To isolate the exposed service from more trusted internal zones. Question 3Which control is specifically designed to filter HTTP or HTTPS application requests? A. WAF B. Layer 2 switch C. DHCP server D. UPS Correct Answer: A. WAF Question 4What is a major limitation of signature-based intrusion detection? A. It cannot inspect any network traffic. B. It may miss previously unknown attack patterns. C. It always blocks legitimate traffic. D. It operates only on wireless networks. Correct Answer: B. It may miss previously unknown attack patterns. Question 5Which technology commonly supports authenticated enterprise access at a switch or wireless port? A. 802.1X B. NTP C. SNMPv1 community strings D. ARP Correct Answer: A. 802.1X Question 6Why is a compromised endpoint still dangerous after establishing a VPN connection? A. VPNs disable all encryption on the endpoint. B. The endpoint may use valid tunnel access to attack permitted internal resources. C. VPNs can authenticate only network switches. D. VPNs prevent security logging. Correct Answer: B. The endpoint may use valid tunnel access to attack permitted internal resources. Question 7Which design best reflects least connectivity? A. Allowing every workstation to reach every server on all ports. B. Allowing only documented application flows between required tiers. C. Placing all devices in one unrestricted VLAN. D. Allowing database servers unrestricted internet access. Correct Answer: B. Allowing only documented application flows between required tiers. Question 8What is a principal advantage of micro-segmentation over broad VLAN segmentation? A. It requires no asset inventory. B. It can apply policy at workload, identity or application level. C. It prevents the need for routing. D. It guarantees zero configuration errors. Correct Answer: B. It can apply policy at workload, identity or application level. Question 9Which practice most directly improves the reliability of firewall policy? A. Using permanent any-to-any rules. B. Removing all logging to improve performance. C. Assigning rule owners and review or expiry dates. D. Allowing administrators to change rules without records. Correct Answer: C. Assigning rule owners and review or expiry dates. Question 10Why should guest wireless normally be separated from corporate wireless? A. Guests require access to internal management interfaces. B. Separation reduces the opportunity for guest devices to reach internal resources. C. Guest devices always use stronger encryption than corporate devices. D. Separation prevents wireless availability problems completely. Correct Answer: B. Separation reduces the opportunity for guest devices to reach internal resources.
|