Security operations

Next Generation Firewall: What an NGFW Is and How It Works in 2026

A next generation firewall sees which application and user sit behind each connection, then blocks threats inline. Here is how it works and how to pick one.

Cysoro Security TeamPublished · 7 min read
ALLOW app: chatDENY malwareuser: finance • TLS on SECURITY OPERATIONS Next-genfirewall See the app, the user, the threat.
Quick answer

A next generation firewall (NGFW) is a network security device that inspects traffic by application, user and content instead of only by IP address, port and protocol. It combines a traditional stateful firewall with intrusion prevention, application control, URL filtering and TLS inspection, so it can block threats hidden inside legitimate traffic in real time.

Key takeaways

  • An NGFW identifies applications and users, not just ports, so one rule can allow safe use of an app while blocking its risky functions.
  • TLS inspection, intrusion prevention and threat intelligence are the features that separate an NGFW from a traditional firewall.
  • Size an NGFW by threat-protection throughput with all features on, never by its headline firewall throughput.

Most network traffic now runs over port 443, encrypted, and looks identical to a traditional firewall. A next generation firewall exists because that is no longer enough: it opens the traffic, identifies the application and the user, and decides what to allow based on what is actually happening.

What is a next generation firewall?

A next generation firewall (NGFW) is a network security device that identifies and controls applications, users and content to enforce precise security policies. It inspects traffic beyond ports and protocols to detect threats and prevent misuse of legitimate applications.

That definition comes from Palo Alto Networks, the vendor that shipped the first NGFW in 2008. The term itself became mainstream after Gartner published "Defining the Next-Generation Firewall" in October 2009.

An NGFW still does everything a traditional stateful firewall does: it filters by IP address, port and protocol, tracks connection state, performs NAT and runs VPNs. The difference is what it adds on top, in a single pass, so one policy decision can consider the application, the user, the content and the threat at the same time.

How does an NGFW work?

An NGFW inspects the full packet to understand the application, user and content involved in each transaction. It operates at Layer 7, the application layer, where many threats now hide inside common services such as email, file sharing and web traffic.

How an NGFW inspects one connection 1Identify appdeep packetinspection 2Identify userdirectory oridentity feed 3Decrypt TLSinspect, thenre-encrypt 4Check threatsIPS, malware,URL, DNS 5Allow / denyone policydecision Single-pass architecture: all checks run in one flow, so inspection does not multiply latency.
One connection, five checks, one decision. Illustration by Cysoro.

First, deep packet inspection classifies the application by its content, not its port. A messaging app running over port 443 is recognized as that app, not as generic web traffic. Next, the firewall maps the connection to a user through directory integration, so policy can say "finance staff may use this app, contractors may not".

Then, if TLS inspection is enabled, the firewall decrypts the session, inspects the payload, and re-encrypts it. Intrusion prevention, antivirus, URL filtering and DNS security checks run against the decrypted content, and threat intelligence lookups flag known-bad domains and files. Finally, the firewall allows, blocks or shapes the traffic according to policy.

The key design point is the single pass. Instead of sending traffic through a firewall, then a separate IPS, then a separate web filter, an NGFW applies those checks in one processing flow, which keeps latency down and avoids gaps between tools.

What are the core features of an NGFW?

The core features are application identification, user identification, content inspection, granular policy enforcement, intrusion prevention and TLS decryption. Modern NGFWs add advanced threat prevention, URL and DNS filtering, sandboxing and centralized management.

  • Application identification (App-ID): recognizes thousands of applications regardless of port, including evasive apps that hop ports or tunnel through TLS.
  • User identification (User-ID): ties traffic to people and groups from Active Directory, Entra ID or RADIUS, so rules follow users rather than IP addresses.
  • Intrusion prevention (IPS): blocks exploit attempts with signatures and behavioral detection, inline, before they reach the target.
  • URL filtering: blocks malicious or unwanted sites by category and reputation, including newly registered phishing domains.
  • DNS security: stops connections to malicious domains at lookup time, even before a web request is made.
  • TLS/SSL inspection: decrypts and inspects encrypted traffic, which is now most traffic on the internet.
  • Sandboxing: detonates unknown files in a safe environment and blocks them if they behave maliciously.
  • Central management: one policy across many firewalls, increasingly from a cloud console.

