![ZyXEL Communications P-660HN-F1 Скачать руководство пользователя страница 214](http://html1.mh-extra.com/html/zyxel-communications/p-660hn-f1/p-660hn-f1_user-manual_944063214.webp)
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
Содержание P-660HN-F1
Страница 2: ...Videos ADSL Series User s Guide 2 Videos File Sharing Video Example 55 QoS Video Example 76...
Страница 6: ...Document Conventions ADSL Series User s Guide 6 Server Firewall Router Switch...
Страница 8: ...Safety Warnings ADSL Series User s Guide 8...
Страница 10: ...Contents Overview ADSL Series User s Guide 10...
Страница 19: ...19 PART I User s Guide...
Страница 20: ...20...
Страница 26: ...Chapter 1 Introduction ADSL Series User s Guide 26...
Страница 40: ...Chapter 2 Introducing the Web Configurator ADSL Series User s Guide 40...
Страница 80: ...Chapter 3 Tutorials ADSL Series User s Guide 80...
Страница 81: ...81 PART II Technical Reference...
Страница 82: ...82...
Страница 130: ...Chapter 6 Wireless ADSL Series User s Guide 130...
Страница 160: ...Chapter 8 Routing ADSL Series User s Guide 160...
Страница 164: ...Chapter 9 DNS Route ADSL Series User s Guide 164...
Страница 182: ...Chapter 11 Network Address Translation NAT ADSL Series User s Guide 182...
Страница 190: ...Chapter 13 Firewall ADSL Series User s Guide 190...
Страница 202: ...Chapter 15 Certificates ADSL Series User s Guide 202...
Страница 222: ...Chapter 16 VPN ADSL Series User s Guide 222...
Страница 226: ...Chapter 17 System Monitor ADSL Series User s Guide 226...
Страница 228: ...Chapter 18 User Account ADSL Series User s Guide 228...
Страница 242: ...Chapter 24 Backup Restore ADSL Series User s Guide 242...
Страница 246: ...Chapter 25 Diagnostic ADSL Series User s Guide 246...
Страница 254: ...Chapter 26 Troubleshooting ADSL Series User s Guide 254...
Страница 262: ...Chapter 27 Product Specifications ADSL Series User s Guide 262...
Страница 302: ...Appendix B Setting Up Your Computer s IP Address ADSL Series User s Guide 302...
Страница 310: ...Appendix C Pop up Windows Java Script and Java Permissions ADSL Series User s Guide 310...
Страница 334: ...Appendix E Common Services ADSL Series User s Guide 334...
Страница 355: ...Appendix F Open Software Announcements ADSL Series User s Guide 355...
Страница 356: ...Appendix F Open Software Announcements ADSL Series User s Guide 356...
Страница 360: ...Appendix G Legal Information ADSL Series User s Guide 360...