What is Next Generation Firewall?
Features, Architecture, and Enterprise Deployment

A next generation firewall (NGFW) is a network security device that goes beyond filtering traffic by IP address and port. It adds deep packet inspection, application control and intrusion prevention, and it reads the content of each packet to spot threats older firewalls miss.

Short Answer In practice, an NGFW lets you write firewall rules in business terms: which application, which user or team, and what content may pass, not just which port. A rule such as “the sales team may use the approved CRM, files are scanned, everything else is blocked” is then enforced on every session, including encrypted ones.

What is a Next Generation Firewall?

NGFW stands for next generation firewall, often shortened to next-gen firewall. A basic firewall works at layers 3 and 4 of the OSI model, where it sees addresses, ports and connections. An NGFW also works at layer 7, the application layer, so it knows that a session is a video call, a file upload or a database query. That makes it a core part of network security and usually the main control point where traffic moves between the internet, offices, data centers and the cloud in a wider cybersecurity setup.

The Evolution From Packet Filters to Next Generation Firewalls

A first generation firewall is a packet filter, a second generation firewall is a stateful firewall, and the third generation is the next generation firewall, which adds inspection at the application layer. The first wave, starting in the late 1980s, introduced packet filtering. These early packet filters checked each packet against static rules based on IP addresses and ports. They were fast but shallow and easy to fool: an attacker could use an allowed port for a malicious purpose, and nothing inspected deeper to catch the trick.

The second wave brought stateful inspection in the mid-1990s. Stateful firewalls tracked connection state, so they could tell a legitimate reply from a spoofed one. This was a major step forward for network security, but stateful inspection still could not read the payload or identify apps. By the early 2000s, apps had moved to the web. Many used port 80 or 443 for everything. Stateful inspection could not tell one app from another on the same port. Security teams lost visibility just when the threat landscape got more complex.

The Third Wave Arrives

The third wave, the next generation firewalls we use today, arrived around 2007. Gartner defined the category as a device that adds application layer awareness, intrusion prevention systems (IPS), and external threat intelligence feeds to the stateful base. Palo Alto Networks shipped its first product, the PA-4000 Series, in 2007. Other security vendors followed with their own product lines, and the next generation firewall (NGFW) is now a common choice for enterprise network security. Each of its features was built to fix a gap that an earlier generation left open.

What Traditional Firewalls Lack and Why NGFWs Exist

Traditional firewalls were built for a simpler time. They check each packet against a rule set based on ports, protocols, source and destination IP addresses, and connection state. This worked when apps used fixed ports: HTTP on port 80, SMTP on port 25. The threat landscape has changed. Modern apps tunnel through common ports, attackers hide malware inside allowed protocols, and encrypted traffic blinds any device that only reads headers.

A port-based firewall cannot tell a Zoom call from a data exfiltration attempt on port 443. It cannot read encrypted payloads. It cannot spot a zero-day exploit buried in what looks like normal web traffic. Traditional firewalls hit a ceiling here, and modern threats slip past the perimeter. Firms needed a device that could read inside packets, understand which apps were running, and apply policies based on content as well as headers. The next generation firewall was built to fill that need.

How Gartner Defined the Category

Gartner formally defined the next generation firewall concept in a 2009 research note as a deep-packet inspection device that moves beyond port and protocol blocking to add application layer inspection, intrusion prevention, and external threat intelligence feeds. Since then, major vendors such as Palo Alto Networks, Fortinet, Cisco and Check Point have built next generation firewall (NGFW) product lines, in response to threats that traditional firewalls lack the depth to stop.

L7
NGFWs inspect traffic up to the application layer
22%
Of vulnerability exploitation targeted edge devices and VPNs (Verizon DBIR, 2025)
32
Median days to fully fix edge device flaws (Verizon DBIR, 2025)

Core Features of a Next Generation Firewall

The main features of a next generation firewall are:

  • Deep packet inspection of the full packet, not just the header
  • Application control that identifies apps on any port
  • A built-in intrusion prevention system
  • Decryption and inspection of SSL/TLS traffic
  • Threat intelligence feeds that update block lists
  • Rules based on user and group identity
  • URL filtering, sandboxing and DNS security

Each is explained below, starting with deep packet inspection.

Deep Packet Inspection (DPI)

