Virtual Server Command Examples - ZyXEL Communications ZYWALL USG CLI Reference Manual

Zld-based
Table of Contents

Advertisement

Chapter 11 Virtual Servers
Table 54 ip virtual-server Commands (continued)
COMMAND
ip virtual-server profile_name interface
interface_name original-ip {any | ip |
address_object} [netmask subnet_mask] map-to
{address_object | ip} map-type any [nat-
loopback] [deactivate]
ip virtual-server profile_name interface
interface_name original-ip {any | IP |
address_object} [netmask subnet_mask] map-to
{address_object | ip} map-type port protocol
{any | tcp | udp} original-port <1..65535>
mapped-port <1..65535> [nat-loopback]
[deactivate]
ip virtual-server profile_name interface
interface_name original-ip {any | IP |
address_object} map-to {address_object | ip}
map-type ports protocol {any | tcp | udp}
original-port-begin <1..65535> original-port-
end <1..65535> mapped-port-begin <1..65535>
[nat-loopback] [deactivate]
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]
[deactivate]
ip virtual-server {activate | deactivate}
profile_name
ip virtual-server rename profile_name
profile_name

11.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
100
DESCRIPTION
Creates or modifies the specified virtual server and
maps the specified destination IP address (for all
destination ports) to the specified destination
address object or IP address. 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.
Creates or modifies the specified virtual server and
maps the specified (destination IP address,
protocol, and destination port) to the specified
(destination IP address and destination port). 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.
Creates or modifies the specified virtual server and
maps the specified (destination IP address,
protocol, and range of destination ports) to the
specified (destination IP address and range of
destination ports). 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.
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.
Activates or deactivates the specified virtual server.
Renames the specified virtual server from the first
profile_name to the second profile_name.
ZyWALL (ZLD) CLI Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents