Version 7.0 167 Mediant 3000
User's Manual 13. Network
 To enable STUN:
1. Open the Application Settings page (Configuration tab > System menu >
Application Settings).
Figure 13-9: STUN Parameters in Application Settings Page
2. From the 'Enable STUN' (EnableSTUN) drop-down list, select Enable to enable the
STUN feature.
3. Configure the STUN server address using one of the following methods:
• Define the IP address of the primary and secondary (optional) STUN servers,
using the 'STUN Server Primary IP' field (STUNServerPrimaryIP) and 'STUN
Server Secondary IP' field. If the primary STUN server is unavailable, the device
attempts to communicate with the second server.
• Define the domain name of the STUN server using the ini file parameter,
STUNServerDomainName. The STUN client retrieves all STUN servers with an
SRV query to resolve this domain name to an IP address and port, sorts the
server list, and uses the servers according to the sorted list.
4. Configure the default NAT binding lifetime (in secondsUse) using the ini file
parameter, NATBindingDefaultTimeout. STUN refreshes the binding information after
this time expires.
13.9.1.2 Configuring a Static NAT IP Address for All Interfaces
You can configure a global (public) IP address of the router to enable static NAT between
the device and the Internet for all network interfaces. Thus, the device replaces the source
IP address for media of all outgoing SIP messages sent on any of its network interfaces to
this public IP address.
The following procedure describes how to configure a static NAT address through the Web
interface. You can also configure it through ini file (StaticNATIP).
 To configure a single static NAT IP address:
1. Open the SIP General Parameters page (Configuration tab > VoIP menu > SIP
Definitions > General Parameters).
Figure 13-10: Configuring Static NAT IP Address in SIP General Parameters Page
2. In the 'NAT IP Address' field, enter the NAT IP address in dotted-decimal notation.
3. Click Submit, and then reset the device with a burn-to-flash for your settings to take
effect.
13.9.1.3 Configuring NAT Translation per IP Interface
The NAT Translation table lets you configure up to 32 network address translation (NAT)
rules for translating source IP addresses per VoIP interface (SIP control and RTP media
traffic) into NAT IP addresses (global - public), when the device is located behind NAT. The