
Chapter 20 IPSec VPN
ZyWALL 110/310/1100 Series User’s Guide
311
Note: The ZyWALL and remote IPSec router must use the same active protocol.
Usually, you should select ESP. AH does not support encryption, and ESP is more suitable with NAT.
Encapsulation
There are two ways to encapsulate packets. Usually, you should use tunnel mode because it is more
secure. Transport mode is only used when the IPSec SA is used for communication between the
ZyWALL and remote IPSec router (for example, for remote management), not between computers
on the local and remote networks.
Note: The ZyWALL and remote IPSec router must use the same encapsulation.
These modes are illustrated below.
In tunnel mode, the ZyWALL uses the active protocol to encapsulate the entire IP packet. As a
result, there are two IP headers:
• Outside header: The outside IP header contains the IP address of the ZyWALL or remote IPSec
router, whichever is the destination.
• Inside header: The inside IP header contains the IP address of the computer behind the ZyWALL
or remote IPSec router. The header for the active protocol (AH or ESP) appears between the IP
headers.
In transport mode, the encapsulation depends on the active protocol. With AH, the ZyWALL includes
part of the original IP header when it encapsulates the packet. With ESP, however, the ZyWALL
does not include the IP header when it encapsulates the packet, so it is not possible to verify the
integrity of the source IP address.
IPSec SA Proposal and Perfect Forward Secrecy
An IPSec SA proposal is similar to an IKE SA proposal (see
), except
that you also have the choice whether or not the ZyWALL and remote IPSec router perform a new
DH key exchange every time an IPSec SA is established. This is called Perfect Forward Secrecy
(PFS).
If you enable PFS, the ZyWALL and remote IPSec router perform a DH key exchange every time an
IPSec SA is established, changing the root key from which encryption keys are generated. As a
result, if one encryption key is compromised, other encryption keys remain secure.
Figure 191
VPN: Transport and Tunnel Mode Encapsulation
Original Packet
IP Header
TCP
Header
Data
Transport Mode Packet
IP Header
AH/ESP
Header
TCP
Header
Data
Tunnel Mode Packet
IP Header
AH/ESP
Header
IP Header
TCP
Header
Data
Содержание ZyWALL 110 Series
Страница 16: ...ZyWALL 110 310 1100 Series User s Guide 16...
Страница 32: ...Chapter 1 Introduction ZyWALL 110 310 1100 Series User s Guide 32...
Страница 42: ...Chapter 3 Hardware Introduction ZyWALL 110 310 1100 Series User s Guide 42...
Страница 68: ...Chapter 4 Quick Setup Wizards ZyWALL 110 310 1100 Series User s Guide 68...
Страница 83: ...Chapter 6 Monitor ZyWALL 110 310 1100 Series User s Guide 83 Figure 60 Monitor System Status Interface Status...
Страница 128: ...Chapter 7 Interfaces ZyWALL 110 310 1100 Series User s Guide 128 Figure 83 Configuration Network Interface PPP Add...
Страница 135: ...Chapter 7 Interfaces ZyWALL 110 310 1100 Series User s Guide 135 Figure 85 Configuration Network Interface Cellular Add...
Страница 176: ...Chapter 7 Interfaces ZyWALL 110 310 1100 Series User s Guide 176...
Страница 186: ...Chapter 8 Trunk ZyWALL 110 310 1100 Series User s Guide 186...
Страница 210: ...Chapter 10 Routing Protocols ZyWALL 110 310 1100 Series User s Guide 210...
Страница 220: ...Chapter 12 DDNS ZyWALL 110 310 1100 Series User s Guide 220...
Страница 228: ...Chapter 13 NAT ZyWALL 110 310 1100 Series User s Guide 228...
Страница 240: ...Chapter 15 ALG ZyWALL 110 310 1100 Series User s Guide 240...
Страница 246: ...Chapter 16 IP MAC Binding ZyWALL 110 310 1100 Series User s Guide 246...
Страница 263: ...Chapter 18 Authentication Policy ZyWALL 110 310 1100 Series User s Guide 263...
Страница 264: ...Chapter 18 Authentication Policy ZyWALL 110 310 1100 Series User s Guide 264...
Страница 270: ...Chapter 19 Firewall ZyWALL 110 310 1100 Series User s Guide 270 Figure 163 Configuration Firewall...
Страница 296: ...Chapter 20 IPSec VPN ZyWALL 110 310 1100 Series User s Guide 296 Figure 182 Configuration VPN IPSec VPN VPN Gateway Edit...
Страница 316: ...Chapter 20 IPSec VPN ZyWALL 110 310 1100 Series User s Guide 316...
Страница 340: ...Chapter 22 SSL User Screens ZyWALL 110 310 1100 Series User s Guide 340...
Страница 442: ...Chapter 36 DHCPv6 ZyWALL 110 310 1100 Series User s Guide 442...
Страница 540: ...Appendix A Legal Information ZyWALL 110 310 1100 Series User s Guide 540...
Страница 558: ...Index ZyWALL 110 310 1100 Series User s Guide 558...
Страница 559: ...Index ZyWALL 110 310 1100 Series User s Guide 559...
Страница 560: ...Index ZyWALL 110 310 1100 Series User s Guide 560...
Страница 561: ...Index ZyWALL 110 310 1100 Series User s Guide 561...
Страница 562: ...Index ZyWALL 110 310 1100 Series User s Guide 562...