
So let’s crank up the debugger on the FortiGate to grab the Cookie and Encryption key: diagnose debug enable Analyze the first packet that is labeled as Aggressive The Payload Security Association contains the Proposals Phase 1Įnsure that the Phase 1 configuration on the FortiGate contains one of the above combinationsĪs the Phase 2 is encrypted by the Phase 1, we’ll have to decrypt this data in Wireshark (you could also grab them from the debug output, but it’s less fun). The same procedure can be used to identify the parameters of any IPsec client.Ī Wireshark capture (udp.port = 500) of the initial connection reveals the phase 1 proposals of the IPsec client. In case you’re out of luck, the following information will help you to adjust the parameters of the IPsec Tunnel on the FortiGate. The following steps were performed using macOS 10.15.7 and FortiOS 6.4.4. If using PKI, the FortiGate must present a valid certificate (macOS does check the FQDN and trust state).For certificate based authentication (PKI), the tunnel must operate in main mode.You have to concatenate the code directly after the password (without any separator character).


FortiToken), Challenge-Response isn’t supported. When using two factor authentication (e.g.Enter the Preshared Key (PSK) and optionally the Peer ID in the authentication options.Configure the server address and username.

