Use the WebAdmin Interface to configure the STUN module. Open the Services pages in the Settings realm, and open the STUN page:
Log: Use this setting to specify which records the STUN module should put in the Server Log.
The STUN module Log records are marked with the STUN tag.
Listener: Use this link to open the UDP Listener and TCP Listener pages and specify the port numbers and local network addresses for the STUN service, and access restrictions for these port. By default STUN clients send "Bind" requests to the UDP port 3478, and they send "Shared Secret" requests to the secured TCP (TLS) port 5349.
Channels: Use this setting to specify the maximum concurrent number of STUN TCP requests.
Note:: the "old" STUN protocol (RFC 3489) requires 4 UDP sockets to be configured, using 2 different ports and 2 different IP Addresses, in all combinations. To support the RFC 3489 protocol, the STUN server should have at least 2 different Local IP Addresses available to its clients.