by Gina Trapani
Recent Lifehacker features have covered how to run a personal web server , how to control your home computer from anywhere , and how to set up a personal wiki . For users on a home network with a router installed, home servers are not accessible from the Internet because of many modern routers' built-in firewall.
Today we'll cover how to open up specific ports on your router to allow access to a home server behind a firewall.
Please note: this tutorial is for advanced users. Your router's firewall is there to protect you from evildoers who try to control your computer over the Internet. Make sure that any service you expose to the Internet is secured with a strong password.
Enabling outside access to an internal computer on a home network requires that you set up NAT – "network address translation," or port forwarding. Forwarding sends requests for ports on the outside of your firewall to the right computer on the inside.
For instance, someone on the outside requests a page from a web server at your router's IP address. With port forwarding viagra brand cheap set up, your router knows to forward requests for port 80 (a web server's default port) to the computer with the web server running only – and none of the others on your network.
Port forwarding is only necessary when you want to expose a service to computers on the Internet outside your firewall. Some servers you'd want to do that with:
-
a home web server
-
a personal wiki
-
a BitTorrent client uploading as well as downloading
-
a VNC server
-
a home FTP server
While all routers vary slightly, port forwarding is fairly simple. Here's how to get it set up:
Step 1. Determine your server's internal IP address.
All the computers on your internal network have an IP address which looks something like 192.168.0.XXX. Get on the computer with the server running and open a command window. Then type ipconfig to determine the machine's internal address, like so:
In this case, as you can see, the server's internal IP address is 192.168.0.11.
Step 2. Configure your router.
Most routers have an web-based administrative interface that's located at http://192.168.0.1. (This address does depend on your model. Consult your router user guide for more info.)
Once you've gone to the router administration, entered the password (if one is set up), there should be an area called "Port forwarding." There, you'll set the port number that requests from the Internet will come in, and the internal computer that should fulfill those requests. Here's a screenshot of my Netgear router set up to port forward 5900 to my VNC server, which is at 192.168.0.11 (see above). Click on the image to see a larger version.
Here's a table of common services and their default port numbers.
| Service | Port number |
| Web server | 80 |
| VNC (remote control) | 5900 |
| Instiki wiki | 2500 |
| FTP | 21 |
| BitTorrent | 6881-6990 |
Any other services you port forward for that I missed? Add it in the comments to this article or drop me a note at tips at lifehacker.com.

In this year, 2010, malware seems to be as ubiquitous as the air we breathe. While computer users today are much more savvy against the threat of malware, there’s still more that we can do. In this
Have some kind of anti-malware protection on your computer and keep it current. While many new
If you have access to a second computer, download onto a
If you have second computer or the infected computer has access to the Internet – then simply look up your computer’s symptoms online to see what other people are seeing and possible ways to fix it. There will be some dead ends, but often you can find out what is causing you the problems as well as how to fix it.
What about other Internet connected computers and devices that aren’t Windows based? Are they
Keeping your PC safe isn’t rocket science. It involves keeping your security software, operating system and other software up-to-date; watching what gets installed on your computer and knowing what to do if something gets through. When it comes to security, no one tip can possibly cover everything. So, we open this up to you too – what do you use personally to keep your computer safe.




