5.4 Configuration Examples
This section provides several configuration examples of NAT.
5.4.1 Example for Configuring the NAT Server
Networking Requirements
As shown in
, a company is connected to the wide area network (WAN) through the
AR150/200 enabled with the network address translation (NAT) function. The company
provides the web server and FTP server for users on the public network to access. The private
IP address of the web server is 192.168.20.2:8080 and its public address is 202.169.10.5/24. The
private IP address of the FTP server is 10.0.0.3/24 and its public address is 202.169.10.33/24.and
the interface address of the AR150/200 connected to the carrier device is 202.169.10.2/24.
Figure 5-4
Network diagram for configuring the NAT server
Eth2/0/0
Router
FTP Server
10.0.0.3/24
WWW Server
192.168.20.2:8080
Eth0/0/0
Eth0/0/1
Host
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure IP addresses for interfaces and configure the NAT servers on the WAN-side
interface to allow external users to access the internal servers.
2.
Configure a default route.
3.
Enable the FTP NAT ALG function to allow the external FTP packets to traverse the NAT
servers.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
5 NAT Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
117