Deep packet inspection (DPI) is the backbone of a next generation firewall (NGFW). Unlike basic filters that read only headers, DPI examines the full payload of each packet. This lets the firewall detect malware signatures, exploit code, and command-and-control patterns hidden inside normal-looking traffic. It also enables the device to enforce data loss prevention rules by scanning outbound content for sensitive strings like credit card numbers or medical records. Without DPI, a firewall is blind to many dangerous modern threats, and this deeper inspection is what separates a next generation firewall from earlier types.

Application Control and Visibility

Application control lets the next generation firewall identify traffic by the app that creates it, not by the port it uses. A single port like 443 can carry Slack messages, Dropbox uploads, YouTube streams, and a command-and-control tunnel. Traditional firewalls see only “port 443, allow.” A next generation firewall (NGFW) sees each specific application and lets admins write rules per app. A policy might allow Microsoft Teams but block personal cloud storage during work hours. Ports and protocols alone do not allow this level of control. Application control also helps enforce compliance: a healthcare firm can block file-sharing apps that are not approved for handling patient data, while still allowing approved collaboration tools.

Intrusion Prevention Systems (IPS)

Intrusion prevention systems (IPS) run inline on the next generation firewall. They compare network traffic against a database of known attack signatures and behavioral patterns. When the IPS spots a match, it blocks the traffic before it reaches the target. This is different from an IDS (intrusion detection system), which only alerts. Because intrusion prevention systems (IPS) sit on the next generation firewall itself, they act in real time with no extra hardware or routing. They also benefit from the firewall’s deeper inspection abilities: the IPS can see inside decrypted SSL streams, which a standalone sensor may miss.

Encrypted Traffic Inspection

Much network traffic today is encrypted. That helps privacy but hurts visibility, because a traditional firewall cannot read what it cannot decrypt. A next generation firewall solves this with encrypted traffic inspection, also called SSL/TLS decryption. The device acts as a man-in-the-middle: it decrypts the session, inspects the content with its IPS and deep packet inspection (DPI) engines, then re-encrypts and forwards it. This process adds latency, so size the hardware for the encrypted workload. Without encrypted traffic inspection, a next generation firewall loses visibility into a large share of modern network traffic.

Threat Intelligence Feeds

A next generation firewall does not work in isolation. It pulls threat intelligence feeds from the vendor’s cloud, third-party sources, and industry-sharing platforms. These feeds contain lists of known malicious IPs, domains, file hashes, and attack patterns. The next generation firewall uses this data to block threats it has never seen locally but that other firms have already reported. Feed quality matters, since stale or noisy feeds cause false positives. Good NGFWs let admins combine multiple feeds and set confidence thresholds to balance detection with accuracy. This feed loop turns the firewall from a static rule engine into an adaptive defense.

App-ID
Classifies traffic by the actual application using protocol decoding, signatures, and behavioral analysis, regardless of port.
User-ID
Maps network traffic to individual users and groups. Policies follow the person, not just the IP address.
Content-ID
Scans packet payloads for threats, sensitive data, and policy violations using deep packet inspection (DPI) and signature matching.
URL Filtering
Blocks access to malicious or policy-violating websites based on URL categories and reputation scores.
Sandboxing
Detonates unknown files in an isolated environment to catch zero-day malware that signatures miss.
DNS Security
Detects and blocks DNS-based threats like tunneling, DGA domains, and command-and-control callbacks.

How a Next Generation Firewall Processes Network Traffic

A next generation firewall first runs a stateful check on each new session, then identifies the application and the user, inspects the content and applies the matching policy. The stateful check looks at source and destination IP addresses and ports, protocol, and connection state. This baseline filtering is fast and drops obvious junk before deeper engines engage. Traffic that passes the stateful check moves to the application layer for further analysis.

Single-Pass Architecture

Many modern NGFWs use a single-pass architecture, meaning the device decodes the session, identifies the app, runs the IPS engine, scans for malware, and checks content, all in one pass through the packet. Older designs ran each check as a separate step, which added latency and CPU load. Single-pass processing keeps throughput high even with all security services turned on. It also limits the “feature penalty” where enabling deeper inspection cuts speed sharply. Designs vary, so ask vendors how their engine works under heavy load and check independent lab test results.

Policy Matching and Action

After the next generation firewall identifies the app, user, and content, it matches the session against its policy table. Policies in a next generation firewall (NGFW) are richer than traditional rules. Instead of “allow TCP 443 from any to any,” a policy might say “allow Microsoft Teams from the engineering group to the corporate tenant, inspect for malware, log the session.” This level of detail gives admins fine-grained access controls without blanket port rules. If no policy matches, the firewall applies its default action, which should be deny.

