Your Account

Your Basket

0 items - total: £0.00

Search

Homepage

TekSpekGuidesPort Forwarding
Tek Spek

Scan's TekSpek


Our aim
To provide you with an overview on new and existing technologies, hopefully helping you understand the changes in the technology. Together with the overviews we hope to bring topical issues to light from a series of independent reviewers saving you the time and hassle of fact finding over the web.

We will over time provide you with quality content which you can browse and subscribe to at your leisure.

TekSpek ArrowGuides ArrowPort Forwarding
Port Forwarding

Port Forwarding
Date issued: 20/10/2008
Page: 1 of 5

What is Port Forwarding?

Port forwarding is a technique you'll need to use to enable certain services if you're using a router. If you don't really care how it works, you can skip this section and just find out how to do it.

First, let's take a look at how your average home router works.
To connect to the Internet, your modem not only needs to establish a connection with your ISP, it also needs an IP address. This is a series of numbers in the form 255.255.255.255. Every computer connected to the Internet has a unique IP address. With a router, you can connect more than one machine to the Internet. Most home users will only get one IP address, assigned by their ISP automatically. That means more than one computer is having to use the same IP, but as I've just said, each computer must have a unique IP. Stuck?

This is where network address translation (NAT) comes in. Your router has two network interfaces. One interface connects to the Internet and has the IP assigned by your ISP. The other interface connects with the computers on your local area network (LAN) and has an IP from a range reserved for private use. These private IPs can be used more than once on LANs across the world because they can't be used on the Internet. When a computer on the LAN needs to connect to something over the Internet, it uses the router as the gateway to the Internet. The router, using NAT, can remember which computer is requesting what, and forward all the requests to the Internet using the Internet-side IP. Any data returned is then passed back to the machine that requested it.

NAT works well for browsing the web, where the computer on the LAN is always the computer initiating the exchange of data. However, what if a computer on the Internet wants to initiate a connection. How does the router know which machine on the LAN to send the request to? The simple answer is it doesn't; it's impossible for it to tell. To get around this, we have to tell it what to do.

Let's imagine you're trying to play a game over the Internet that needs to receive a UDP connection from the other player. UDP connections aren't initiated, they're just sent in the hope that they'll get to their destination. So the computer over the Internet sends a UDP packet to your router, which then doesn't know where to send it. We are in luck, however, because if we know what port these UDP packets are sent on, we can tell the router where to forward them to. By now, a bell should be going off in your head. Ports... forward... port forwarding!

Next page
Page: 1 of 5

Follow us on:

Social Media
Contact

Address: 25-28 Enterprise Park, Middlebrook, Horwich, Bolton, BL6 6PE - UK

Tel: 0871-472-4747
Fax: 0871-472-4787

Order now to receive by Monday 28th May 2012. Info

Further delivery options available in basket. Further Details

Tracking

Invoice No.

Postcode

Secure Payments

Pay Scan Computers by VISA

Pay Scan Computers by MasterCard

Pay Scan Computers by VISA Electron

Pay Scan Computers by PayPal

Pay Scan Computers by American Express

Pay Scan Computers by Maestro

Pay Scan Computers by Solo or Switch

Pay Scan Computers by Visa Debit

McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams

VeriSign Secured

Verified By VISA

MasterCard SecureCode

RoHS Policy

Weee Policy

Information on Scan partner websites
close
Image preview