Mediatrix 4104
285
C
H A P T E R
19
STUN Configuration
This chapter describes how to configure the STUN client of the Mediatrix 4104.
What is STUN?
STUN (Simple Traversal of UDP through NATs) is a simple client / server protocol that uses UDP packets to
discover the configuration information of NATs and firewalls between a device and the public Internet:
NAT type
NAT binding public address
NAT binding time to live
NAT (Network Address Translator) is a device that translates the IP address used within a “private” network
to a different IP address known in another “public” network. See
for more
details.
STUN supports a variety of existing NAT devices and does not require any additional hardware or software
upgrades on the NAT device.
The Mediatrix 4104 uses the STUN protocol to discover its NAT binding for the following three IP addresses/
ports (sockets):
Signalling protocol (SIP) IP address/port
RTP IP address/port
T.38 IP address/port
SIP Outbound Proxy
For a unit to work properly behind a firewall, it must keep a pinhole opened by sending keepalive packets
through the firewall.
The Mediatrix 4104 only sends keepalive packets to the last destination for a specific socket. When a unit is
not configured with an outbound proxy, it can send, through its SIP socket, messages to various destinations,
such as a SIP redirect server, another SIP unit, or a MWI server. If, for instance, the last SIP message was
sent to the MWI server, the Mediatrix 4104 will keep the pinhole opened for the MWI server only (sending
keepalive message to the MWI server) and won't be reacheable by other units outside the firewall.
To avoid those issues, all SIP message should come and go from the same source/destination on the public
side of the firewall, i.e., a SIP outbound proxy. Media5 thus recommends that you use a SIP outbound proxy.
See
“Outbound Proxy Server” on page 166
for more details.
Restrictions on the Media5 STUN Implementation
The Mediatrix 4104 does not currently support NAT type discovery.
The Mediatrix 4104 does not currently support STUN NAT binding time to live discovery.
The Mediatrix 4104 does not currently support the TLS security mechanism.
Due to a limitation of most routers, an RTP portal might be required in order for two units behind
the same NAT/firewall to be able to communicate with each other.
Standards Supported
RFC 3489 – STUN - Simple Traversal of User Datagram Protocol (UDP)
Through Network Address Translators (NATs)
Summary of Contents for Mediatrix 4104
Page 23: ...Installation and Web Page Configuration ...
Page 24: ...Page Left Intentionally Blank ...
Page 136: ...Chapter 5 Web Interface Telephony Miscellaneous 114 Mediatrix 4104 ...
Page 144: ...Chapter 6 Web Interface Advanced STUN Configuration 122 Mediatrix 4104 ...
Page 145: ...SNMP Configuration ...
Page 146: ...Page Left Intentionally Blank ...
Page 184: ...Chapter 8 IP Address and Network Configuration Ethernet Connection Speed 162 Mediatrix 4104 ...
Page 196: ...Chapter 10 DNS SRV Configuration DNS SRV Oriented Settings 174 Mediatrix 4104 ...
Page 226: ...Chapter 12 Configuration File Download Configuration File Example 204 Mediatrix 4104 ...
Page 242: ...Chapter 13 Software Download Emergency Software Procedure 220 Mediatrix 4104 ...
Page 268: ...Chapter 15 Voice Transmissions User Gain 246 Mediatrix 4104 ...
Page 278: ...Chapter 17 Bypass Configuration Bypass Connector Settings 256 Mediatrix 4104 ...
Page 322: ...Chapter 21 Digit Maps Digit Map Examples 300 Mediatrix 4104 ...
Page 350: ...Chapter 24 Telephony Attributes Call Rejection 328 Mediatrix 4104 ...
Page 362: ...Chapter 27 Quality of Service QoS VLAN 340 Mediatrix 4104 ...
Page 366: ...Chapter 28 Syslog Daemon Syslog Daemon Configuration 344 Mediatrix 4104 ...
Page 370: ...Chapter 29 Statistics RTP Statistics 348 Mediatrix 4104 ...
Page 385: ...Appendices ...
Page 386: ...Page Left Intentionally Blank ...
Page 400: ...Appendix B Standard Hardware Information Warranty 378 Mediatrix 4104 ...
Page 404: ...Appendix C Cabling Considerations RJ 11 Telephone Cable 382 Mediatrix 4104 ...
Page 446: ...Appendix E Glossary Wide Area Network WAN 424 Mediatrix 4104 ...