Throughput vs. Features

Vendors quote firewall throughput in two ways: with features off and with features on. Size your next generation firewall based on throughput with deep packet inspection (DPI), SSL decryption and IPS all enabled, not the “features-off” number.

Talk to an ExpertPlanning a firewall refresh? Talk to us about sizing, policy design and zero trust.
How a next generation firewall works: identify the app, identify the user, inspect the content and apply the policy
An NGFW decides on the app, the user and the content of each session.

NGFW vs Traditional Firewall: A Direct Comparison

A traditional firewall decides by port, protocol and address. A next generation firewall keeps those checks and adds application awareness, built-in intrusion prevention, decryption and threat feeds. The table below compares them point by point.

Ability Traditional Firewall Next Generation Firewall
Traffic Filtering IP addresses and ports, protocol, state App, user, content, behavior + all traditional checks
Inspection Depth L3, L4 headers only L3 to L7 with deep packet inspection (DPI)
Application Awareness ✕ No ✓ Yes, identifies apps on any port
Intrusion Prevention ✕ Separate device needed ✓ Built-in IPS
Encrypted Traffic ✕ Blind to SSL/TLS content ✓ Decrypts and inspects
Threat Intelligence ✕ No feed integration ✓ Cloud-delivered feeds
User Identity ✕ IP-based only ✓ Ties policy to user/group
Sandboxing ✕ No ✓ Cloud or on-premises sandbox

Traditional firewalls cover the basics (stateful filtering, NAT and VPN) but struggle with today’s threat landscape. Encrypted attacks, application layer exploits, and advanced persistent threats all bypass port-level rules. A next generation firewall closes these gaps by adding deeper inspection, richer policies, and real-time threat intelligence feeds. For firms that handle sensitive data or face targeted attacks, the upgrade is worth weighing against the cost of a breach a traditional device would miss.

What Are the Benefits of a Next Generation Firewall?

The main benefits of a next generation firewall are:

  • Fewer devices. Firewall, intrusion prevention and web filtering run in one box with one policy.
  • Visibility of apps and users. Reports show which apps are in use and by whom.
  • Quicker audits and changes. Rules name apps and teams, so reviewers can see why each one exists.
  • Coverage of encrypted traffic. Threats hidden in HTTPS can be caught.
  • Less manual blocking. Feeds add new bad addresses and domains to block lists on their own.
  • One policy across sites. Central management applies the same rules at offices, data centers and cloud.

Deploying a Next Generation Firewall: Architecture and Patterns

A next generation firewall comes in three forms: a hardware appliance, a virtual appliance that runs on a hypervisor or in a public cloud such as AWS or Azure, and firewall as a service (FWaaS), where the provider runs the firewall in its own cloud and your traffic is routed through it. Where it sits depends on the form: at the perimeter, between internal zones, or in front of cloud workloads.

Perimeter and Branch Deployment

The perimeter is the classic spot for a next generation firewall. It sits between the internet and your internal network. All network traffic passes through it, and the device applies its full stack of security services: deep packet inspection (DPI), IPS, app control, and encrypted traffic inspection. For firms with branch offices, the same model applies at each site. Central management pushes a consistent policy to every branch next generation firewall (NGFW) so that remote offices get the same level of network security as the head office. For small branches with limited IT staff, a centrally managed device removes the need for local expertise. Policy changes roll out from HQ to every site, which cuts the risk of policy drift, where branch devices fall behind the latest rule set.

Data Center and Internal Segmentation

Inside the data center, a next generation firewall enforces micro-segmentation. It divides the network into zones (web tier, app tier, database tier) and filters east-west traffic between them. This helps stop attackers from moving laterally after an initial breach. Without internal segmentation, a compromised web server gives an attacker a clear path to the database. With a next generation firewall between zones, that path is blocked. Internal NGFWs need high throughput because east-west traffic inside a data center can exceed north-south volumes at the perimeter. When sizing for data center use, check both the throughput and the session table size. A device with high throughput but a small session table will drop sessions during traffic spikes.

Cloud and Hybrid Deployment

As workloads move to public or private cloud platforms, the next generation firewall follows. Following cloud security best practices, many vendors offer virtual firewall appliances for AWS, Azure and GCP. These virtual NGFWs run the same software as the hardware version but deploy as cloud instances, protecting cloud workloads with the same deep packet inspection (DPI) and application control that on-premises devices provide. Hybrid firms often run a mix: hardware at the perimeter, virtual in the cloud, and FWaaS for remote users.

