![Siemens SCALANCE S615 Configuration Manual Download Page 291](http://html.mh-extra.com/html/siemens/scalance-s615/scalance-s615_configuration-manual_377351291.webp)
Layer 3 functions
8.1 NAT
SCALANCE S615 Command Line Interface
Configuration Manual, 06/2015, C79000-G8976-C406-02
291
Syntax
Call up the command with the following parameters:
napt srcint <if-type> [<num(0-4094)>] proto {udp|tcp} type ipv4 dstip <auto|ip_addr>
transip <ip_addr> dstport <num(0-65535)> [- <num(0-65535)>] transport <num(0-65535)>
[- <num(0-65535)>]
The parameters have the following meaning:
Parameter
Description
Range of values / note
srcint
Keyword for the source interface
-
if-type
Type or speed of the interface
Specify a valid interface.
num
Number of the addressed VLAN
0 ... 4094
proto
Keyword for a protocol
-
UDP
Address assignment for UDP valid.
-
TCP
Address assignment for TCP valid.
-
dstip
Keyword for the destination IP ad-
dress
-
auto
Uses the IP address of the selected
interface
-
ip_addr
IPv4 address
Enter a valid IPv4 address.
transip
Keyword for the IP address of the
node to which this frame will be for-
warded
-
ip_addr
IPv4 address
Enter a valid IPv4 address.
dstport
Keyword for destination port
-
num
Start port
Enter the destination port:
•
0 ... 65535
•
A specific port:
Enter a port e.g.
10
•
A port range
Specify the start port and end port,
e.g.
10 - 20
num
End port
transport
Keyword for the new destination port -
num
Start port
Enter the destination port:
•
0 ... 65535
•
A specific port:
Enter a port e.g.
10
•
A port range
Specify the start port and end port,
e.g.
10 - 20
num
End port