What Are VPN Negotiation Parameters? What Are Their Default Values?
| Policy | Parameter | Value |
|---|---|---|
| IKE | Authentication Algorithm | SHA2-256 (default), SHA1, MD5, SHA2-384, and SHA2-512 |
| Encryption Algorithm | AES-128 (default), AES-192, AES-256, and 3DES | |
| DH Algorithm | Group 14 (default), Group 1, Group 2, Group 5, Group 15, Group 16, Group 19, Group 20, and Group 21 NOTE: In some regions, only Group 14, Group 2, and Group 5 are available. | |
| Version | v2 (default) and v1 | |
| Lifecycle (s) | 86400 (default) Unit: Second Value range: 60 to 604800 | |
| Negotiation Mode | Main (default) and Aggressive This parameter is mandatory when Version is set to v1. | |
| IPsec | Authentication Algorithm | SHA2-256 (default), SHA1, MD5, SHA2-384, and SHA2-512 |
| Encryption Algorithm | AES-128 (default), AES-192, AES-256, and 3DES | |
| PFS | DH group 14 (default), DH group 1, DH group 2, DH group 5, DH group 15, DH group 16, DH group 19, DH group 20, DH group 21, or Disable NOTE: In some regions, only DH group 14, DH group 2, and DH group 5 are available. | |
| Transfer Protocol | ESP (default), AH, and AH-ESP | |
| Packet Encapsulation Mode | TUNNEL | |
| Lifecycle (s) | 3600 (default) Unit: Second Value range: 480 to 604800 |
- Perfect Forward Secrecy (PFS) is a security feature.
IKE negotiation has two phases, phase one and phase two. The key of phase two (IPsec SA) is derived from the key generated in phase one. Once the key in phase one is disclosed, the security of the IPsec VPN may be adversely affected. To improve the key security, IKE provides the PFS function. After PFS is turned on, an additional DH exchange will be performed during IPsec SA negotiation, and a new IPsec SA key will be generated, improving IPsec SA security.
- To add an extra layer of protection, PFS is enabled on HUAWEI CLOUD by default. Ensure that PFS is also enabled on the gateway in your data center. Otherwise, the negotiation will fail.
- To enable PFS, ensure that the configurations on both ends of a VPN are the same.
- The traffic-based lifetime of IPsec SA on the HUAWEI CLOUD VPN is default to 1,843,200 KB and cannot be changed. This lifetime does not affect the establishment of an IPsec SA.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.