![background image](http://html.mh-extra.com/html/zyxel-communications/uag-series/uag-series_reference-manual_944300133.webp)
Chapter 20 Virtual Servers
UAG CLI Reference Guide
133
20.2.1 Virtual Server Command Examples
The following command creates virtual server WAN-LAN_H323 on the wan1 interface that maps IP
addresses 10.0.0.8 to 192.168.1.56. for TCP protocol traffic on port 1720. It also adds a NAT
loopback entry.
ip virtual-server
profile_name
interface
interface_name
original-ip
{any | IP |
address_object
} map-to
{
address_object
|
ip
} map-type
original-service
service_object
mapped-service
service_object
[nat-
loopback [nat-1-1-map] [deactivate] |
nat-1-1-map [deactivate] |
deactivate]
Creates or modifies the specified virtual server and maps the specified
(destination IP address, protocol, and service object) to
the specified
(destination IP address and service object)
. The original destination IP is
defined by the specified interface (any), the specified IP address (IP), or the
specified address object (
address-object
). NAT loopback allows local users
to use a domain name to access this virtual server.
nat-1-1-map
: means the NAT type is either 1:1 NAT or many 1:1 NAT. See
for more information.
Using this command without
nat-1-1-map
means the NAT type is Virtual
Server. This makes computers on a private network behind the UAG available
to a public network outside the UAG (like the Internet).
The
deactivate
command disables the virtual server rule.
ip virtual-server {activate |
deactivate}
profile_name
Activates or deactivates the specified virtual server.
ip virtual-server delete
profile_name
Deletes the specified virtual server.
ip virtual-server flush
Deletes all virtual servers.
ip virtual-server insert
rule_number
Adds a rule before the specified rule number.
ip virtual-server move
rule_number
to
rule_number
Moves a rule to the number you sepcified.
ip virtual-server rename
profile_name
profile_name
Renames the specified virtual server from the first
profile_name
to the
second
profile_name
.
Table 76
ip virtual-server Commands (continued)
COMMAND
DESCRIPTION
Router# configure terminal
Router(config)# ip virtual-server WAN-LAN_H323 interface wan1 original-ip 10.0.0.8
map-to 192.168.1.56 map-type port protocol tcp original-port 1720 mapped-port 1720
nat-loopback
Router(config)#
Summary of Contents for UAG Series
Page 5: ...Document Conventions UAG CLI Reference Guide 5 Server Firewall Telephone Switch Router ...
Page 22: ...22 PART I Introduction ...
Page 23: ...23 ...
Page 41: ...41 PART II Reference ...
Page 42: ...42 ...