Zhone 5100 참조 매뉴얼

다운로드
페이지 186
Network Address Translation (NAT) commands
Vpacket 5100/6100 Series Reference Manual
                                                                                                   
93
of forwarding all traffic directed at the WAN IP on port 45555 to the LAN based host, while 
traffic to Port 21 is passed to the FTP server application on the 5100/6100 VDR.
Syntax: set nat add port_mapping <protocol> <outside_port> <inside_ip> 
[<inside_port>]
Arguments: 
protocol
TCP or UDP
outside_port
a port number between 1-1024 or 40,960-65,530
inside_port
(optional) a port number between 0-1024
Example:
In this example, a TCP port 80 on the WAN IP is mapped to port 2280 on the internal host 
10.10.10.2.
Deleting a NAT port map
You can delete a NAT port map by issuing the set nat delete port_map command.
Syntax: set nat delete port_map <protocol> <outside_port> <inside_ip> [<inside_port>]
Arguments:
protocol
UDP or TCP
outside_port
a port number between 1-1024 or 40,960-65,530
inside_ip
an IP address in standard notation
inside_port
(optional) a port number between 0-1024
Example:
In this example, the NAT port map for TCP applications to port 23 is deleted. 
VPacket# set nat add port_mapping tcp 80 10.10.10.2 2280
Nat Port Map Added
VPacket#
VPacket# set nat del port_mapping tcp 23 192.169.215.71
Nat Static Map Deleted
VPacket#