Modern additions include IoT device identification, credential-theft prevention, and integration with cloud access security brokers. Palo Alto Networks, for example, lists next-generation CASB and IoT security among the modern NGFW feature set.

NGFW vs traditional firewall: what is the difference?

A traditional firewall decides by address and port; an NGFW decides by application, user and content. That difference matters most when the same port carries both safe and dangerous traffic, which is now the normal case.

CapabilityTraditional firewallNext generation firewall
Filtering basisIP, port, protocolApplication, user, content, threat
OSI layersLayers 3 and 4Layers 3, 4 and 7
Application controlNo — port equals appYes — identifies apps by content
User-aware policyNoYes, via directory identity
Intrusion preventionSeparate applianceBuilt in, inline
TLS inspectionNoYes, with certificate trust
URL and DNS filteringNoBuilt in
Cloud and branch managementPer-device consoleCentral cloud console

A practical example: a cloud storage app is fine for collaboration but risky for data theft. A traditional firewall can only allow or block the whole app. An NGFW can allow uploading to the corporate account while blocking uploads to personal accounts, because it sees the user and the content, not just the port.

If you are still running a port-only firewall at the network edge, our small business cybersecurity checklist covers the other controls that should sit alongside any firewall upgrade.

What types of NGFW deployment are there?

NGFWs come as hardware appliances, virtual machines, cloud-native firewalls and firewall-as-a-service. Gartner now groups all of these under the hybrid mesh firewall category, managed from one cloud console.

  • Hardware appliances: physical boxes at the office, branch or data center edge. Best for high throughput and local breakout.
  • Virtual NGFWs: software firewalls running in VMware, Hyper-V or a cloud VPC, protecting virtualized workloads.
  • Cloud NGFWs: native firewall services in AWS, Azure or Google Cloud, managed through the cloud console.
  • Firewall-as-a-service: cloud-delivered inspection for remote users and branches, often part of a SASE or SSE platform.

In 2025 Gartner replaced its network firewall Magic Quadrant with the Hybrid Mesh Firewall Magic Quadrant, as Fortinet announced when it was named a Leader in the inaugural report. In the inaugural report, published 25 August 2025, Fortinet, Palo Alto Networks and Check Point were named Leaders, with Fortinet placed highest for ability to execute and Palo Alto Networks furthest for completeness of vision.

How do you choose an NGFW?

Choose by threat-protection throughput, application coverage, management model and total cost over three to five years. Start with a traffic profile: peak bandwidth, number of users, encrypted traffic share and the applications you must control.

  1. Size on threat-protection throughput. Use the datasheet row labeled threat protection or UTM throughput, with IPS, antivirus and TLS inspection enabled. Headline firewall throughput can be several times higher and is not realistic.
  2. Check application coverage. Confirm the firewall recognizes the SaaS apps your teams actually use, including the ones running on non-standard ports.
  3. Plan TLS inspection early. Decide which traffic categories to decrypt, deploy the firewall certificate to managed devices, and exempt categories such as banking and health where decryption is not appropriate.
  4. Test the management console. Policy changes, logging and reporting are where teams spend their time. A clumsy console costs more than a fast box.
  5. Price the subscriptions. Threat prevention, URL filtering, DNS security and sandboxing are usually licensed separately and renewed annually. Get a three-year total, not a hardware quote.
  6. Ask about high availability. A firewall is a single point of failure. Confirm active-passive or active-active failover and how configuration sync works.
Do not size by headline throughputAlways ask for the threat-protection throughput with all security features enabled. A box rated at 10 Gbps firewall throughput may deliver only 2 Gbps once inspection is on, and that gap is where outages and bypassed policies come from.

What mistakes do teams make with NGFWs?

The most common mistakes are buying on headline throughput, leaving TLS inspection off, writing allow-any rules, and never reviewing logs. Each one quietly removes the protection the purchase was meant to buy.

Five NGFW mistakes — and the fix 1. Sizing on headline throughputUse threat-protection Gbps 2. TLS inspection left offDecrypt with exemptions 3. Allow-any rules at the bottomDefault deny, log the rest 4. Subscriptions allowed to lapseRenew before expiry 5. Logs nobody readsWeekly blocked-threat review
Common NGFW deployment mistakes and their fixes. Illustration by Cysoro.