Where the Next Generation Firewall Fits in the Security Stack

A next generation firewall is one important piece of a larger, layered defense system. It does not replace endpoint protection, email security, or identity management. It works alongside them. Understanding where the next generation firewall sits helps you avoid gaps and overlaps in your network security architecture.

NGFW and Endpoint Security

The next generation firewall guards the network. Endpoint security guards the device. A laptop that connects to a coffee shop Wi-Fi bypasses the corporate firewall entirely. That is where endpoint detection and response (EDR) tools take over to fill the gap. In a well-built stack, the next generation firewall shares threat data with the endpoint agent. If the firewall sees a malicious domain, it pushes the indicator to endpoints so they can block it locally. If the endpoint sees malware, it sends the hash to the firewall so it can block downloads across the whole network. This two-way loop gives both tools more context and closes the gap between network and endpoint defense.

NGFW and SIEM/SOAR

A security information and event management (SIEM) platform collects logs from every device on the network, including the next generation firewall. It correlates events across sources to spot patterns that no single device can see. A failed VPN login plus a new app appearing on the network plus an outbound connection to a known C2 domain might trigger a high-confidence alert. Without the firewall logs, the SIEM is missing a critical data source. Since the next generation firewall sees app names, user identities and content tags, its logs are richer than traditional firewall logs. SOAR (Security Orchestration, Automation, and Response) tools can push automated actions back to the next generation firewall, like adding a block rule for a newly discovered malicious IP, without waiting for a human to intervene.

NGFW and Network Access Control

Network access control (NAC) decides which devices can join the network, and the next generation firewall decides what they can do once they are on. Together, they enforce a complete access controls strategy. NAC checks device health, patch level, antivirus status, compliance posture, before granting access. The next generation firewall then applies per-user and per-app policies to every session from that device. If a device falls out of compliance, NAC can quarantine it, and the next generation firewall can block its traffic in real time. This pairing matters for firms with BYOD or IoT environments where device trust varies. IoT devices in particular may not run endpoint agents, which makes the next generation firewall their primary security control.

How to Choose the Right Next Generation Firewall

Picking a next generation firewall starts with your network profile. Map out your traffic flows, user counts, workload types, and trust boundaries. Then match those needs to a product. A small firm with one office and basic SaaS usage needs a different device than a global bank with thousands of branches and a private cloud.

Throughput and Sizing

A common mistake is under-sizing. Vendors quote throughput numbers with features off. With deep packet inspection (DPI), encrypted traffic inspection, IPS, and URL filtering all enabled, real throughput drops sharply. Ask vendors for the “threat prevention throughput” number, not the raw firewall throughput. Also check concurrent session limits and new-sessions-per-second rates. If your network peaks at 50,000 concurrent sessions but the next generation firewall caps at 40,000, sessions will drop during peak hours.

Vendor Ecosystem and Integration

A next generation firewall must fit into your existing stack. Check how well it integrates with your SIEM, endpoint tools, and identity provider. Does the vendor offer open APIs? Can the device pull threat intelligence feeds from third-party sources, or is it locked to the vendor’s own cloud? A closed ecosystem forces you to buy everything from one vendor. An open one lets you mix best-of-breed tools. Open integration lets teams replace a single component without rebuilding the whole stack. Also look at the management console. Can it manage on-premises hardware, virtual NGFWs in the cloud and FWaaS from one dashboard? Central management matters for firms that run a mixed estate.

Total Cost of Ownership

The purchase price of a next generation firewall is just the start. Add the cost of annual subscriptions for threat intelligence feeds, URL filtering, sandboxing, and support. Factor in the time your team spends on policy tuning, firmware updates, and incident response. A cheaper box that needs more admin hours may cost more in the end. Plan for growth too: a firewall that fits today but maxes out soon forces a costly mid-cycle swap, so size for the load you expect over its life. Some NGFWs offer pay-as-you-grow licensing that matches spend to usage.

Best Practices for Next Generation Firewall Management

A next generation firewall is only as strong as the team that manages it. These practices help you avoid common pitfalls.

Policy Design and Rule Hygiene

Start with a default-deny stance. Block all traffic, then open only what the business needs. Write policies using app names and user groups, not just ports and protocols. Review the policy set every quarter. Remove rules tied to retired apps or old projects. Avoid “any-any” rules that bypass the deeper inspection engines, since one overly broad rule can undo months of tuning. Document each policy. Write down why each rule exists, who asked for it, and when it was last reviewed. This context helps future admins decide if a rule is still needed or if it should be retired. Treat the policy table as code: version it, review it, and test it before pushing live.

