EasyManua.ls Logo

ZyXEL Communications 1050 - Virtual Server Command Examples

ZyXEL Communications 1050
284 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 11 Virtual Servers
ZyWALL (ZLD) CLI Reference Guide
86
11.2.1 Virtual Server Command Examples
The following command shows information about all the virtual servers in the ZyWALL.
The following command creates virtual server VR1 on interface ge1 that maps ge1 IP
addresses to 192.168.3.2.
ip virtual-server profile_name interface
interface_name original-ip {any | IP |
address_object} map-to IP map-type port
protocol {any | tcp | udp} original-port
<1..65535> mapped-port <1..65535> [deactivate]
Creates or modifies the specified virtual port 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).
ip virtual-server profile_name interface
interface_name original-ip {any | IP |
address_object} map-to IP map-type ports
protocol {any | tcp | udp} original-port-begin
<1..65535> original-port-end <1..65535>
mapped-port-begin <1..65535> [deactivate]
Creates or modifies the specified virtual port 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).
ip virtual-server {activate | deactivate}
profile_name
Activates or deactivates the specified virtual server.
ip virtual-server rename profile_name
profile_name
Renames the specified virtual server from the first
profile_name to the second profile_name.
Table 45 ip virtual-server Commands (continued)
COMMAND DESCRIPTION
Router# configure terminal
Router(config)# show ip virtual-server
virtual server: VR1
active: yes
interface: ge1
original IP: any, mapped IP: 192.168.3.2
mapping type: any, protocol type: any
original start port: none, original end port: none
mapped start port: none, mapped end port: none
Router# configure terminal
Router(config)# ip virtual-server VR1 interface ge1 original-ip any map-to
192.168.3.2 map-type any

Table of Contents

Related product manuals