This script will determine what kind of NAT you are sitting behind.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
client.py
gpl-3.0.txt
server.py

README.md

NATDiscovery

This script will determine what kind of NAT you are sitting behind.

  • Run server.py on any publicly accessible server.
python NATDiscovery/server.py 
  • Run client.py on any machine inside the NAT and pass the IP of the server as the argument.
python NATDiscovery/client.py <server_ip>
  • Client may take up to 2 minutes to determine the NAT type.

Entire code in this repo is GPL'ed