4 port translation, 5 configuring port forwarding, Figure 79 port translation example – ZyXEL Communications ZyXEL ZyWALL P1 User Manual

Page 184

Advertising
background image

ZyWALL P1 User’s Guide

Chapter 11 Network Address Translation (NAT)

183

11.4.4 Port Translation

The ZyWALL can translate the destination port number or a range of port numbers of packets
coming from the WAN to another destination port number or range of port numbers on the
LAN. When you use port forwarding without port translation, a single server on the LAN can
use a specific port number and be accessible to the outside world through a single WAN IP
address. When you use port translation with port forwarding, multiple servers on the LAN can
use the same port number and still be accessible to the outside world through a single WAN IP
address.

The following example has two web servers on a LAN. Server A uses IP address 192.168.1.33
and server B uses 192.168.1.34. Both servers use port 80. The letters a.b.c.d represent the
WAN port’s IP address. The ZyWALL translates port 8080 of traffic received on the WAN
port (IP address a.b.c.d) to port 80 and sends it to server A (IP address 192.168.1.33). The
ZyWALL also translates port 8100 of traffic received on the WAN port (also IP address
a.b.c.d) to port 80, but sends it to server B (IP address 192.168.1.34).

Note: In this example, anyone wanting to access server A from the Internet must use

port 8080. Anyone wanting to access server B from the Internet must use port
8100.

Figure 79 Port Translation Example

11.5 Configuring Port Forwarding

Note: If you do not assign a Default Server IP address, the ZyWALL discards all

packets received for ports that are not specified here or in the remote
management setup.

Click NAT and Port Forwarding to open the Port Forwarding screen.

Refer to

Figure 65 on page 182

for port numbers commonly used for particular services.

Advertising