Chapter 19 Virtual Servers
ZyWALL / USG (ZLD) CLI Reference Guide
143
19.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.
The following command shows information about all the virtual servers in the ZyWALL / USG.
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 ZyWALL / USG
available to a public network outside the ZyWALL / USG (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 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)#
Router(config)# show ip virtual-server
virtual server: WAN-LAN_H323
Index: 1
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)#
Содержание ZyWALL USG Series
Страница 19: ...19 PART I Introduction ...
Страница 20: ...20 ...
Страница 38: ...Chapter 2 User and Privilege Modes ZyWALL USG ZLD CLI Reference Guide 38 ...
Страница 39: ...39 PART II Reference ...
Страница 40: ...40 ...
Страница 48: ...Chapter 4 Status ZyWALL USG ZLD CLI Reference Guide 48 ...
Страница 52: ...Chapter 5 Registration ZyWALL USG ZLD CLI Reference Guide 52 ...
Страница 128: ...Chapter 15 Route ZyWALL USG ZLD CLI Reference Guide 128 ...
Страница 136: ...Chapter 17 Zones ZyWALL USG ZLD CLI Reference Guide 136 ...
Страница 140: ...Chapter 18 DDNS ZyWALL USG ZLD CLI Reference Guide 140 ...
Страница 148: ...Chapter 20 HTTP Redirect ZyWALL USG ZLD CLI Reference Guide 148 ...
Страница 152: ...Chapter 21 ALG ZyWALL USG ZLD CLI Reference Guide 152 ...
Страница 156: ...Chapter 22 UPnP ZyWALL USG ZLD CLI Reference Guide 156 ...
Страница 159: ...Chapter 23 IP MAC Binding ZyWALL USG ZLD CLI Reference Guide 159 ...
Страница 178: ...Chapter 25 Secure Policy ZyWALL USG ZLD CLI Reference Guide 178 ...
Страница 218: ...Chapter 32 Application Patrol ZyWALL USG ZLD CLI Reference Guide 218 ...
Страница 236: ...Chapter 34 IDP Commands ZyWALL USG ZLD CLI Reference Guide 236 ...
Страница 246: ...Chapter 35 Content Filtering ZyWALL USG ZLD CLI Reference Guide 246 ...
Страница 256: ...Chapter 36 Anti Spam ZyWALL USG ZLD CLI Reference Guide 256 ...
Страница 262: ...Chapter 37 SSL Inspection ZyWALL USG ZLD CLI Reference Guide 262 ...
Страница 268: ...Chapter 38 Device HA ZyWALL USG ZLD CLI Reference Guide 268 ...
Страница 284: ...Chapter 41 Addresses ZyWALL USG ZLD CLI Reference Guide 284 ...
Страница 288: ...Chapter 42 Services ZyWALL USG ZLD CLI Reference Guide 288 ...
Страница 302: ...Chapter 46 Authentication Server ZyWALL USG ZLD CLI Reference Guide 302 ...
Страница 338: ...Chapter 52 System Remote Management ZyWALL USG ZLD CLI Reference Guide 338 ...
Страница 358: ...Chapter 53 File Manager ZyWALL USG ZLD CLI Reference Guide 358 ...
Страница 372: ...Chapter 56 Session Timeout ZyWALL USG ZLD CLI Reference Guide 372 ...
Страница 374: ...Chapter 57 Diagnostics ZyWALL USG ZLD CLI Reference Guide 374 ...
Страница 384: ...Chapter 59 Maintenance Tools ZyWALL USG ZLD CLI Reference Guide 384 ...
Страница 426: ...List of Commands Alphabetical ZyWALL USG ZLD CLI Reference Guide 426 ...