NAT Type and Network Test
Estimate your IPv4 NAT type with three independent STUN nodes. Compare public addresses and see what the browser observed. No sign-in required.
Online NAT test
Starting the test sends UDP requests to Cloudflare, Google and Stuntman. These services can see your public IP and port. The test uses no camera or microphone access.
- HTTPS public IP
- WebRTC UDP mapping
- Public IP comparison
- Elapsed time
Individual node responses
Detailed NAT test
Run this Python script on the device you want to test. It measures IPv4 UDP mapping and filtering with RFC 5780 and reports the corresponding traditional label when the results support one.
python aweigh-nat.py
Run the command in the download folder with Python 3. Use python3 if needed. The script uses the public Stuntman STUN service, and results stay in your terminal.
Understanding your results
What do NAT 1, NAT 3 and NAT 4 mean here?
NAT 1 means a public IPv4 address and port were observed without rewriting. NAT 3 means the address and port appear stable across destinations. NAT 4 means the mapping varies across destinations. These web labels describe observed IPv4 mapping behavior.
Why does the detailed test run locally?
Cone subtypes depend on how the network filters replies from alternate IP addresses and ports. The local script directly controls UDP requests to measure this behavior. The web labels cannot establish inbound reachability.
Why can HTTPS and WebRTC see different addresses?
HTTPS and WebRTC UDP can take different paths. Browser proxies, VPN split tunneling and dual-stack IPv4/IPv6 can all change the public address observed. Retest after switching networks or proxy settings to compare.
Can this identify carrier-grade NAT or a console NAT grade?
The script measures how the current IPv4 UDP path behaves. To identify carrier-grade NAT, also check your router’s WAN address and ISP configuration. Game platforms use their own grading rules and test endpoints.