Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BSN32/60c767dc5b9b3fff04313882c5ef22fc to your computer and use it in GitHub Desktop.
Save BSN32/60c767dc5b9b3fff04313882c5ef22fc to your computer and use it in GitHub Desktop.
Get information about NAT type and behavior
sudo apt-get install stun
sudo stun stun.callwithus.com 0
# output
STUN client version 0.97
running test number 0
Primary: Independent Mapping, Port Dependent Filter, preserves ports, no hairpin
Return value is 0x000017
## STUN server list
https://www.voip-info.org/stun/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment