Open source STUN server software
STUNTMAN is an open source implementation of the STUN protocol (Session Traversal Utilities for NAT) as specified in RFCs 5389, 5769, and 5780. It also includes backwards compatibility for RFC 3489. Source code distribution includes a high performance STUN server, a client application, and a set of code libraries for implementing a STUN client within an application.

The current C++ code base compiles using gcc/g++ for most UNIX distributions including Linux, MacOS, BSD, and Solaris. A Windows port via Cygwin is available now.

Stuntman is open source software distributed under the Apache 2.0 License.

Latest stable release: version 1.2.16

LinuxUnix/Linux/Mac sources: stunserver-1.2.16.tgz (click here)
Windows64-bit Windows binaries (Cygwin): (click here)
32-bit Windows binaries (Cygwin): (click here)
MacPrecompiled Mac OSX binaries: (click here - redirects to SourceForge)
You may also peruse the source files individually, access previous versions, file bugs, and find other resources at the project's GitHub site.

Once you download and unpack the source code package, open the README file included in the root of the distribution for instructions on how to compile. You may need to download the Boost library prior to compiling.

Public STUN server
A STUN service hosting the Stuntman code is being run at (UDP and TCP ports 3478).

To make a STUN binding request and see your public IP addresses, you can click the button below for a quick test.

Mailing list
We have a mailing list for this project at You may join this group or peruse previously posted messages by clicking here.


Related Software and Protocols
STUN by itself does not solve the NAT Traversal problem for P2P connectivity issues. There are many other technologies to explore when implementing a P2P connectivity solution in software.
Author: John Selbie