
Chapter 20 IPSec VPN
ZyWALL 110/310/1100 Series User’s Guide
307
Diffie-Hellman (DH) Key Exchange
The ZyWALL and the remote IPSec router use DH public-key cryptography to establish a shared
secret. The shared secret is then used to generate encryption keys for the IKE SA and IPSec SA. In
main mode, this is done in steps 3 and 4, as illustrated next.
Figure 188
IKE SA: Main Negotiation Mode, Steps 3 - 4: DH Key Exchange
DH public-key cryptography is based on DH key groups. Each key group is a fixed number of bits
long. The longer the key, the more secure the encryption, but also the longer it takes to encrypt
and decrypt information. For example, DH2 keys (1024 bits) are more secure than DH1 keys (768
bits), but DH2 keys take longer to encrypt and decrypt.
Authentication
Before the ZyWALL and remote IPSec router establish an IKE SA, they have to verify each other’s
identity. This process is based on pre-shared keys and router identities.
In main mode, the ZyWALL and remote IPSec router authenticate each other in steps 5 and 6, as
illustrated below. The identities are also encrypted using the encryption algorithm and encryption
key the ZyWALL and remote IPSec router selected in previous steps.
Figure 189
IKE SA: Main Negotiation Mode, Steps 5 - 6: Authentication (continued)
You have to create (and distribute) a pre-shared key. The ZyWALL and remote IPSec router use it in
the authentication process, though it is not actually transmitted or exchanged.
Diffie-Hellman key exchange
3
4
X
Y
Step 5:
pre-shared key
ZyWALL identity, consisting of
- ID type
- content
Step 6:
pre-shared key
Remote IPSec router identity, consisting of
- ID type
- content
5
6
X
Y
Summary of Contents for ZyWALL 110 Series
Page 16: ...ZyWALL 110 310 1100 Series User s Guide 16...
Page 32: ...Chapter 1 Introduction ZyWALL 110 310 1100 Series User s Guide 32...
Page 42: ...Chapter 3 Hardware Introduction ZyWALL 110 310 1100 Series User s Guide 42...
Page 68: ...Chapter 4 Quick Setup Wizards ZyWALL 110 310 1100 Series User s Guide 68...
Page 176: ...Chapter 7 Interfaces ZyWALL 110 310 1100 Series User s Guide 176...
Page 186: ...Chapter 8 Trunk ZyWALL 110 310 1100 Series User s Guide 186...
Page 210: ...Chapter 10 Routing Protocols ZyWALL 110 310 1100 Series User s Guide 210...
Page 220: ...Chapter 12 DDNS ZyWALL 110 310 1100 Series User s Guide 220...
Page 228: ...Chapter 13 NAT ZyWALL 110 310 1100 Series User s Guide 228...
Page 240: ...Chapter 15 ALG ZyWALL 110 310 1100 Series User s Guide 240...
Page 246: ...Chapter 16 IP MAC Binding ZyWALL 110 310 1100 Series User s Guide 246...
Page 263: ...Chapter 18 Authentication Policy ZyWALL 110 310 1100 Series User s Guide 263...
Page 264: ...Chapter 18 Authentication Policy ZyWALL 110 310 1100 Series User s Guide 264...
Page 316: ...Chapter 20 IPSec VPN ZyWALL 110 310 1100 Series User s Guide 316...
Page 340: ...Chapter 22 SSL User Screens ZyWALL 110 310 1100 Series User s Guide 340...
Page 442: ...Chapter 36 DHCPv6 ZyWALL 110 310 1100 Series User s Guide 442...
Page 540: ...Appendix A Legal Information ZyWALL 110 310 1100 Series User s Guide 540...
Page 558: ...Index ZyWALL 110 310 1100 Series User s Guide 558...
Page 559: ...Index ZyWALL 110 310 1100 Series User s Guide 559...
Page 560: ...Index ZyWALL 110 310 1100 Series User s Guide 560...
Page 561: ...Index ZyWALL 110 310 1100 Series User s Guide 561...
Page 562: ...Index ZyWALL 110 310 1100 Series User s Guide 562...