Logging, Monitoring, and Response

Turn on full logging. Every allow, deny, and drop should generate a log entry with the app name, user, source and destination IP addresses and ports, and the matched rule. Feed these logs into a SIEM platform for correlation. Set up alerts for high-priority events, like a new app appearing on the network, a spike in denied traffic, or a change to the policy table. When a security incident hits, firewall logs are an early source analysts check. They show who talked to whom, on which app, and when.

Patching, Sizing, and Vendor Support

Patch the next generation firewall firmware on schedule. Vendors release fixes for bugs that attackers exploit, and delaying patches leaves a known hole in your first line of defense. Size the device for your real workload with all security services turned on, because a device that maxes out its CPU under full inspection can drop packets or bypass engines. Check vendor support levels too. A next generation firewall (NGFW) that loses its threat intelligence feeds because the support contract lapsed is no better than a traditional firewall.

SSL Decryption and Privacy

Encrypted traffic inspection raises privacy concerns. Some firms need to exempt certain traffic, like banking or healthcare portals, from decryption. Build an exemption list and review it regularly. Make sure decrypted sessions stay inside the device and are re-encrypted before leaving.

What is a Managed NGFW?

A managed NGFW is a next generation firewall that a service provider runs for you. The provider sets it up, makes rule changes on request, applies firmware updates and watches logs and alerts, while your company usually keeps the final say on security policy. The firewall can be your own appliance, a virtual one or a cloud service. Firms without in-house firewall skills often take it as part of wider managed cybersecurity services.

Modern Threats That a Next Generation Firewall Stops

Attackers keep developing techniques to evade each layer of defense, and a next generation firewall counters them with several engines. Below are common attack types and how the device stops them.

Application Layer Attacks

Attackers exploit the application layer because traditional firewalls lack visibility there. SQL injection, cross-site scripting, and API abuse all target apps on allowed ports. A next generation firewall with application control and intrusion prevention systems (IPS) catches these attacks by inspecting the payload, not just the header. It matches attack signatures, checks for anomalous behavior, and blocks malicious requests before they reach the app. The combination of application control and IPS gives the firewall a layered defense at the application layer that port-based firewalls lack.

Encrypted Threats and Evasion

Much web traffic is now encrypted with HTTPS, and attackers use this to their advantage by hiding malware, command-and-control traffic, and data exfiltration inside SSL/TLS sessions. A next generation firewall with encrypted traffic inspection decrypts and inspects these sessions in real time. Without this feature, the device is blind to threats inside those sessions. Evasion techniques like protocol tunneling, domain fronting and packet fragmentation also try to slip past security controls. The deeper inspection engines in a next generation firewall (NGFW) detect and block these tricks by reassembling traffic and analyzing it at the application layer.

Advanced Persistent Threats

APTs are long-running, targeted attacks that aim to steal data or keep access over months. They use multiple stages: phishing for initial entry, lateral movement for spread, and low-and-slow exfiltration to avoid detection. A next generation firewall fights APTs with a mix of tools: threat intelligence feeds catch known APT indicators, sandboxing catches unknown malware, and behavioral analysis spots the slow, steady patterns that signature-based tools miss. No single engine stops an APT on its own; the strength of a next generation firewall lies in combining engines in one inline device. This unified view across ports, apps, users and content gives security teams context that traditional firewalls lack.

NGFW and Zero Trust Network Security

Zero Trust says: never trust, always verify, no matter where the traffic comes from. A next generation firewall is a natural fit for this model. Its identity-based policies let admins tie access controls to users and devices, not just network zones. Its DPI engines verify session content, and its application control limits the network to approved apps.

In a Zero Trust setup, the next generation firewall enforces micro-segmentation. It creates small trust zones around each workload or user group. If an attacker breaches one zone, the firewall blocks lateral movement to the next. This shrinks the blast radius of an incident. Combined with continuous authentication and least-privilege access, the firewall becomes a practical enforcement point for Zero Trust that limits how far an attacker can move.

Key Takeaway A next generation firewall is more than a perimeter guard. In a Zero Trust model, it enforces access controls at zone boundaries, from the edge to the data center core.


Next Generation Firewalls and AI

