The wrong answer 80% of candidates give
Interview: "Tunnel is UP. No traffic. Both peers see Phase 2 SAs installed. Why?"
Wrong answers: "DH group mismatch", "MTU", "Anti-spoofing". Right answer: the data plane is hitting Hide-NAT on egress to the tunnel; peer sees a public source IP that isn't in its encryption domain; peer drops as out-of-domain decrypt. The IKE phases finishing successfully tells you crypto + auth + peer-ID are all fine. The data plane fail is almost always encryption-domain or NAT-in-VPN.
💡 The chai-tapri handshake (the only mental model you need)
Two strangers at a Mumbai chai-tapri want to talk business privately. Phase 1 = namaste + showing ID card + agreeing on a hand-signal alphabet ("we'll both speak in Marathi reversed"). Main Mode = whisper IDs so no one nearby sees who they are. Aggressive Mode = shout names to save time (anyone listening learns who they are). Phase 2 = the actual deal terms ("for next 1 hour, every cup we order will be coded as 'kadak special'"). Without Phase 1 trust, Phase 2 never starts. Without the right "service area PIN-codes" — the encryption domain — the courier (DTDC) refuses to pick up the parcel.
① Star vs Mesh — the topology choice
Two community shapes in SmartConsole:
- Meshed — every gateway tunnels to every other gateway. 10 sites = 45 tunnels (O(n²)). Flat partner-to-partner network.
- Star — DC = Center, branches = Satellites. n-1 tunnels (O(n)). For branch-to-branch, enable "Satellites can communicate via center".
② IKE Phase 1 + 2 — the handshake every interview tests
Phase 1 (IKE SA / ISAKMP SA) authenticates peers and builds the encrypted control channel. Phase 2 (IPsec SA / Child SA) negotiates the actual data-encryption parameters.
Default Phase-1 crypto (modern community): AES-256 / SHA-256 / DH Group 14 (2048-bit), lifetime 1440 min. Phase 2: AES-256 / SHA-256, lifetime 3600 s, PFS Group 14 recommended in production.
▶ Watch the encryption-domain mismatch fail
Tunnel UP. LAN packet leaves Mumbai GW → gets Hide-NAT'd → ESP encrypted → arrives Bengaluru GW → rejected. Press Play to see exactly where it dies.
10.10.5.50:51234 → 10.50.5.20:443 (Bengaluru DC server)10.10.0.0/16 rewrites source → 203.0.113.5 (public). This is the bug.203.0.113.5 → peer-public. Inner = 203.0.113.5 (post-NAT) → 10.50.5.20.10.10.0.0/16. Inner source is 203.0.113.5 — not in domain.vpn tu menu 7 to flush SAs.4 concepts every interview asks about
Main Mode: 6 messages, identities encrypted. Aggressive Mode: 3 messages, identities cleartext + DH parallel with auth. Only use Aggressive with peers that can't do Main. IKEv2 = 4 msgs, identities encrypted, native NAT-T.
The subnets you announce as "behind this gateway". Peer's Phase-2 proxy-ID is built from this. Topology-auto = risky on new VLANs. Manually-defined group = production default.
Permanent tunnels with non-CP peers (Cisco/Forti/AWS) → use DPD (RFC 3706). Check Point's proprietary tunnel_test on UDP/18234 only works peer-to-peer with another CP gateway.
NAT-Traversal encapsulates ESP inside UDP/4500 when a NAT device is detected between peers. Auto-detected via vendor IDs + NAT-D in Phase 1. Required firewall openings: UDP/500, UDP/4500, IP proto 50.
In Phase 1 Main Mode, after which message pair are the peer identities FIRST encrypted?
③ Link Selection — when the gateway picks the wrong source IP
Behind ISP NAT? Gateway has internal IP 10.0.0.1 but the peer sees you as 203.0.113.5 (the ISP's published NAT). If Link Selection is left on auto, the gateway sources IKE from 10.0.0.1 — peer drops with INVALID_ID_INFORMATION.
Sneha at Infosys configures 25 branch sites with a central DC. All branch-to-branch traffic must inspect through the DC. Which community type and key setting?
④ The debug toolkit — the 60-second playbook
The CLI you actually use
vpn debug trunc # truncate old logs + start clean vpn debug ikeon # turn on IKE debug (writes $FWDIR/log/ike.elg) # ... reproduce the failure (push a packet across the tunnel) ... vpn debug ikeoff # turn off
vpn tu # interactive menu — list IKE SAs / IPsec SAs
# menu 7 = delete all SAs for a peer (force rekey)
cpview -t # live VPN counters — encrypt/decrypt errors
Peer: 198.51.100.10 Phase 1: AES-256/SHA-256/DH14 Lifetime: 24h State: Established Peer: 198.51.100.10 Phase 2: AES-256/SHA-256/PFS14 Lifetime: 1h State: Active
Open ike.elg in IKEView.exe on Windows. Decoded errors you'll see: NO_PROPOSAL_CHOSEN (DH/encryption mismatch), INVALID_ID_INFORMATION (Link Selection picking wrong source IP), AUTHENTICATION_FAILED (PSK or cert chain).
Aditya's gateway sits behind ISP NAT. Peer drops with INVALID_ID_INFORMATION in ike.elg. What's the fix in SmartConsole?
Route-based VPN (VTI) — when domain-based stops scaling
Domain-based VPN works on proxy-ID: "encrypt if dst is in peer's VPN domain". Rigid. Doesn't support OSPF/BGP across the tunnel. For dynamic routing (cloud VPN, multi-path failover, asymmetric routes), use VTI:
- Numbered VTI — tunnel gets its own /30 (e.g.
169.254.0.1/30). Required by Azure, AWS, OCI. - Unnumbered VTI — borrows a physical interface IP. Easier for many peers; needs a proxy interface.
- Gotcha: if both domain-based and VTI exist for a peer, domain-based wins by default. Force VTI by setting the VPN domain to an empty group (dummy object).
🤖 Ask the AI Tutor
Tap any question — instant context-aware answer drawn from this lesson + Check Point R81.20 docs + CheckMates threads.
Pre-curated answers from R81.20 admin guide + CheckMates. Deeper questions → chat.techclick.in.
The 5 mistakes that cost L1 candidates the VPN ticket
New VLAN added behind firewall, forgot to add to manual VPN domain group. Symptom: "VPN works for some servers but not the new one". Always use a manually-defined group; never trust topology-auto in production.
"Disable NAT inside the VPN community" not ticked → Hide-NAT rewrites tunnel traffic → peer rejects on encryption-domain mismatch. Hard rule: tick it for every domain-based community where peer expects pre-NAT subnets.
Non-CP peer doesn't reply to tunnel_test. Switch monitoring mode to DPD; configure DPD on peer.
Modern peer uses DH14+, legacy gateway proposes DH2. NO_PROPOSAL_CHOSEN in ike.elg. Align community encryption suite to AES-256/SHA-256/DH14 (or Suite-B GCM).
Tunnel up, small TCP works, large transfers stall. PMTUD blocked through the tunnel. Set VTI MTU 1400, TCP MSS clamp 1350. fw ctl set int fw_clamp_tcp_mss 1.
The 2024 lesson — CVE-2024-24919
April 30, 2024 — Quantum Security Gateway info-disclosure (CVSS 8.6) actively exploited from day one. Even pure S2S boxes were vulnerable if the IPsec-VPN blade was enabled. Hotfix in sk182336. Post-incident hygiene: patch the gateway, rotate ALL local passwords + certs, audit AD service accounts. Interview-grade answer: "I patch IPsec-VPN-enabled gateways within 24h of any CVE notification and keep the Mobile Access blade disabled unless required".
📝 Check your understanding — 10 questions, 70% to pass
Q1–Q3 above already count. Below are Q4 to Q10. Score saves to your profile.
Which 3 protocols/ports must be open between IPsec peers for a NAT-T site-to-site VPN?
Priya sees NO_PROPOSAL_CHOSEN in ike.elg immediately after Phase 1 message 1. What's the most likely cause and the diagnostic?
SmartView Monitor shows the tunnel to a Cisco ASA peer as DOWN. Users report traffic flowing perfectly. What's happening and what's the fix?
Tunnel UP, small TCP/UDP traffic works, but file downloads >100KB stall midway. What's the diagnosis?
Karthik's gateway logs say "according to the policy the packet should not have been decrypted". Both peers' encryption domains are visually correct. What's the next thing to check?
A team is building a mixed-vendor VPN fleet (Check Point + Cisco + Fortinet + AWS). Which permanent-tunnel monitoring scheme should they standardize on and why?
Reflecting on CVE-2024-24919: what's the right hygiene policy for a fleet of Check Point gateways running IPsec-VPN blade?
Next up — Check Point Identity Awareness
You can read ike.elg now. Next: AD Query, PDP/PEP topology, Captive Portal, Access Roles — the move from IP-based rules to user-based rules.
Sources cited inline
- R81.20 Site-to-Site VPN Admin Guide
- R81 — IPsec & IKE
- R81 — Link Selection
- R81 — Tunnel Management
- R81 — Route Based VPN (VTI)
- sk31619 — VPN tunnel is down
- sk106837 — Overlapping Encryption Domains
- sk32664 — CP Initiating IKE over NAT-T
- sk182336 — CVE-2024-24919 Hotfix
- CheckMates — Practical Advanced VPN Troubleshooting
- CCSE R81.20 (156-315.81.20) Syllabus