A Beginners Guide to NAT and Port Forwarding

A Beginners Guide to NAT and Port Forwarding

Most of the people will have likely heard of port forwarding, for the typical house user we may have to accomplish is to increase our download speeds for bit torrent! Port forwarding however is utilized for a great deal greater than this, it’s employed to enable an individual to work with a service that’s behind a NAT router or firewall.

What exactly is NAT – NAT stands for Network Address Translation, it truly is what’s applied to translate a public IP address to a private single. But why do we must do that? Nicely when the world wide web was originally designed no one ever believed we could run out of our 4,294,967,296 IP Addresses (Not all of these are globally routable also!) It turns out that we underestimated this figure and various years back persons started to realize that we were going to run brief. This can be exactly where NAT comes in; NAT enables quite a few machines to use a single public IP address. This indicates we could have 1000 users browsing the internet all beneath a single public IP address. This of course requires care from the address space shortage, but not without its downsides.

So what about Port Forwarding? – Nicely this does tie in with NAT because we can now have instances exactly where you will find several machines behind one particular public IP address, what takes place when an individual sends a web request for the public IP address that is hosting an internet site? How does the router know where to send the request to? Yep, you have guessed it, with port forwarding! The router will have a list of ports that the admin can configure to forward to an internal machine. That indicates when the router receives a packet destined for port 80 for example, it checks its port forwarding table and sends the packet to the relevant internal IP address.

The downside of NAT – Whilst NAT did resolve our difficulty of address space (Without the need of NAT we would have run out of address space some time ago!) additionally, it designed several troubles of its personal. For starters NAT takes away the point to point connectivity that the world wide web was based upon, as an example let’s say a malicious request is sent from a public IP, if you wanted to trace that back to a personal user you’d possess a lot of problems, specifically if you’ll find one hundred + users behind that IP! NAT also causes challenges with some older software program and you can find situations exactly where applications and games are not going to work more than a NAT router.

Whilst NAT has caused several issues they defiantly do not outweigh the pros. Until ipv6 is implemented NAT will continue to save us from the address space shortage that the net is facing. NAT also gives some safety advantages; this can be mainly because a NAT router will only forward a packet on which has a valid location, if the port isn’t forwarded the packet gets dropped.

Related Post

MagicJack

A wireless router is a device that performs the functions of a router and also…