TLS inspection deserves special care. Turning it on without deploying the certificate breaks applications and trains users to click through warnings. Turning it off leaves the firewall blind to most modern malware, which hides in encrypted sessions. The right approach is phased: decrypt general web traffic first, exempt sensitive categories, and monitor breakage before expanding coverage.

Also remember that an NGFW is only one layer. It does not replace endpoint protection, phishing-resistant MFA, email authentication or backups. It works best when its logs feed a SIEM or SOC workflow, so a blocked intrusion attempt becomes an investigation rather than a line nobody reads.

Who needs an NGFW?

Any organization with an office network, a data center or cloud workloads that handles sensitive data needs one. Small businesses can often use a firewall-as-a-service or a small appliance, while larger organizations need clustered hardware and central management.

Schools, clinics, retailers and professional firms are common buyers: they hold personal data, run many unmanaged devices, and face compliance duties. If your current firewall cannot tell you which applications your users run or which users trigger the most blocks, it is time to replace it.

Check your public-facing services too: run a free SSL checker on your website to see whether the services behind your firewall are configured safely.

You can also run a security headers check on the same site to catch missing headers that a firewall will not fix for you.

The bottom line

A next generation firewall earns its name by understanding traffic, not just forwarding it. Application awareness, user identity, intrusion prevention and TLS inspection turn a simple gate into a control point that can block real attacks without blocking real work.

Buy on threat-protection throughput, turn on TLS inspection in phases, and keep the subscriptions current. Then check the logs every week — an NGFW that nobody watches is just an expensive router. You can start by verifying your own site with the free SSL checker.

Frequently asked questions

What is a next generation firewall in simple terms?

It is a firewall that looks inside network traffic to see which application is running, who is using it and what the traffic contains, then applies security rules based on that context. A traditional firewall mostly checks IP addresses and port numbers.

What is the difference between a firewall and a next generation firewall?

A traditional firewall filters by IP address, port and protocol and tracks connection state. An NGFW adds application identification, user identity, intrusion prevention, URL filtering, malware inspection and TLS decryption on top of that base.

Do I still need an NGFW if I use a cloud firewall?

Often yes, in a different form. Cloud NGFWs and firewall-as-a-service protect cloud workloads and remote users, while a hardware NGFW protects the office and data center. Many organizations now run both under one management console.

Does an NGFW slow down the network?

It can, because deep inspection takes processing power. Vendors publish a separate threat-protection throughput figure that reflects performance with inspection enabled. Size the device on that number, not the headline firewall throughput.

What is a hybrid mesh firewall?

Gartner's term, introduced in 2025, for firewall platforms that unify hardware, virtual and cloud firewalls under one cloud-managed policy. It replaces the old network firewall Magic Quadrant category.

Can an NGFW inspect encrypted traffic?

Yes, with TLS inspection it decrypts traffic, inspects it and re-encrypts it, provided clients trust the firewall's certificate. Without this, threats hidden in encrypted sessions pass straight through.

Is an NGFW the same as a UTM?

They overlap heavily today. UTM was the small-business term for an all-in-one firewall with antivirus and web filtering. Modern NGFWs from most vendors cover the same ground, with deeper application control and threat prevention.

How much does an NGFW cost?

Entry hardware can cost a few hundred dollars, but security subscriptions for threat prevention, URL filtering and sandboxing usually exceed the hardware cost over three to five years. Always budget hardware plus subscriptions plus support.

Sources

  1. Palo Alto Networks — What Is a Next-Generation Firewall (NGFW)?
  2. Fortinet — Named a Leader in the 2025 Gartner Magic Quadrant for Hybrid Mesh Firewall
  3. Palo Alto Networks — Leader in the 2025 Gartner Magic Quadrant for Hybrid Mesh Firewall
  4. NIST — SP 800-210, General Access Control Guidance for Cloud Systems
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against Palo Alto Networks' NGFW guide, the 2025 Gartner Hybrid Mesh Firewall Magic Quadrant announcements and NIST SP 800-210.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free