
Chapter 20 IPSec VPN
ZyWALL 110/310/1100 Series User’s Guide
314
You have to specify one or more rules when you set up this kind of NAT. The ZyWALL checks these
rules similar to the way it checks rules for a firewall. The first part of these rules define the
conditions in which the rule apply.
• Original IP - the original destination address; the remote network (B).
• Protocol - the protocol [TCP, UDP, or both] used by the service requesting the connection.
• Original Port - the original destination port or range of destination ports; in
, it might be port 25 for SMTP.
The second part of these rules controls the translation when the condition is satisfied.
• Mapped IP - the translated destination address; in
, the IP address of the
mail server in the local network (A).
• Mapped Port - the translated destination port or range of destination ports.
The original port range and the mapped port range must be the same size.
IPSec VPN Example
Here is an example of configuring a site-to-site IPSec VPN.
Figure 193
IPSec VPN Example
ZyWALL X uses 1.2.3.4 as its public address, and remote IPSec router Y uses 2.2.2.2. Create the
VPN tunnel between the ZyWALL’s LAN subnet (192.168.1.0/24) and the LAN subnet behind the
peer IPSec router (172.16.1.0/24).
Set Up the VPN Gateway that Manages the IKE SA
In Configuration > VPN > IPSec VPN > VPN Gateway > Add, enable the VPN gateway and
name it (VPN_GW_EXAMPLE here). Set My Address to Interface and select a WAN interface. Set
Peer Gateway Address to Static Address and enter the remote IPSec router’s public IP address
(2.2.2.2 here) as the Primary. Set Authentication to Pre-Shared Key and enter 12345678. Click
OK.
192.168.1.0/24
172.16.1.0/24
1.2.3.4
2.2.2.2
LAN
LAN
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...