Operation Manual

271
NAT Commands
E-DOC-CTC-20040210-0030 v1.0
nat create
Create a static NAT/PAT entry. Typically used to install specific servers behind the SpeedTouch™ NAT/PAT device.
SYNTAX:
where:
nat create protocol = <{<supported IP protocol name>|<number>}>
inside_addr = <ip-address>
[inside_port = <{<supported TCP/UDP port name>|<number>}>]
outside_addr = <ip-address>
[outside_port = <{<supported TCP/UDP port name>|<number>}>]
[foreign_addr = <ip-address>]
[foreign_port = <{<supported TCP/UDP port name>|<number>}>]
protocol The IP protocol name (or number) of the incoming stream.
Select one of the supported protocol names (See “ Supported
Internet Protocol (IP) Protocol Names” on page 411 for a listing of
protocol names supported by the SpeedTouch™).
Alternatively, specify the protocol number.
REQUIRED
inside_addr The IP address of the local host (intended to receive the incoming
traffic) behind the SpeedTouch™ 's NAT/PAT device.
Typically, a private IP address.
REQUIRED
inside_port The port of the application on the local host.
Select one of the supported TCP/UDP port names (See
“ Supported TCP/UDP Port Names” on page 412 for a listing of
TCP/UDP port names supported by the SpeedTouch™).
Alternatively, specify the protocol number.
Applicable for TCP and UDP protocols only. Other protocols do
not need a port to be specified.
OPTIONAL
outside_addr The apparent host IP address this application is running on, i.e. the
NAT/PAT enabled WAN IP address of the SpeedTouch™.
Use 0 to create a template. Such template will then be valid for any
of SpeedTouch™ 's NAT/PAT enabled IP addresses, e.g. also
dynamically assigned/negotiated IP addresses.
REQUIRED
outside_port The apparent port number this application is running on.
Select one of the supported TCP/UDP port names (See
“ Supported TCP/UDP Port Names” on page 412 for a listing of
TCP/UDP port names supported by the SpeedTouch™).
Alternatively, specify the protocol number.
Applicable for TCP and UDP protocols only. Other protocols do
not need a port to be specified.
OPTIONAL
foreign_addr The IP address of the in-front-of-NAT/PAT routable address.
Use 0 to match all foreign addresses.
OPTIONAL