Chapter 16 VPN
ADSL Series User’s Guide
214
IPSec using ESP in Tunnel mode encapsulates the entire original packet (including headers) in a
new IP packet. The new IP packet's source address is the outbound address of the sending VPN
gateway, and its destination address is the inbound address of the VPN device at the receiving end.
When using ESP protocol with authentication, the packet contents (in this case, the entire original
packet) are encrypted. The encrypted contents, but not the new headers, are signed with a hash
value appended to the packet.
Tunnel mode ESP with authentication is compatible with NAT because integrity checks are
performed over the combination of the "original header plus original payload," which is unchanged
by a NAT device.
Transport mode ESP with authentication is not compatible with NAT.
16.6.3 VPN, NAT, and NAT Traversal
NAT is incompatible with the AH protocol in both transport and tunnel mode. An IPSec VPN using
the AH protocol digitally signs the outbound packet, both data payload and headers, with a hash
value appended to the packet, but a NAT device between the IPSec endpoints rewrites the source or
destination address. As a result, the VPN device at the receiving end finds a mismatch between the
hash value and the data and assumes that the data has been maliciously altered.
NAT is not normally compatible with ESP in transport mode either, but the ZyXEL Device’s NAT
Traversal feature provides a way to handle this. NAT traversal allows you to set up an IKE SA when
there are NAT routers between the two IPSec routers.
Figure 111
NAT Router Between IPSec Routers
Normally you cannot set up an IKE SA with a NAT router between the two IPSec routers because
the NAT router changes the header of the IPSec packet. 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. In
, when IPSec router A tries to establish an
IKE SA, IPSec router B checks the UDP port 500 header, and IPSec routers A and B build the IKE
SA.
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.
Table 66
VPN and NAT
SECURITY PROTOCOL
MODE
NAT
AH
Transport
N
AH
Tunnel
N
ESP
Transport
N
ESP
Tunnel
Y
A
B
Summary of Contents for P-660HN-F1
Page 2: ...Videos ADSL Series User s Guide 2 Videos File Sharing Video Example 55 QoS Video Example 76...
Page 6: ...Document Conventions ADSL Series User s Guide 6 Server Firewall Router Switch...
Page 8: ...Safety Warnings ADSL Series User s Guide 8...
Page 10: ...Contents Overview ADSL Series User s Guide 10...
Page 19: ...19 PART I User s Guide...
Page 20: ...20...
Page 26: ...Chapter 1 Introduction ADSL Series User s Guide 26...
Page 40: ...Chapter 2 Introducing the Web Configurator ADSL Series User s Guide 40...
Page 80: ...Chapter 3 Tutorials ADSL Series User s Guide 80...
Page 81: ...81 PART II Technical Reference...
Page 82: ...82...
Page 130: ...Chapter 6 Wireless ADSL Series User s Guide 130...
Page 160: ...Chapter 8 Routing ADSL Series User s Guide 160...
Page 164: ...Chapter 9 DNS Route ADSL Series User s Guide 164...
Page 182: ...Chapter 11 Network Address Translation NAT ADSL Series User s Guide 182...
Page 190: ...Chapter 13 Firewall ADSL Series User s Guide 190...
Page 202: ...Chapter 15 Certificates ADSL Series User s Guide 202...
Page 222: ...Chapter 16 VPN ADSL Series User s Guide 222...
Page 226: ...Chapter 17 System Monitor ADSL Series User s Guide 226...
Page 228: ...Chapter 18 User Account ADSL Series User s Guide 228...
Page 242: ...Chapter 24 Backup Restore ADSL Series User s Guide 242...
Page 246: ...Chapter 25 Diagnostic ADSL Series User s Guide 246...
Page 254: ...Chapter 26 Troubleshooting ADSL Series User s Guide 254...
Page 262: ...Chapter 27 Product Specifications ADSL Series User s Guide 262...
Page 302: ...Appendix B Setting Up Your Computer s IP Address ADSL Series User s Guide 302...
Page 310: ...Appendix C Pop up Windows Java Script and Java Permissions ADSL Series User s Guide 310...
Page 334: ...Appendix E Common Services ADSL Series User s Guide 334...
Page 355: ...Appendix F Open Software Announcements ADSL Series User s Guide 355...
Page 356: ...Appendix F Open Software Announcements ADSL Series User s Guide 356...
Page 360: ...Appendix G Legal Information ADSL Series User s Guide 360...