beautypg.com

1 nat traversal configuration, 7 id type and content, Figure 104 nat router between ipsec routers – ZyXEL Communications ZyXEL ZyWALL 5 User Manual

Page 225

background image

ZyWALL 5 User’s Guide

224

Chapter 14 VPN Screens

Figure 104 NAT Router Between IPSec Routers

Normally you cannot set up a VPN connection with a NAT router between the two IPSec
routers because the NAT router changes the header of the IPSec packet. In the previous figure,
IPSec router A sends an IPSec packet in an attempt to initiate a VPN. The NAT router changes
the IPSec packet’s header so it does not match the header for which IPSec router B is
checking. Therefore, IPSec router B does not respond and the VPN connection cannot be built.

NAT traversal solves the problem by adding a UDP port 500 header to the IPSec packet. The
NAT router forwards the IPSec packet with the UDP port 500 header unchanged. IPSec router
B checks the UDP port 500 header and responds. IPSec routers A and B build a VPN
connection.

14.6.1 NAT Traversal Configuration

For NAT traversal to work you must:

• Use ESP security protocol (in either transport or tunnel mode).
• Use IKE keying mode.
• Enable NAT traversal on both IPSec endpoints.

In order for IPSec router A (see

Figure 104 on page 224

) to receive an initiating IPSec packet

from IPSec router B, set the NAT router to forward UDP port 500 to IPSec router A.

14.7 ID Type and Content

With aggressive negotiation mode (see

Section 14.8.1 on page 227

), the ZyWALL identifies

incoming SAs by ID type and content since this identifying information is not encrypted. This
enables the ZyWALL to distinguish between multiple rules for SAs that connect from remote
IPSec routers that have dynamic WAN IP addresses. Telecommuters can use separate
passwords to simultaneously connect to the ZyWALL from IPSec routers with dynamic IP
addresses (see

Section 14.16.2 on page 250

for a telecommuter configuration example).

Note: Regardless of the ID type and content configuration, the ZyWALL does not

allow you to save multiple active rules with overlapping local and remote IP
addresses.

With main mode (see

Section 14.8.1 on page 227

), the ID type and content are encrypted to

provide identity protection. In this case the ZyWALL can only distinguish between up to 12
different incoming SAs that connect from remote IPSec routers that have dynamic WAN IP
addresses. The ZyWALL can distinguish up to 12 incoming SAs because you can select