IPsec VPN traffic is secured in two stages:
•
|
Authentication: The first phase establishes the authenticity of the sender and receiver of the traffic using an exchange of the public key portion of a public-private key pair. This phase must be successful before the VPN tunnel can be established.
|
•
|
Encryption: The traffic in the VPN tunnel is encrypted, using an encryption algorithm such as AES or 3DES.
|
•
|
IKE version 1 uses a two phase process to secure the VPN tunnel.
•
|
IKE Phase 1 is the authentication phase. The nodes or gateways on either end of the tunnel authenticate with each other, exchange encryption/decryption keys, and establish the secure tunnel. See IKE Phase 1.
|
•
|
IKE Phase 2 is the negotiation phase. Once authenticated, the two nodes or gateways negotiate the methods of encryption and data verification (using a hash function) to be used on the data passed through the VPN and negotiate the number of secure associations (SAs) in the tunnel and their lifetime before requiring renegotiation of the encryption/decryption keys. See IKE Phase 2.
|
•
|
Main Mode: The node or gateway initiating the VPN queries the node or gateway on the receiving end, and they exchange authentication methods, public keys, and identity information. This usually requires six messages back and forth. The order of authentication messages in Main Mode is:
|
•
|
Aggressive Mode: To reduce the number of messages exchanged during authentication by half, the negotiation of which cryptographic algorithm to use is eliminated. The initiator proposes one algorithm and the responder replies if it supports that algorithm:
|
The two types of security for individual packets are:
•
|
Encryption Secured Payload (ESP), in which the data portion of each packet is encrypted using a protocol negotiated between the parties.
|
•
|
Authentication Header (AH), in which the header of each packet contains authentication information to ensure the information is authenticated and has not been tampered with. No encryption is used for the data with AH.
|
SonicOS supports the following encryption methods for Traffic through the VPN.
•
|
•
|
•
|
•
|
•
|
IKEv2 initializes a VPN tunnel with a pair of message exchanges (two message/response pairs).
IKEv2 configuration payloads are intended for relatively small-scale deployments.
•
|
Common Name (CN): This field must contain the fully qualified DNS name or IP address of the remote access server. If the server is located behind a network address translating (NAT) router, then the certificate must contain the fully qualified DNS name or IP address of the external connection of the NAT router (the address that the client computer sees as the address of the server).
|
•
|
EKU: This field must includes Server Authentication. If there is more than one server authentication certificate, additionally include the IP security IKE intermediate EKU. Only one certificate should have both EKU options, otherwise IPsec cannot determine which certificate to use, and might not pick the certificate you intended. For more information, see:
|
http://technet.microsoft.com/en-us/library/dd941612(WS.10).aspx.