Preserving Tcp/Udp Port Numbers In Napt; Defining The Udp Napt Type - Patton electronics SmartWare R.3.20 Software Configuration Manual

Software for smartnode series
Table of Contents

Advertisement

SmartWare Software Configuration Guide
Mode: profile napt <pf-name>
Step
[ name ] (pf-napt)[pf-name]# tcp-
1
port-range <range-start-tcp-
port> <range-end-tcp-port>
[ name ] (pf-napt)[pf-name]# udp-
2
port-range <range-start-udp-
port> <range-end-udp-port>

Preserving TCP/UDP port numbers in NAPT

The NAPT can be configured to preserve the TCP/UDP port number of outbound packets sent from local
hosts towards the global NAPT interface. If this option is enabled the NAPT tries not to change these port
numbers. If the port is however already in use, the NAPT will ignore this setting and assign a port number
from the configured TCP/UDP port ranges.
Mode: profile napt <pf-name>
Step
[ name ] (pf-napt)[pf-name]# [no]
1
preserve-tcp-ports
[ name ] (pf-napt)[pf-name]# [no]
2
preserve-udp-ports
Defining the UDP NAPT type
The NAPT type to be applied for UDP packets is configurable using the following procedure. The NAPT sup-
ports the UDP translation types shown in the following list. The list is ordered by the security of the NAPT
type starting with the highest security type.
symmetric
port-restricted-cone
address-restricted-cone
full-cone
You find a detailed description of these NAPT types in section 5 of RFC3489. To allow STUN to work
through the NAPT the full-cone setting is usually required. The default setting is symmetric.
Mode: profile napt <pf-name>
Step
[ name ] (pf-napt)[pf-name]# udp-handling {symmet-
1
ric|address-restricted-cone|port-restricted-cone|full-cone}
NAT/NAPT configuration task list
Command
Command
Command
11 • NAT/NAPT configuration
Purpose
Define the TCP port range
Define the UDP port range
Purpose
Enable/disable preserving of TCP ports.
Enable/disable preserving of UDP ports.
Purpose
Define the UDP
translation type
128

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartware release 3.20

Table of Contents