NAT/NAPT configuration task list
128
SmartWare Software Configuration Guide
11 • NAT/NAPT configuration
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 {symmet-
ric|address-restricted-cone|port-restricted-cone|full-cone}
Define the UDP
translation type
Содержание SmartWare R.3.20
Страница 553: ...553 Appendix A Terms and definitions Chapter contents Introduction 554 SmartWare architecture terms and definitions 554...
Страница 559: ...559 Appendix B Mode summary Chapter contents Introduction 560...
Страница 566: ...566 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 568...
Страница 571: ...571 Appendix E Used IP ports available voice codecs Chapter contents Used IP ports 573 Available voice codecs 574...