Virtual Server Command Examples - ZyXEL Communications UAG Series Cli Reference Manual

Unified access gateway
Hide thumbs Also See for UAG Series:
Table of Contents

Advertisement

Table 50 ip virtual-server Commands (continued)
COMMAND
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]
ip virtual-server {activate |
deactivate} profile_name
ip virtual-server delete profile_name Deletes the specified virtual server.
ip virtual-server flush
ip virtual-server rename profile_name
profile_name

12.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.
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)#
The following command shows information about all the virtual servers in the UAG.
Router(config)# show ip virtual-server
virtual server: WAN-LAN_H323
active: yes
interface: wan1
NAT-loopback active: yes
NAT 1-1: no
original IP: 10.0.0.8
mapped IP: 192.168.1.56
mapping type: port
protocol type: tcp
original service:
mapped service:
original start port: 1720
original end port:
mapped start port: 1720
mapped end port:
Router(config)#
UAG CLI Reference Guide
DESCRIPTION
Creates or modifies the specified virtual server and maps the specified
(destination IP address, protocol, and service object) to
(destination IP address and service
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
Section 12.1.1 on page 101
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.
Activates or deactivates the specified virtual server.
Deletes all virtual servers.
Renames the specified virtual server from the first profile_name to the
second profile_name.
Chapter 12 Virtual Servers
object). The original destination IP is
for more information.
the specified
103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents