
Chapter 15 IP Commands
Table 54 NAT Commands (continued)
COMMAND |
| DESCRIPTION | M |
ip nat server edit | <index> | Sets the port or port range the NAT port forwarding rule uses | R |
intport | when forwarding traffic (port translation). |
| |
ip nat server edit | <index> | Sets the NAT port forwarding rule’s protocol. | R |
protocol <TCPUDPALL> |
|
| |
ip nat server edit | <index> | Sets the source IP address or IP address range for traffic to | R |
remotehost | which the NAT port forwarding rule applies. |
| |
ip nat server edit | <index> | Sets the name of the NAT port forwarding rule. | R |
rulename <name> |
|
|
|
ip nat server edit | <index> | Sets the NAT port forwarding rule’s listening (incoming) port or | R |
svrport | port range. |
| |
ip nat server load | <index> | Loads the NAT port forwarding entry for editing. | R |
ip nat server save |
| Saves NAT port forwarding settings to the | R |
|
| memory. |
|
ip nat service aol | [onoff] | Turns the AOL ALG on or off. | R |
ip nat service irc | [onoff] | Turns the IRC ALG on or off. | R |
ip nat service ldap [onoff] | Turns the LDAP ALG on or off. | R | |
ip nat service xboxlive [onoff] | Turns the Xbox Live ALG on or off. | R | |
ip nat session | Sets the allowed number of NAT sessions per host. | R | |
host] |
|
|
|
15.1.17 NAT Routing Command Example
Syntax: | ip nat routing [0:LAN1:DMZ2:WLAN] [0:no1:yes] |
Use this command to set the ZyWALL to route traffic that does not match a NAT rule through a specific interface. An example of when you may want to use this is if you have servers with public IP addresses connected to the LAN, DMZ or WLAN. By default the ZyWALL routes traffic that does not match a NAT rule out through the DMZ interface.
The following command example sets the ZyWALL to route traffic that does not match a NAT rule through the WLAN interface.
ras> ip nat routing 2 1
Routing can work in NAT when no NAT rule match.
LAN: no
DMZ: yes WLAN: yes
114 |
| |
ZyWALL (ZyNOS) CLI Reference Guide |
| |
|
|
|