VPN & Connectivity
Site-to-Site VPNs (IKE/IPSec) 31
Learning objectives
- Explain the two-phase IKE/IPSec model (Phase 1 vs. Phase 2)
- Map each phase to its firewall configuration object
- Distinguish site-to-site VPN from GlobalProtect remote access
Where GlobalProtect secures individual remote users, site-to-site VPN connects two networks — branch to HQ, or on-prem to cloud — over an encrypted tunnel built with the industry-standard IKE/IPSec protocol pair.
Why
Sites need to exchange traffic over the public internet without exposing it in the clear, and without the cost/lead-time of dedicated private circuits for every location. IPSec is the standard, vendor-interoperable way to do that.How
Two phases, two firewall objects: IKE Gateway (Phase 1) negotiates and authenticates the peer relationship — peer IP/identity, pre-shared-key or certificate authentication, and the IKE crypto profile. IPSec Tunnel (Phase 2, under Network > IPSec Tunnels) then builds the actual data-plane tunnel on top of that established Phase-1 relationship — tunnel interface binding, IPSec crypto profile, and (for policy-based peers) Proxy IDs that define which traffic selectors the tunnel carries. Once up, the tunnel appears to routing as a regular tunnel interface, so normal security policy and zone assignment apply to traffic crossing it just like any other interface. Tunnel status, restart, and refresh are managed the same place the tunnel is configured.Pros
- Standard IKE/IPSec interoperates with non-Palo-Alto VPN peers (routers, other vendors' firewalls, cloud VPN gateways)
- Tunnel traffic lands on a normal tunnel interface — existing zone/policy model applies unchanged
- Cheaper and faster to stand up than dedicated private circuits between sites
Cons
- Phase 1/Phase 2 mismatches (proposals, lifetimes, Proxy IDs) are the single most common cause of tunnels that won't come up
- Manually configuring many site-to-site tunnels doesn't scale — this is exactly the gap GlobalProtect LSVPN was built to close for branch-heavy deployments
- No inherent QoS/path-selection intelligence — a single IPSec tunnel is one static path, unlike SD-WAN's dynamic path selection
Exam trap
A tunnel that stays down almost always traces back to a Phase 1 or Phase 2 mismatch, not a routing problem: mismatched IKE/IPSec crypto proposals, mismatched lifetimes, or — for policy-based peers — Proxy IDs that don't mirror each other exactly on both ends. Checkshow vpn ike-sa / show vpn ipsec-sa
before assuming it's a zone or security-policy issue.Self-check
Q1. A site-to-site tunnel to a third-party router negotiates Phase 1 successfully but Phase 2 never comes up. What's the most likely cause, and which two firewall objects would you compare against the peer's config?
Q2. Why can a single site-to-site IPSec tunnel be a worse fit than GlobalProtect LSVPN for a company opening 200 new branch offices?
Source: ngfw/help/11-1/network/network-ipsec-tunnels
Quantum-Ready VPN 32
Learning objectives
- Explain the "harvest now, decrypt later" threat that motivates quantum-safe VPN
- Describe how Quantum Key Distribution (QKD) plugs into an existing IPSec tunnel
Traffic encrypted today with classical algorithms could be harvested and stored by an adversary now, then decrypted later once sufficiently powerful quantum computers exist — Quantum Key Distribution defends long-lived VPN traffic against that future risk today, not retroactively.
Why
"Harvest now, decrypt later" means data that needs to stay confidential for years (government, defense, long-term IP) is already at risk from classical-crypto interception, even though the decryption capability doesn't exist yet. Waiting until quantum computers are practical is too late for data captured today.How
Quantum Key Distribution (QKD) support lets the firewall source its IPSec encryption keys from a dedicated quantum-safe hardware appliance — a Key Management Entity (KME) — instead of (or alongside) classical Diffie-Hellman key exchange. A QKD profile (Device > Setup > Quantum) defines the connection to a specific KME: its URL, the firewall's local Security Application Entity (SAE) ID, and the certificate trust between firewall and KME (local certificate, KME CA certificate, KME server certificate). Once configured, the resulting high-quality quantum keys feed into the site-to-site IPSec tunnel's key material, hardening it against future quantum cryptanalysis without changing the surrounding IKE/IPSec tunnel model.Pros
- Defends against "harvest now, decrypt later" for traffic being captured today
- Layers onto the existing IPSec tunnel model rather than requiring a new VPN architecture
- Certificate-based trust to the KME keeps key delivery itself authenticated
Cons
- Requires physical QKD hardware (a KME appliance) — this isn't a pure software/licensing feature
- PAN-OS 12.1+ only, so it isn't available on older deployed code without an upgrade
- Realistically relevant only for organizations with genuinely long-horizon confidentiality needs, not general-purpose VPN traffic
Exam trap
QKD in PAN-OS is a key-sourcing mechanism layered onto the existing IPSec tunnel model — it does not replace IKE/IPSec, add a new tunnel type, or work without physical KME hardware. Don't confuse it with a purely software/licensing feature.Self-check
Q1. What specific future risk does "harvest now, decrypt later" describe, and why does it matter for data being encrypted today?
Q2. Which two categories of things does a QKD profile need to define to connect a firewall to a KME?
Source: ngfw/help/12-1/device/device-setup-quantum
Module Quiz
1. An engineer builds a new site-to-site VPN to a partner organization's Cisco router as a policy-based peer. Phase 1 negotiates successfully, and the engineer has already confirmed the IPSec crypto proposal and lifetime match on both ends. Phase 2 still never establishes. What is the most likely remaining mismatch to check?
2. A retailer is opening 200 new branch stores over the next year and wants each new store's firewall to automatically establish a tunnel back to headquarters, without an engineer hand-building an IKE Gateway and IPSec Tunnel object for every site. Which approach fits, and why is manual site-to-site IPSec a poor match here?
3. Once a site-to-site IPSec tunnel is up between HQ and a cloud VPC and traffic starts flowing across it, how does that traffic get evaluated for security policy?
4. A newly built site-to-site tunnel refuses to come up. Before assuming it's a routing or zone problem, the on-call engineer runs show vpn ike-sa and show vpn ipsec-sa. Which two are genuinely common root causes worth checking first? (Choose two.)
5. A defense contractor transmits data today that must remain confidential for at least 20 years. Security argues the current classical-crypto VPN tunnels are already at risk, even though no quantum computer capable of breaking them exists yet. What threat model are they describing, and why does it matter now rather than only once quantum computers mature?
6. An engineer is configuring Quantum-Ready VPN for the first time and needs to connect the firewall to a Key Management Entity (KME). What two categories of settings does the QKD profile need, and where does trust between firewall and KME come from?
7. A security architect is evaluating whether to enable Quantum-Ready VPN on a pair of firewalls running PAN-OS 11.1 that currently terminate a standard IPSec tunnel to a partner. What has to be true before this is even possible?
8. A company has exactly one always-on connection between its data center and a single cloud VPC, and separately a government contract requiring 25-year confidentiality for data crossing that link. Which two statements correctly describe how to design this? (Choose two.)