AI changes what a firewall has to watch. Staff use generative AI tools daily, AI agents call outside APIs on their own, and some malware now talks to AI models while it runs. An NGFW sits where all of that traffic crosses the network edge.

Spotting Shadow AI

Application control lets the firewall tell one AI service from another, even on port 443. You can allow the AI tools your company has approved, block the rest, and log who uses what. CISA’s 2025 guidance on AI data security also stresses protecting the data that flows into AI systems, and the firewall is one place to enforce that.

Next generation firewalls and AI: shadow AI control, agent egress rules, AI-calling malware and blocking unneeded AI APIs
Application control and egress rules help an NGFW manage AI traffic.

Egress Rules for AI Agents

An AI agent or MCP server that can reach any address is a risk. The MCP Security Best Practices warn about server-side request forgery and advise limiting where servers can connect. Give agent hosts tight outbound rules: only the APIs they need, nothing internal they do not need, and full logging.

Malware That Calls AI Models

In November 2025, Google’s Threat Intelligence Group described malware such as PROMPTFLUX that queries an AI model to rewrite its own code. Code that keeps changing is harder to catch with signatures alone. The firewall can still block servers from calling AI APIs they have no reason to use, which cuts the malware off. Our guide to rogue AI agents covers how to contain agents that misbehave.

Conclusion

A next generation firewall is a common standard for modern network security. It replaces the port-and-protocol model of traditional firewalls with deeper inspection at the application layer. Deep packet inspection (DPI), application control, intrusion prevention systems (IPS), encrypted traffic inspection, and threat intelligence feeds give firms the visibility and control they need to stop modern threats that traditional firewalls lack the depth to catch.

The device is only as strong as its policies and the team behind them, so default-deny rules, regular audits, proper sizing and active monitoring matter. Whether you deploy a next generation firewall at the perimeter, inside the data center, or in the cloud, the goal stays the same: inspect every session, enforce access controls based on apps and users, and block potential threats before they reach your data. Firms that invest in proper deployment, tuning and management gain network security that port-based firewalls lack.

Our SolutionEndpoint, Network and Zero Trust Security

Frequently Asked Questions About Next Generation Firewalls

What does NGFW stand for?

Next generation firewall, a firewall that inspects traffic up to the application layer.

What are the main features of a next generation firewall?

Seven are standard: deep packet inspection, application control, intrusion prevention, SSL/TLS decryption, threat feeds, user-based rules, and URL filtering with sandboxing.

What is a second generation firewall?

A stateful firewall. It tracks each connection, so it can tell a real reply from a spoofed one, which packet filters could not.

What is the main difference between NGFW and a traditional firewall?

A traditional firewall filters by ports and protocols. A next generation firewall adds deep packet inspection, application control, IPS, and threat intelligence to inspect at the application layer.

Does an NGFW replace the need for an IPS?

Yes, intrusion prevention systems (IPS) are built into the next generation firewall. No separate IPS appliance is needed.

Can an NGFW inspect encrypted traffic?

Yes. A next generation firewall (NGFW) decrypts SSL/TLS sessions, inspects the content, and re-encrypts before forwarding. This is called encrypted traffic inspection.

Is NGFW available as a cloud service?

Yes. Many vendors offer virtual NGFW appliances for AWS, Azure, and GCP, plus FWaaS (Firewall as a Service) for cloud-native deployments.

How do I size an NGFW for my network?

Size based on throughput with all features on: deep packet inspection, SSL decryption, and IPS. Check concurrent sessions and new-sessions-per-second limits against your peak traffic.

Can a next generation firewall control generative AI apps?

Yes. Application control can identify many AI services even when they share port 443. You can then allow approved AI tools, block others, and log usage, which helps manage shadow AI.

How should a firewall handle AI agents?

Give the hosts that run AI agents and MCP servers strict outbound rules. Allow only the APIs each agent needs, block internal addresses it does not need, and log every connection. This limits the damage if an agent is tricked.

References

  1. Firewall guidance: NIST SP 800-41 Rev. 1, Guidelines on Firewalls and Firewall Policy
  2. AI agent egress: Model Context Protocol, Security Best Practices
  3. AI-enabled malware: Google Threat Intelligence Group, Advances in Threat Actor Usage of AI Tools (November 2025)
Stay Updated

Get the Latest Terms & Insights.

New encyclopedia terms, threat intelligence, and architecture decisions, by email.

Book a Consultation

A practice principal will contact you within 1 business day.

Thank you! A Signisys principal will be in touch within 1 business day.