
NAT/NAPT configuration task list
134
IPLink Software Configuration Guide
12 • NAT/NAPT configuration
Defining NAPT port ranges
The TCP/UDP port ranges to be used by the NAPT can be defined using the following procedure. The default
port ranges for both TCP/UDP are 8000 to 15999.
Mode:
profile napt <pf-name>
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>
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
Command
Purpose
1
[
name
] (pf-napt)[
pf-name
]# tcp-port-
range <range-start-tcp-port>
<range-end-tcp-port>
Define the TCP port range
2
[
name
] (pf-napt)[
pf-name
]# udp-
port-range <range-start-udp-
port> <range-end-udp-port>
Define the UDP port range
Step
Command
Purpose
1
[
name
] (pf-napt)[
pf-name
]# [no]
preserve-tcp-ports
Enable/disable preserving of TCP ports.
2
[
name
] (pf-napt)[
pf-name
]# [no]
preserve-udp-ports
Enable/disable preserving of UDP ports.
Step
Command
Purpose
1
[
name
] (pf-napt)[
pf-name
]# udp-handling {symmetric|address-
restricted-cone|port-restricted-cone|full-cone}
Define the UDP
translation type
Содержание IPLink Series
Страница 309: ...309 Appendix B Mode summary Chapter contents Introduction 310...
Страница 312: ...Introduction 312 IPLink Software Configuration Guide B Mode summary...
Страница 325: ...325 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 326...
Страница 330: ...330 Appendix E Used IP ports in the IPLink software Chapter contents Used IP ports in the IPLink software 331...