No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Service

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Configuring NAT Filtering and NAT Mapping

(Optional) Configuring NAT Filtering and NAT Mapping

Context

NAT conserves IPv4 addresses and improves network security. Different vendors provide different NAT features. As a result, applications using STUN, TURN, and ICE technologies may fail to traverse NAT devices because these technologies are implemented using SIP proxy. SIP proxy is a multi-channel application and needs to create multiple data channels to implement its function. To ensure connection of multiple data channels, NAT filtering and NAT mapping must be configured to allow only packets that meet the filtering and mapping conditions to pass through.

The device supports the following NAT mapping types:

  • Endpoint-and-port-independent mapping: The NAT reuses the interface mapping for subsequent packets sent from the same internal IP address and interface to any external IP address and port.
  • Endpoint-and-port-dependent mapping: The NAT reuses the interface mapping for subsequent packets sent from the same internal IP address and interface to the same external IP address and interface while the mapping is still active.

The device supports the following NAT filtering types:

  • Endpoint-and-port-independent filtering
  • Endpoint-dependent and port-independent filtering
  • Endpoint-and-port-dependent filtering
NOTE:

Configure endpoint-and-port-dependent NAT mapping and filtering to enable SIP proxy to traverse NAT devices.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run nat mapping-mode endpoint-independent [ protocol-name [ dest-port port-number ] ]

    The NAT mapping mode is configured.

    The default NAT mapping mode is endpoint-and-port-dependent.

  3. Run nat filter-mode { endpoint-dependent | endpoint-independent | endpoint-and-port-dependent }

    The NAT filtering mode is configured.

    The default NAT filtering mode is endpoint-and-port-dependent.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 32864

Downloads: 166

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next