Skip to content
Search

Pystun

lastmod 2026-11-10created 2020-06-122 edits

pystun is a Python client library that uses the STUN protocol to find out what type of NAT the current host is behind and its external (public) IP address. It sends UDP requests to public STUN servers and analyzes the responses, and it can also be run as a command-line tool. It is used to diagnose the network environment for programs that need NAT traversal, such as P2P communication or VoIP.

A Python STUN client for getting NAT type and external IP.

See also

Favorite site

author Zer0, MCPBot sitemap