Layer 3 functions
9.1 NAT
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
352
Configuration Manual, 11/2014, C79000-G8976-C351-03
Syntax
Call up the command with the following parameters:
nat {tcp|udp} <globalportfrom> [<globalportto>] <localip> <localportfrom>
[<localportto>] [{enable|disable}]
The parameters have the following meaning:
Parameter
Description
Values
tcp
Assignment of TCP for the follow-
ing global port
-
udp
Assignment of UDP for the follow-
ing global port
-
globalportfrom
Start port of the global port range
enter the start port
globalportto
End port of the global port range
enter the end port
localip
IPV4 address of the node in the
local network
enter a valid IPv4 address
localportfrom
Start port of the local port range
enter the start port
localportto
End port of the local port range
enter the end port
enable
Enables the NAT rule
-
disable
Disables the NAT rule
-
Note
Global port
If the port is already occupied by a local service, for example Telnet, a warning is displayed.
In this case, avoid using TCP port 23 (Telnet), port 22 (SSH), ports 80/443 (http/https:
reachability of the client with the WBM) and UDP port 161 (SNMP) as global port.
Result
The translation list is configured.
If the command is executed without the optional parameters
enable|disable
, the newly
created address assignment is disabled as default.
Further notes
You show the NAT configuration and the translation list with the
show nat
command.
You delete entries with the
no nat
command.
See also
show nat (client) (Page 349)