Tagged: IPsec
16 posts · browse all tags
-
PKI for FortiGate, Part 1: How a Certificate Authority Actually Works
A plain explanation of key pairs, signatures, certificates, chains of trust and CSRs, written so that the rest of a FortiGate PKI series makes sense. No product knowledge needed.
-
PKI for FortiGate, Part 2: Designing the Hierarchy and Protecting the Keys
Which keys exist in a small FortiGate PKI, where each one lives, how long each certificate lasts, and what it costs you when each key is lost or stolen.
-
PKI for FortiGate, Part 3: Issuing and Renewing FortiGate Certificates
The device generates its own key, only the CSR leaves it, and a renewal is a new key under a new object name. What the sequence looks like on FortiOS 7.6.8, and why the old certificate stays valid until you revoke it.
-
PKI for FortiGate, Part 4: What the FortiGate Checks When a Peer Presents a Certificate
A line-by-line read of a successful IKEv2 certificate authentication on FortiOS 7.6.8: the identity check, the chain walk, one CRL check per CA, and the peer rule that pins issuer and common name.
-
PKI for FortiGate, Part 5: Revocation, Tested
Revoking a leaf, losing a CRL, and revoking an intermediate, each tested on FortiOS 7.6.8 with the debug lines that prove what happened and how long a revoked certificate kept working.
-
PKI for FortiGate, Part 6: Fail-Open, Fail-Closed and the Settings That Decide
Three FortiOS settings decide what happens when a CRL is missing or expired. Each was tested on 7.6.8, including the findings that an expired CRL is still enforced and that an expired empty one is silently accepted.
-
PKI for FortiGate, Part 7: Running It, and What I Have Not Tested
The dates to put in a calendar, the root CRL re-signing procedure, a revocation runbook built from the tests, and an honest list of what the lab does not yet prove.
-
Do VLAN Tags and QinQ Reduce Your MTU? 1500, 1504, 1522 and the 1438 Mystery
Do VLAN tags and QinQ shrink your MTU? Only if something on the path caps the frame size. How 802.1Q and 802.1ad frames work, where 1504 comes from, and why IPsec NAT-T on a 1500 byte link tops out at 1438, not 1435.
-
step-ca for FortiGate IPsec Certificate Authentication: Issuing, Revoking and Testing
How I built a small open-source CA with step-ca for FortiGate IKEv2 certificate authentication, how the certificates were issued, how revocation was tested (and how long a revoked cert keeps working), the gotchas, and whether I'd choose it in production.
-
Proving the Path Part 5: Policy/NAT and IPsec
The tunnel the pinned session is using never went down. The policy it matched hasn't changed. Both of those facts are true, and neither of them means the session's path was healthy the whole time it mattered.
-
IPsec Deep Dive Part 1: ESP, AH, and How IKE Phase 1 Actually Brings a Tunnel Up
IPsec underpins every Fortinet SDWAN overlay this blog has built, and it's never had its own deep dive. Part 1 fixes that: the SA model, ESP vs AH, tunnel vs transport, and a message-by-message walk through IKEv1 main mode, aggressive mode, and IKEv2.
-
IPsec Deep Dive Part 2: Phase 2, Child SAs, and the Anatomy of an ESP Packet
Phase 1 built a control channel and protected nothing. Part 2 covers the negotiation that actually moves data: quick mode and child SAs, traffic selectors, PFS, rekeying, and anti-replay — then dissects an ESP packet field by field, down to the MTU math.
-
IPsec Deep Dive Part 3: NAT vs IPsec — NAT-T, Port Forwarding, and the Fortinet SDWAN Reality
NAT breaks IPsec three distinct ways — AH's ICV, ESP's missing ports, and IKE's rewritten source port. Part 3 covers each break, how NAT-D detects it and NAT-T's UDP 4500 encapsulation repairs it, when port forwarding is still required, and what it all means for SDWAN spokes behind CPE NAT.
-
SDWAN Resilience Part 2: BGP on Loopback
Why we peer BGP on loopbacks instead of tunnel-interface IPs, the FortiOS dynamic-IPsec config that makes it work, the spoke-side reciprocal config, and why hub-to-hub iBGP is the wrong answer in a no-DCI active/standby topology.
-
A Day in the Life of a Packet on a 50G FortiGate, Part 5: Egress, NPU Offload, and the Full Troubleshooting Cookbook
The packet is decided. Now it has to actually leave. Egress shaping, NPU offload re-evaluation, IPsec encap, ARP, transmit. Then a single-page reference of every diagnose, get, and show command from across this series.
-
NSE4 Part 8: IPsec VPN
Part 8 of the NSE4 study series — IKEv1 vs IKEv2, route-based vs policy-based, site-to-site and dial-up, NAT traversal, dead peer detection, and the two diagnostic commands that separate a Phase 1 problem from a Phase 2 problem.