How to access a home server behind a router/firewall
Recent features have focused on how to run a personal web server, how to control your home computer from everywhere, and how to set up a personal wiki. For users of a home network with a router installed, the original servers are not accessible from the Internet because of building many modern firewall routers.
Geek to Live: How to set up a personal web server
Today we will cover how to open specific ports on your router to allow access to a server from home behind a firewall.
Note: This tutorial is for advanced users. Your router’s firewall is there to protect criminals who try to control your computer via the Internet. Make sure that any service that exposes the Internet is protected by a secure password.
Enabling external access to the internal computer on a home network requires that you configure NAT – “network address translation” or port forwarding. Sends port forward requests outside the firewall For indoor equipment.
For example, someone outside requests a page from a Web server on the IP address of your router. With port forwarding configuration, the router can redirect requests on port 80 (the default port of a Web server) to the computer with the web server running alone, and none of the others on the network.
Port forwarding is required only when you want to expose a service to computers on the Internet outside the firewall. Some servers you want to do with:
An internal web server
A personal wiki
BitTorrent client loading and unloading
A VNC server
An FTP server at home
Although all routers vary slightly, port forwarding is quite simple. Here’s how to configure it:
Step 1. Determine the internal IP address of the server.
All computers on your internal network have an IP address that resembles 192.168.0.XXX. Enter the computer running the server and open a command window. Then, type ipconfig to determine the internal address of the machine as follows:
C: \ Gina> ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Specific connection Suffix DNS. :
IP adress. . . . . . . . . . . . : 192.168.0.11
Subnet mask. . . . . . . . . . . : 255.255.255.0
Default Gateway. . . . . . . . . : 192.168.0.1
In this case, as you can see, the internal IP address of the server is 192.168.0.11.
Step 2. Configure your router.
Most routers have a web administration interface that is in http://192.168.0.1. (This address depends on the model, refer to the user of the router guide for more information).
Once you have gone to the router administration, enter the password (if configured), there must be an area called “port forwarding”. There you will set the port number that Internet requests arrive, and the internal computer that should satisfy these requests. Here is a screenshot of my Netgear router configured to redirect port 5900 to my VNC server, which is 192.168.0.11 (see above). Click on the image to see a larger version.