Traffic Protection Using IPsec Tunneling Protocol Overview
IPsec is a suite of related protocols that tunnel data between devices and cryptographically secure communications at the network layer. Each device in the VPN has the same IPsec configuration, enabling traffic between the devices to flow securely from source to destination.
Because IPsec functions at the Network Layer, it protects all data generated by any application or protocol that uses IP. Network Layer encryption protects data generated by all protocols at the upper layers of the protocol stack. It also protects all data throughout the entire journey of the packet. Data is encrypted at the source and remains encrypted until reaching its destination. Intermediate systems that transmit the packet (like routers and switches on the Internet) do not need to decrypt the packet to route it, and do not need to support IPsec.
When you create your VPN in NSM, you can use one or more IPsec services to establish the tunnel and protect your data. Typically, VPNs use encryption and authentication services to enable basic security between devices; however, for critical data paths, using certificates can greatly enhance the security of the VPN.
NSM supports the following IPsec data protection services for VPNs:
Using Authentication
To authenticate the data in the VPN tunnel, you can use the AH protocol, preshared secrets, or certificates. Table 1 describes the data authentication in the VPN tunnel.
Table 1: Data Authentication
Authentication only authenticates the data; it does not encrypt the data in the VPN. To ensure privacy, you must encrypt the data using ESP.
Using Encapsulating Security Payload (ESP)
ESP encrypts the data in the VPN with DES, Triple DES, or AES symmetric encryption. When the encrypted data arrives at the destination, the receiving device uses a key to decrypt the data. For additional security, you can encrypt the keys that decrypt the data using Diffie-Hellman asymmetric encryption. ESP can also authenticate data in the VPN using MD5 and SHA-1 algorithms. You can use ESP to encrypt, authenticate, or encrypt and authenticate data depending on your security requirements.
![]() |
Note: We strongly recommend that you do not use null AH with ESP. |
Because ESP uses keys to encrypt and decrypt data, each VPN node must have the correct key to send and receive VPN data through the VPN tunnel.
You can manually configure a key for each VPN node, or use a key exchange protocol to automate key generation and distribution. Table 2 describes how to configure keys.
Table 2: Configuring Keys


