Skip to main content
TACUNS
Module 1 of 8
13% complete
Module 1

Introduction to NGFW & PAN-OS Architecture

Trademark Notice

PAN-OS is a registered trademark of Palo Alto Networks, Inc. This course is independently created for educational purposes and is not affiliated with, endorsed by, or sponsored by Palo Alto Networks, Inc.

NGFW vs Traditional Firewall

A next-generation firewall (NGFW) goes far beyond what traditional stateful firewalls could do. While a traditional firewall makes allow/deny decisions based on ports and protocols, an NGFW understands applications, users, and content — enabling much more precise security policy.

CapabilityTraditional FirewallNGFW (PAN-OS)
Traffic identificationPort and protocolApplication signature (App-ID)
User awarenessIP address onlyUser and group via User-ID
SSL trafficPasses through opaqueCan decrypt and inspect
Threat preventionNone built-inIPS, AV, WildFire integrated
URL controlNone75+ categories, PAN-DB
File inspectionNoneFile type blocking, WildFire sandbox

PAN-OS Architecture — Three Planes

PAN-OS separates its processing into three distinct planes. This separation ensures that heavy data-plane work does not degrade management responsiveness, and management activity does not impact packet forwarding performance.

Data Plane

The data plane is responsible for all packet processing. It handles packet forwarding, App-ID classification, User-ID lookup, security policy evaluation, NAT, threat scanning, SSL decryption, and QoS marking. On hardware platforms, the data plane runs on dedicated network processing and security processing hardware.

  • Packet buffering and forwarding at line rate
  • App-ID processing via single-pass parallel processing (SP3)
  • Security policy lookup and action enforcement
  • Threat prevention scanning (AV, IPS, URL, WildFire)
  • SSL decryption engine
  • NAT engine

Control Plane

The control plane manages the routing table, manages protocols like OSPF and BGP, handles HA synchronization, manages policy compilation, and provides the CLI and API management interface. It runs on a general- purpose CPU separate from the data plane.

Management Plane

The management plane provides the dedicated out-of-band management interface (MGT port). Administrative access via the web GUI, SSH CLI, and Panorama all use this plane. Importantly, management traffic never traverses the data plane, so even if the data plane is busy or congested, you can always reach the device for management.

Management Interface Best Practice

Always connect the MGT interface to a dedicated management network or out-of-band network. Never expose the management interface to the internet. Restrict access by source IP using permitted-IP lists on the MGT interface profile.

Single-Pass Parallel Processing (SP3)

Traditional security architectures chain multiple scanning engines sequentially — the packet goes through the firewall engine, then the IPS engine, then the AV engine, each processing it independently. This adds latency at every hop and increases resource consumption.

PAN-OS uses Single-Pass Parallel Processing (SP3) to scan the packet once across all engines simultaneously. App-ID, User-ID, Content-ID, and threat prevention all operate on the same single pass through the packet. This delivers higher throughput with lower latency.

Single pass means the packet is parsed once — network processing, security processing, and content scanning happen concurrently, not sequentially.

Parallel processing means dedicated hardware engines handle specific functions simultaneously — App-ID runs at the same time as AV scanning runs at the same time as URL categorization.

Core PAN-OS Differentiators

App-ID — Application Identification

App-ID identifies the application running on a connection regardless of port, protocol, or encryption. It uses four mechanisms: application signatures, application protocol decoding, heuristics, and behavioral analysis. This enables policies like "allow Salesforce but block Dropbox" even though both use TCP 443.

User-ID — User Identification

User-ID maps IP addresses to actual usernames and group memberships via integration with Active Directory, LDAP, or other identity sources. Policies can be written for groups like "allow Finance team to access SAP" rather than managing individual IP-based rules.

Content-ID — Content Inspection

Content-ID is the umbrella for all content-based inspection: URL filtering, threat prevention (IPS, AV), WildFire integration, file blocking, and data filtering. It operates on the actual content of the connection after App-ID has identified the application.

Device-ID

Device-ID extends policy granularity to IoT and unmanaged devices that cannot run an agent. It identifies device type, vendor, and OS version from network behavior and applies appropriate policy.

Interface Types

Interface TypeLayerDescriptionUse Case
Layer 3L3Routes traffic; has IP address assignedStandard routed deployment
Layer 2L2Switches traffic within a VLAN; no IP routingTransparent deployment in existing L2 domain
Virtual WireL1Bump-in-the-wire; no MAC or IP; transparent to networkInline IPS without network change
Tap ModePassiveReceives mirrored traffic only; no inline blockingPassive monitoring / visibility
HA InterfaceN/ADedicated to HA heartbeat and state synchronizationHigh Availability only
LoopbackL3Virtual interface with IP; never goes downManagement VIPs, BGP router-ID
TunnelL3Virtual interface for VPN tunnel endpointsIPSec and GlobalProtect VPN

Security Zones

Every interface on a PAN-OS firewall must belong to a security zone. Zones define the security boundary for policy enforcement:

  • Traffic between different zones — always inspected and subject to security policy
  • Traffic within the same zone (intrazone) — permitted by default, but can be restricted with an intrazone rule
  • Traffic from/to an interface with no zone — blocked by default (implicit zone drop)

Zone names are meaningful to security engineers — common zone names include trust (internal), untrust (internet), dmz, vpn-tunnel, and management. The zone name appears in security policy rules, logs, and reports.

PAN-OS CLI Basics

pan-os-cli
# Show system information (model, PAN-OS version, serial)
show system info

# Show all interfaces and their status
show interface all

# Show routing table
show routing route

# Show active sessions
show session all

# Show session details for a specific session ID
show session id <id>

# Show security policy hits
show running security-policy

# Debug data plane (use with caution in production)
debug dataplane packet-diag set filter match source 10.1.1.1

# Clear the packet filter
debug dataplane packet-diag clear filter

# Show HA state
show high-availability state

# Show system resources (CPU, memory)
show system resources

Panorama Centralized Management

Panorama is Palo Alto Networks' centralized management platform. Instead of logging into each firewall individually, administrators manage all devices from a single Panorama console.

  • Device Groups — organize firewalls into logical groups; push shared policies and objects to the group
  • Templates — push consistent network configuration (interfaces, zones, routing) to multiple devices
  • Managed Firewalls — override specific settings per device when needed
  • Log Aggregation — Panorama collects logs from all managed firewalls for centralized search and reporting
  • Role-Based Access Control — define granular admin roles across the Panorama hierarchy

Panorama vs Local Management

In a Panorama-managed deployment, local changes on individual firewalls can be overridden by the next Panorama push. It is a best practice to make all changes in Panorama and disable local admin access or make it read-only to prevent configuration drift.