Introduction to NGFW & PAN-OS Architecture
Trademark Notice
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.
| Capability | Traditional Firewall | NGFW (PAN-OS) |
|---|---|---|
| Traffic identification | Port and protocol | Application signature (App-ID) |
| User awareness | IP address only | User and group via User-ID |
| SSL traffic | Passes through opaque | Can decrypt and inspect |
| Threat prevention | None built-in | IPS, AV, WildFire integrated |
| URL control | None | 75+ categories, PAN-DB |
| File inspection | None | File 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
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 Type | Layer | Description | Use Case |
|---|---|---|---|
| Layer 3 | L3 | Routes traffic; has IP address assigned | Standard routed deployment |
| Layer 2 | L2 | Switches traffic within a VLAN; no IP routing | Transparent deployment in existing L2 domain |
| Virtual Wire | L1 | Bump-in-the-wire; no MAC or IP; transparent to network | Inline IPS without network change |
| Tap Mode | Passive | Receives mirrored traffic only; no inline blocking | Passive monitoring / visibility |
| HA Interface | N/A | Dedicated to HA heartbeat and state synchronization | High Availability only |
| Loopback | L3 | Virtual interface with IP; never goes down | Management VIPs, BGP router-ID |
| Tunnel | L3 | Virtual interface for VPN tunnel endpoints | IPSec 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
# 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