{"id":1194,"date":"2010-12-01T02:44:17","date_gmt":"2010-12-01T07:44:17","guid":{"rendered":"http:\/\/alsplace.info\/security\/1194\/geek-to-live-how-to-access-a-home-server-behind-a-routerfirewall\/"},"modified":"2010-12-01T03:02:44","modified_gmt":"2010-12-01T08:02:44","slug":"geek-to-live-how-to-access-a-home-server-behind-a-routerfirewall","status":"publish","type":"post","link":"http:\/\/alsplace.info\/?p=1194","title":{"rendered":"Geek to Live: How to access a home server behind a router\/firewall"},"content":{"rendered":"\n<!-- ALL ADSENSE ADS DISABLED -->\n<p><!-- google_ad_section_start --> <\/p>\n<p align=\"justify\"><em>by Gina Trapani<\/em><\/p>\n<p align=\"justify\">Recent Lifehacker features have covered <a href=\"http:\/\/www.lifehacker.com\/software\/feature\/how-to-set-up-a-personal-home-web-server-124212.php\"><font color=\"#786e29\">how to run a personal web server<\/font><\/a> , <a href=\"http:\/\/www.lifehacker.com\/software\/feature\/special-how-to-control-your-home-computer-from-anywhere-125607.php\"><font color=\"#786e29\">how to control your home computer from anywhere<\/font><\/a> , and <a href=\"http:\/\/www.lifehacker.com\/software\/feature\/special-how-to-host-a-personal-wiki-on-your-home-computer-126052.php\"><font color=\"#786e29\">how to set up a personal wiki<\/font><\/a> . For users on a home network with a router installed, home servers are not accessible from the Internet because of many modern routers&#39; built-in firewall.<\/p>\n<p align=\"justify\">Today we&#39;ll cover how to open up specific ports on your router to allow access to a <a href=\"http:\/\/lifehacker.com\/tag\/home-server\/\" title=\"Click here to read more posts tagged HOME SERVER\"><font color=\"#303030\">home server<\/font><\/a> behind a firewall.<\/p>\n<p align=\"justify\"><em>Please note: this tutorial is for advanced users. Your router&#39;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.<\/em><\/p>\n<p align=\"justify\">Enabling outside access to an internal computer on a home network requires that you set up NAT &#8211; &quot;network address translation,&quot; or port forwarding. Forwarding sends requests for ports on the outside of your firewall to the right computer on the inside.<\/p>\n<p align=\"justify\">For instance, someone on the outside requests a page from a web server at your router&#39;s IP address. With port forwarding <a href=\"http:\/\/www.neighborhoodrealtyonline.com\/\">viagra brand cheap<\/a>  set up, your router knows to forward requests for port 80 (a web server&#39;s default port) to the computer with the web server running only &#8211; and none of the others on your network.<\/p>\n<p align=\"justify\">Port forwarding is only necessary when you want to expose a service to computers on the Internet outside your firewall. Some servers you&#39;d want to do that with:<\/p>\n<ul>\n<li>\n<div align=\"justify\">a home web server<\/div>\n<\/li>\n<li>\n<div align=\"justify\">a personal wiki<\/div>\n<\/li>\n<li>\n<div align=\"justify\">a BitTorrent client uploading as well as downloading<\/div>\n<\/li>\n<li>\n<div align=\"justify\">a VNC server<\/div>\n<\/li>\n<li>\n<div align=\"justify\">a home FTP server<\/div>\n<\/li>\n<\/ul>\n<p align=\"justify\">While all routers vary slightly, port forwarding is fairly simple. Here&#39;s how to get it set up:<\/p>\n<p align=\"justify\"><strong>Step 1. Determine your server&#39;s internal IP address.<\/strong><\/p>\n<p align=\"justify\">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&#39;s internal address, like so:<\/p>\n<div align=\"justify\">\n<div>C:\\Gina&gt;ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.0.11 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1<\/div>\n<\/p><\/div>\n<p align=\"justify\">In this case, as you can see, the server&#39;s internal IP address is 192.168.0.11.<\/p>\n<p align=\"justify\"><strong>Step 2. Configure your router.<\/strong><\/p>\n<p align=\"justify\">Most routers have an web-based administrative interface that&#39;s located at http:\/\/192.168.0.1. (This address does depend on your model. Consult your router user guide for more info.)<\/p>\n<p align=\"justify\">Once you&#39;ve gone to the router administration, entered the password (if one is set up), there should be an area called &quot;Port forwarding.&quot; There, you&#39;ll set the port number that requests from the Internet will come in, and the internal computer that should fulfill those requests. Here&#39;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.<\/p>\n<p align=\"justify\"><a href=\"http:\/\/www.lifehacker.com\/software\/uploaded\/2005-09-23\/Port-forwarding.php\" onclick=\"window.open(&#39;http:\/\/www.lifehacker.com\/software\/uploaded\/2005-09-23\/Port-forwarding.php&#39;,&#39;popup&#39;,&#39;width=769,height=452,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0&#39;); return false\"><img decoding=\"async\" loading=\"lazy\" class=\"left image340 left image340\" src=\"http:\/\/www.lifehacker.com\/software\/uploaded\/2005-09-23\/Port-forwarding-thumb.png\" border=\"0\" width=\"340\" height=\"199\" \/><\/a><\/p>\n<p align=\"justify\">Here&#39;s a table of common services and their default port numbers.<\/p>\n<div align=\"justify\">\n<table border=\"1\">\n<tr bgcolor=\"#0c0c0c\">\n<td><strong>Service<\/strong><\/td>\n<td><strong>Port number<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Web server<\/td>\n<td>80<\/td>\n<\/tr>\n<tr>\n<td>VNC (remote control)<\/td>\n<td>5900<\/td>\n<\/tr>\n<tr>\n<td>Instiki wiki<\/td>\n<td>2500<\/td>\n<\/tr>\n<tr>\n<td>FTP<\/td>\n<td>21<\/td>\n<\/tr>\n<tr>\n<td>BitTorrent<\/td>\n<td>6881-6990<\/td>\n<\/tr>\n<\/table><\/div>\n<p align=\"justify\">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.<\/p>\n<!-- Social Bookmarks BEGIN -->\n<div class=\"social_bookmark\">\n<a title=\"Click me to see the sites.\" href=\"#\" onclick=\"$$('div.d1194').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;\"><strong><em>Bookmark to:<\/em><\/strong><\/a>\n<br \/>\n<div class=\"d1194\" style=\"overflow:hidden\">\n<br \/>\n<br \/>\n<a style=\"font-size:90%;text-align: right; \" title=\"Click me to hide the sites.\" href=\"#\" onclick=\"$$('div.d1194').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;\">Hide Sites<\/a>\n<\/div>\n<\/div>\n<!-- Social Bookmarks END -->\n<script type=\"text\/javascript\">$$('div.d1194').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); <\/script>","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n<!-- Social Bookmarks BEGIN -->\n<div class=\"social_bookmark\">\n<a title=\"Click me to see the sites.\" href=\"#\" onclick=\"$$('div.d1194').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;\"><strong><em>Bookmark to:<\/em><\/strong><\/a>\n<br \/>\n<div class=\"d1194\" style=\"overflow:hidden\">\n<br \/>\n<br \/>\n<a style=\"font-size:90%;text-align: right; \" title=\"Click me to hide the sites.\" href=\"#\" onclick=\"$$('div.d1194').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;\">Hide Sites<\/a>\n<\/div>\n<\/div>\n<!-- Social Bookmarks END -->\n<script type=\"text\/javascript\">$$('div.d1194').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); <\/script>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[26,66],"tags":[],"_links":{"self":[{"href":"http:\/\/alsplace.info\/index.php?rest_route=\/wp\/v2\/posts\/1194"}],"collection":[{"href":"http:\/\/alsplace.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/alsplace.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/alsplace.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/alsplace.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1194"}],"version-history":[{"count":0,"href":"http:\/\/alsplace.info\/index.php?rest_route=\/wp\/v2\/posts\/1194\/revisions"}],"wp:attachment":[{"href":"http:\/\/alsplace.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/alsplace.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1194"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/alsplace.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}