Skip to content

Instantly share code, notes, and snippets.

@schas002
Last active December 7, 2017 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schas002/e30924275e609f1acce94fe29d3d9114 to your computer and use it in GitHub Desktop.
Save schas002/e30924275e609f1acce94fe29d3d9114 to your computer and use it in GitHub Desktop.
A NAT-only network

Unless you have a home network, your computer will be connected something like this:

local network at 192.168.123.1
subnet mask is 255.255.255

-----------
| ------- +--> NAT
| |     | |
| | 100 | |
| |     | |
| ------- |
|         |
| * ===== |
-----------

localhost

Your USB modem (or whatever your ISP gave you to use their Internet services) connects to the global network using Network Address Translation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment