NGFW-Engineer Cheatsheet
Palo Alto Networks Certified Next-Generation Firewall Engineer
Download free PDFInterfaces, zones and virtual systems
Interface modes and VLANs
- **Layer 3** interfaces route IP traffic. **Layer 2** interfaces switch within a VLAN. **Virtual wire** transparently connects a pair of interfaces; **tap** observes mirrored traffic without enforcing inline policy.
- A **virtual wire** pair requires matching link speed and transmission mode. Match the connected network's tagging and physical interface capabilities.
- For routed VLANs over **Aggregate Ethernet**, use a Layer 3 parent with a tagged Layer 3 subinterface for each VLAN. Assign the routed subinterfaces to the routing instance and appropriate security zones.
- **DHCP client** and **DDNS client** functions depend on an IP-bearing Layer 3 interface. LLDP, NetFlow and link settings serve different purposes and should not be treated as Layer 3 addressing features.
Zones and packet protection
- **Security zones** group interfaces with similar trust requirements. Common types include Layer 2, Layer 3, Virtual Wire and Tap. Names such as trust or DMZ describe a design, not an interface mode.
- Default policy permits **intrazone** traffic and denies **interzone** traffic. Earlier matching rules can change either outcome. Two interfaces sharing a VLAN still need zone assignments and an applicable allow decision.
- Place networks allowed to communicate under the same trust policy in one zone. Separate sensitive networks into another zone so explicit rules control new sessions crossing the boundary.
- Apply **Zone Protection** to the ingress zone. **Flood Protection** handles excessive rates; **Reconnaissance Protection** handles scans and sweeps; **Packet-Based Attack Protection** handles malformed or suspicious IP, TCP and ICMP packets.
- Packet-based options include **spoofed IP addresses**, **split handshake**, non-SYN TCP handling and ICMP fragment controls. **Protocol Protection** controls non-IP protocols by EtherType.
Virtual systems and administrative scope
- A **VSYS** isolates policies, objects, administrators and assigned interfaces on a supported firewall. Resource quotas, including **maximum sessions**, constrain consumption; available limits depend on the platform.
- An **external zone** belongs to a VSYS and has no interface binding. It provides the policy boundary for traffic moving internally between virtual systems.
- Internal **inter-VSYS** forwarding requires visibility between the virtual systems, appropriate routing and policy in each traversed VSYS. Permit source-zone to external-zone traffic on one side and external-zone to destination-zone traffic on the other.
- An **Admin Role profile** defines management permissions. VSYS-scoped administrators cannot configure firewall-level routing objects; a missing Virtual Routers menu can reflect administrative scope.
Routing and site-to-site VPNs
Routing engine and route selection
- The legacy engine uses **virtual routers**; the **Advanced Routing Engine** uses logical routers. Enable Advanced Routing in device general settings, commit and reboot before configuring logical routers. Check platform and release support before migration.
- For the **same prefix** learned from different protocols, lower **administrative distance** wins. Protocol metrics select among routes within a protocol; **longest prefix match** selects the most specific installed route for forwarding.
- **Static-route path monitoring** probes beyond local link state and can remove a failed path from service. Set failure conditions deliberately when monitoring several destinations.
- The **preemptive hold time** delays route reinstatement after recovery. A value of **0** permits immediate reinstatement; a delay helps avoid repeated failback on an unstable path.
- Prevent **GRE recursive routing**: the route to the remote tunnel endpoint must resolve through the underlay, not through the GRE tunnel itself. A tunnel cannot provide its own endpoint reachability.
IPsec interfaces, routes and policy
- A route-based **IPsec VPN** combines an IKE gateway, crypto profiles, an IPsec tunnel and a tunnel interface. Assign the interface to a zone and routing instance, then route protected destinations through it.
- An **unnumbered tunnel interface** can carry statically routed traffic: select the tunnel as the outbound interface and **None** as the next hop. Assign a tunnel IP for dynamic routing or tunnel monitoring.
- Security policy must permit the intended **inner application traffic** between local and tunnel zones. Allow each required session-initiation direction; return packets in an established session use stateful inspection.
- Check **outer IKE/IPsec reachability** separately from inner policy: UDP 500, UDP 4500 for NAT traversal, and ESP where applicable. Permit negotiation traffic where explicit deny rules or transit firewalls would otherwise block it.
Negotiation and post-quantum protection
- The **IKE Crypto profile** protects IKE negotiation. The **IPsec Crypto profile** defines data-protection parameters for Child SAs. If IKE succeeds but Child SA fails, compare IPsec proposals, PFS and traffic selectors.
- **Proxy IDs** express local and remote protected subnets for interoperability with policy-based peers. Match the peer's selectors; additional subnet pairs may require additional Proxy IDs.
- **PQ PPK** mixes an additional high-entropy pre-shared secret into IKEv2 key derivation. Configure matching PPK identifiers and secrets on both peers; this is separate from the ordinary peer-authentication PSK.
- **PQ KEM** hybrid exchange combines classical key exchange with post-quantum mechanisms. Enable it on the IKE gateway and select additional key-exchange rounds in the **IKE Crypto profile**. Use IKEv2-only mode and compatible peer settings.
- Match supported algorithms and key-exchange rounds at both ends. Extra rounds increase negotiation overhead; post-quantum key exchange does not replace peer authentication or strong IPsec encryption.
Identity, certificates and remote access
Authentication and User-ID
- A **server profile** defines backend connectivity. An **authentication profile** adds the authentication method and allow list. An **authentication sequence** tries supported profiles in a defined order.
- With **Exit the sequence on failed authentication** enabled, a credential rejection from an applicable reachable backend stops evaluation. Do not assume a local profile will always provide fallback after an LDAP rejection.
- **SAML** profiles cannot be placed in an authentication sequence. Plan administrator authentication migration with a tested cutover, rollback and independent recovery access.
- **User-ID** maps IP addresses to users; **group mapping** maps users to directory groups. LDAP group mapping needs an LDAP server profile and group mapping settings. Authentication alone does not populate every group membership.
- Direct authenticated mappings from **GlobalProtect** or Authentication Portal avoid inference from unrelated server activity. Other sources include server monitoring, syslog, XML API and terminal-server IP/port mapping; manage freshness and username consistency.
Cloud identity distribution
- **Cloud Identity Engine** centralizes directory integration and identity services across on-premises and cloud sources. Distinguish directory users and groups from IP-to-user context learned by enforcement devices.
- **User Context segments** scope identity-context publication and redistribution to selected firewalls. Separate production, development or regional consumers so each receives only the context it needs.
- Directory group scoping and **redistribution segments** are different controls. Validate which data types each control filters; segmentation by itself does not establish a legal data-residency boundary.
Certificate roles and revocation
- A **certificate profile** defines trusted CAs, certificate identity mapping and revocation checks for client authentication. Provide the required root and intermediate chain and verify certificate purpose, validity and identity attributes.
- An **SSL/TLS service profile** supplies a server certificate and permitted TLS settings for services such as the management web interface, Authentication Portal and GlobalProtect portal or gateway.
- **OCSP** requests the status of individual certificates; a **CRL** is a downloaded list of revoked certificates. Cache behavior, responder reachability and failure policy determine practical latency and availability.
- Distribute trust consistently through **Panorama templates** and automate endpoint enrollment or renewal with tools such as Group Policy and SCEP. Keep user and machine authentication requirements explicit; protect private keys.
GlobalProtect connection design
- The **portal** distributes agent configuration and gateway information. The **gateway** authenticates endpoints and terminates remote-access tunnels. Configure the required server trust and client authentication on each service.
- **Pre-logon** uses a machine certificate to establish connectivity before Windows user sign-in. Apply narrow pre-logon access for domain services and endpoint management; use a certificate profile that trusts the issuing CA.
- After sign-in, **SAML with MFA** can authenticate the user separately. A valid machine certificate does not satisfy the user's MFA requirement or automatically grant full user access.
- **Split tunneling** chooses which network destinations use the VPN. **Split DNS** chooses which domains use VPN-assigned DNS versus local DNS; traffic routing and DNS selection must both support internal resources.
- With **Both Network Traffic and DNS**, domain-based handling also governs DNS resolution for the selected domains. Check endpoint support, internal DNS reachability and the actual domain list when names fail but public browsing works.
Web proxy and TLS inspection
- An **explicit proxy** receives browser requests sent to a configured proxy address and port, then establishes the external connection. **Kerberos** authentication can provide AD-based single sign-on when prerequisites are met.
- **SSL Forward Proxy** decrypts outbound TLS using substitute server certificates. Install the public issuing CA certificate in endpoint trust stores before enabling inspection broadly.
- The **Forward Trust** certificate signs substitutes for trusted destinations; **Forward Untrust** preserves an untrusted result for destinations that fail validation. Keep the signing private key protected on the firewall.
- A service's **server certificate**, a client-authentication **certificate profile** and a decryption **Forward Trust CA** have different roles. Browser trust errors after enabling decryption often indicate missing endpoint CA trust.
High availability and maintenance
HA links and failure detection
- **HA1** carries control communication and configuration synchronization. **HA2** synchronizes session and forwarding state. **HA3**, in active/active mode, forwards packets between peers for setup and asymmetric flows.
- **Heartbeat backup** uses management interfaces as an additional liveness path. If HA1 fails but the active peer remains reachable over heartbeat backup, the passive peer can remain passive; HA2 does not replace HA1 control functions.
- **Link monitoring** detects local interface failure on supported Layer 2, Layer 3 and virtual-wire links. **Path monitoring** tests reachability beyond the link. Configure group failure conditions to reflect the desired failover trigger.
- For an **LACP** aggregate in active/passive HA, **Enable in HA Passive State** supports pre-negotiation. Coordinate passive-link settings and switch configuration to reduce convergence delay.
Session processing and rolling upgrades
- In active/active HA, the **session owner** performs Layer 7 inspection and traffic logging. The **session setup** firewall performs initial Layer 2-4 processing; these responsibilities can belong to different peers.
- **First Packet** ownership with **IP Modulo** setup distributes responsibilities deterministically in asymmetric designs and reduces unnecessary HA3 forwarding. Select settings for the actual topology and validate traffic distribution.
- Before an **HA upgrade**, confirm synchronization, backups, supported upgrade path, compatible content and peer health. Control preemption so an unexpected failback does not interrupt the maintenance sequence.
- Upgrade and reboot the **passive peer** first, confirm readiness, then suspend the active peer for a controlled failover. Verify traffic before upgrading the remaining peer; restore the desired HA state and check synchronization.
- **State synchronization** and LACP pre-negotiation reduce disruption, but failover testing must include application sessions, routing convergence and tunnel recovery. Do not assume every session survives an upgrade.
Panorama, logging and operations
Panorama hierarchy and rule order
- **Device groups** organize policies and objects; **templates** and template stacks organize network and device settings. Commit changes to Panorama, then push the intended scope to managed firewalls.
- Security rule evaluation follows **Panorama pre-rules -> local firewall rules -> Panorama post-rules -> default rules**. Evaluation is top-down and first-match; a matching local rule does not continue into post-rules.
- By default, a descendant's same-named **object override** takes precedence over the inherited value. **Objects defined in ancestors will take higher precedence** reverses this and uses the highest ancestor containing that object.
- After changing **ancestor precedence**, commit to Panorama and push device-group changes. Review shadowed objects first because a Shared value can replace effective overrides across many descendants.
- Panorama provides central configuration, monitoring and software/content deployment. Use the correct **device group or template** for edits; use **context switch** when a task requires the individual firewall's local interface.
Log forwarding and collection
- A **Log Forwarding profile** uses match lists to select session-related logs and destinations such as Panorama/Cloud Logging, syslog, email, SNMP traps or HTTP. Attach the profile to the applicable Security rules.
- **Device log settings** handle device-oriented logs such as System and Configuration. **NetFlow** exports flow records through its own profile; RADIUS is an authentication service, not a log-forwarding destination.
- For **Strata Logging Service**, complete licensing, certificates, onboarding and connectivity. Enable **Duplicate Logging (Cloud and On-Premise)** when both cloud storage and Panorama collectors must receive logs.
- A **Collector Group** organizes log storage and device forwarding preferences. Size ingestion, retention and redundancy together; confirm collector model compatibility and usable capacity before grouping collectors.
- **Custom reports** query a selected database and time range. Detailed logs retain event-level fields; summary databases aggregate data. Choose Traffic, Threat, URL or other supported databases according to the fields required.
Management services and updates
- In configuration mode, **set deviceconfig system type dhcp-client** makes the management interface a DHCP client. Commit the change and account for how a changed address affects administrator access.
- A **service route** selects the source interface and address for supported firewall-generated services. Use an in-band data interface when the management network cannot reach update, DNS or logging destinations.
- For update downloads, check the **Palo Alto Networks Services** route, DNS, next-hop reachability and upstream policy. An **Interface Management profile** permits selected inbound management services; it does not select an outbound service route.
- A content-update **threshold** delays installation after release. Mission-critical guidance allows a delay of **up to 48 hours** for Applications and Threats content; review release notes and assess new App-ID policy impact.
Cloud deployment and automation
Firewall form factors and insertion
- **PA-Series** supplies physical appliances; **VM-Series** supplies virtual firewalls; **CN-Series** provides containerized enforcement for Kubernetes; **Cloud NGFW** provides managed cloud firewall services.
- For **AWS Transit Gateway** hub-and-spoke designs, centralized inspection uses a security VPC and routes that steer traffic through firewall endpoints. Distributed VPC designs can place endpoints near each application.
- In **Azure**, VNet deployments use route tables to steer inspected traffic. **Virtual WAN** designs can integrate Cloud NGFW into a secured hub. Match the insertion model to existing routing and supported central management.
- **CN-Series** secures Kubernetes traffic, including east-west pod communication. Deploy enforcement in the clusters using supported Kubernetes manifests or deployment tooling and traffic steering; use Panorama for consistent policy.
- **AI Runtime Security: Network Intercept** inserts inspection into AI application traffic paths. Discover dependencies, deploy the inspection path, observe detections and apply prevention policy to relevant AI threats.
Cloud availability and scaling
- Use **multiple availability zones**, health checks and supported cloud load-balancer insertion to survive a zone failure. Independent instances behind cloud load balancers provide a different design from a PAN-OS HA pair.
- In **AWS**, Gateway Load Balancer can distribute inspection flows across VM-Series instances, with EC2 Auto Scaling supplying capacity. Plan routes, endpoint placement and return-path symmetry.
- In **Azure**, supported load-balancer designs can distribute flows across VM-Series instances in different zones. In **Google Cloud**, use a supported multi-zone instance-group and internal load-balancer design.
- A healthy VM is not enough: verify **symmetric flow handling**, inspection readiness, route convergence and scale-in behavior. Preserve enough capacity to carry load after losing a zone or an instance.
Infrastructure as code and SD-WAN APIs
- **Terraform** declares infrastructure and tracks resource state, including VM-Series instances, networks and interfaces. **Ansible** uses repeatable playbooks for configuration, objects and policy; both can participate in infrastructure as code.
- Separate provisioning from configuration, keep desired state in version control, protect credentials and review plans or diffs. Firewall configuration changes require the appropriate **commit** and, for Panorama, device push.
- **REST API** resources are scoped by management target and location, such as a Panorama template or device group. Use **XML API** where the required operation is not available through REST; check the supported schema before constructing requests.
- An **SD-WAN interface profile** describes link characteristics; a **virtual SD-WAN interface** groups paths to the same destination. A **path quality profile** defines latency, jitter and packet-loss thresholds; a traffic distribution profile chooses replacement paths.
- Panorama REST workflows create **SD-WAN interface profiles** in template scope and **path quality profiles** in device-group scope. Create prerequisites first, reference them from interfaces or SD-WAN rules, then commit and push.