How To Configure IPsec Tunnel Between SD-WAN and Third-Party Devices
To configure IPsec tunnel, ensure that you create intranet service. See Create Intranet Service
To configure IPsec Tunnel for Intranet or LAN service:
In the Configuration Editor, navigate to Connections > Site Name > IPsec Tunnels. Choose a Service Type (LAN or Intranet).
Enter a Name for the service type. For intranet service type, the configured intranet server determines which Local IP addresses are available.
Select the available Local IP address and enter the Peer IP address for the virtual path to peer with.
If the Service Type is Intranet, the IP address is pre-determined by the chosen Intranet Service.
Configure IPsec settings by applying the criteria described in the following tables. When finished, click Apply to save your settings.
|Service Type||Choose a service type from the drop-down menu||Intranet, LAN|
|Name||If the service type is Intranet, choose from the list of configured intranet services in the drop-down menu. If the service type is LAN, enter a unique name||Text string|
|Local IP||Choose the local IP address of the IPsec Tunnel from the drop-down menu of available virtual IP addresses configured at this Site||IP address|
|Peer IP||Enter the peer IP address of the IPsec Tunnel||IP address|
|MTU||Enter the MTU for fragmenting IKE and IPSec fragments||Default: 1500|
|IKE Settings||Version: Choose an IKE version from the drop-down menu||IKEv1 IKEv2|
|Mode||Choose a mode from the drop-down menu||FIPS compliant: Main, Non-FIPS compliant: Aggressive|
|Identity||Choose an Identity from the drop-down menu||Auto IP Address Manual IP Address User FQDN|
|Authentication||Choose the authentication type from the drop-down menu||Pre-Shared Key: If you are using a pre-shared key, copy and paste it into this field. Click on the Eyeball () icon to view the Pre-Shared Key. Certificate: If you are using an identity certificate, choose it from the drop-down menu.|
|Validate Peer Identity||Select this checkbox to validate the IKE’s peer. If the peer’s ID type is not supported, do not enable this feature||None|
|DH Group||Choose Diffie–Hellman group to use for IKE key generation from the drop-down menu||Non-FIPS compliant: Group 1, FIPS-compliant: Group 2 Group 5 Group 14 Group 15 Group 16 Group 19 Group 20 Group 21|
|Hash Algorithm||Choose an algorithm from the drop-down menu to authenticate IKE messages||Non-FIPS compliant: MD5 FIPS compliant: SHA1 SHA-256|
|Encryption Mode||Choose the Encryption Mode for IKE messages from the drop-down menu||AES 128-bit AES 192-bit AES 256-bit|
|Lifetime (s)||Enter the preferred duration, in seconds, for an IKE security association to exist||3600 seconds (default)|
|Lifetime (s) Max||Enter the maximum preferred duration, in seconds, to allow an IKE security association to exist||86400 seconds (default)|
|DPD Timeout (s)||Enter the Dead Peer Detection timeout, in seconds, for VPN connections||300 seconds (default)|
|IKEv2||Peer Authentication: Choose Peer Authentication from the drop-down menu||Mirrored Pre-Shared Key Certificate|
|IKE2 - Pre-shared key||Peer Pre-Shared Key: Paste the IKEv2 Peer Pre-Shared Key into this field for authentication. Click the eyeball () icon to view the Pre-Shared Key||Text string|
|Integrity Algorithm||Choose an algorithm as the hashing algorithm to use for HMAC verification from the drop-down menu||Non-FIPS compliant: MD5 FIPS compliant: SHA1 SHA-256|
If the terminating IPSec router includes Hash-based Message Authentication Code (HMAC) in the config, change the IPSec mode to EXP+Auth with a hashing algorithm as SHA1.
IPsec and IPsec Protected Network Settings
|Tunnel Type||Choose the Tunnel Type from the drop-down menu||ESP ESP+Auth ESP+NULL AH|
|PFS Group||Choose Diffie–Hellman group to use for perfect forward secrecy key generation from the drop-down menu||None Group 1 Group 2 Group 5 Group 14 Group 15 Group 16 Group 19 Group 20 Group 21|
|Encryption Mode||Choose the Encryption Mode for IPsec messages from the drop-down menu||If you chose ESP or ESP+ Auth, select either one of the following, - AES 128-bit AES 192-bit AES 256-bit AES 128-bit GCM 64-Bit AES 192-bit GCM 64-Bit AES 256-bit GCM 64-Bit AES 128-bit GCM 96-Bit AES 192-bit GCM 96-Bit AES 256-bit GCM 96-Bit AES 128-bit GCM 128-Bit AES 192-bit GCM 128-Bit AES 256-bit GCM 128-Bit|
|Lifetime (s)||Enter the amount of time, in seconds to allow an IPsec security association to exist||28800 seconds (default)|
|Lifetime Max (s)||Enter the maximum amount of time, in seconds to allow an IPsec security association to exist||86400 seconds (default)|
|Lifetime (KB)||Enter the amount of data, in kilobytes, for an IPsec security association to exist||Kilobytes|
|Lifetime (KB) Max||Enter the maximum amount of data, in kilobytes, to allow an IPsec security association to exist||Kilobytes|
|Network Mismatch Behavior||Choose the action to take if a packet does not match the IPsec Tunnel’s Protected Networks from the drop-down menu||Drop, Send Unencrypted, Use Non-IPsec Route|
|IPsec Protected Networks||Source IP/Prefix: After clicking the Add (+ Add) button, enter the Source IP and Prefix of the network traffic the IPsec Tunnel will protect||IP address|
|IPSec Protected Networks||Destination IP/Prefix: Enter the Destination IP and Prefix of the network traffic the IPsec Tunnel protects||IP address|