← All theses

Department of Computer Science and Engineering

NEXT-GENERATION FIREWALL: Design, Implementation and Evaluation Using OPNsense

Ridoy, Showrov Rahim

Abstract

Modern networks require controls that go beyond traditional IP address, port, and protocol filtering. This thesis presents the design of an open-source Next-Generation Firewall (NGFW) architecture using OPNsense as the gateway platform, Suricata for intrusion detection and prevention, and Zenarmor for deep packet inspection, application visibility, and web-category control. The proposed architecture separates the network into WAN, protected LAN, and DMZ security zones and applies layered policy enforcement so that stateful firewall rules, Layer-7 inspection, intrusion prevention, virtual private networking, authentication, and logging work as one coordinated security system. The implementation methodology is designed for a virtualized laboratory based on VMware Workstation, Proxmox, or ESXi. It covers interface and VLAN configuration, firewall and NAT policies, Suricata IDS/IPS integration, Zenarmor policies, web filtering, optional TLS inspection, OpenVPN or WireGuard remote access, captive portal and directory-based authentication, and central monitoring through OPNsense logs and optional ELK/Syslog integration. Validation is organized around controlled port scanning, web application attack simulations, benign and malicious download tests, rule-verification cases, and throughput/latency measurements under increasing security inspection. The work emphasizes a practical balance among security visibility, performance, manageability, privacy, and cost. Because no verified laboratory screenshots or measured benchmark dataset were supplied with the source materials, this manuscript marks screenshot positions and the numerical evaluation table in Chapter 5 as lab-replacement items rather than presenting invented evidence.