User`s guide
Chapter 2 Tutorial
P-2602HWUDL-D User’s Guide
59
2.5.1 Example Parameters and Scenario
The following table shows the public IP addresses from your ISP and your ZyXEL Device’s
LAN IP address.
The following figure shows the network you want to set up in this example.
• Assign the first public address (1.2.3.4) to the ZyXEL Device’s WAN port.
• Map the second and third public IP addresses (1.2.3.5 and 1.2.3.6) to the web and mail
servers (192.168.1.12 and 192.168.1.13) respectively for traffic in both directions.
• Map the first public address (1.2.3.4) to outgoing traffic from other local computers.
• Map the first public address (1.2.3.4) to incoming traffic from the WAN.
• Forward FTP traffic using port 21 from the WAN to a specific local computer
(192.168.1.39).
• The last public IP address (1.2.3.7) is not mapped to any device and is reserved for future
use.
Figure 22 Tutorial Example: Using NAT with Static Public IP Addresses
To set up this network, we are going to:
1 Configure the WAN connection to use the first public IP address (1.2.3.4).
2 Configure NAT address mapping for other public IP addresses (1.2.3.5 and 1.2.3.6).
3 Configure NAT port forwarding to forward FTP traffic from the WAN to a specific
computer on your local network.
2.5.2 Configuring the WAN Connection with a Static IP Address
The following table shows the information your ISP gave you for Internet connection.
Public IP Addresses 1.2.3.4 to 1.2.3.7
ZyXEL Device’s LAN IP Address 192.168.1.1
Internet
FTP
FTP
192.168.1.39
192.168.1.39
192.168.1.12
192.168.1.13
Mail
Web
192.168.1.1
1.2.3.4
1.2.3.5
1.2.3.6
1.2.3.7
WAN
LAN
Mapping rules:
192.168.1.12 <---> 1.2.3.5 (1-1)
192.168.1.13 <---> 1.2.3.6 (1-1)
Other outgoing LAN traffic ---> 1.2.3.4 (M-1)
Incoming traffic <--- 1.2.3.4 (Server)
Encapsulation PPPoE
VPI/VCI 8/33










