How to Share Your HFS File Server with the World

March 6, 2008 – 3:44 pm

Previously, I’ve written a beginner’s guide on how to setup a home network file server with HFS. In this post, I will explain further on how to allow access to HFS file sharing server with all the people around the world , which is not possible with the previous file server setup.

file-sharing-wth-the-world

 

This guide assumes that you have followed the previous HFS file server setup guide. Additionally, I am going to assume that your computer has a local, private IP address (address numbers that starts with either 10, 172 or 192, for example: 192.168.1.3) which means that you machine is connected to the Internet via a router. However, if your private IP address differs from the above, the probability is high that you are connected directly to the Internet and your HFS server can already be accessed directly by others outside your local LAN.

A- Initial Setup Checklist

1- Make sure HFS is running and you can access your file server via another computer inside your local area network (LAN).

2- Take note of your current internal, private IP address as detected by HFS as shown in the image below. You can see that my HFS server is using the default port 80 to run.

jot-down-private-ip-and-hfs-port-number

3- You also need to know the external, public IP address of your router. Launch your web browser and access http://whatismyip.com . The address shown on the website is the public IP address of your router. Copy this address somewhere safe, you are going to need it later.

check-external-ip

 

B- Setup Port Forwarding

To understand the concept of port forwarding, just imagine that there are two or three computers that are connected to the router inside your LAN but only one HFS file sharing server that is running and accessible via port 80, which is of course, your computer. Other computers outside your LAN (Internet) don’t know about your computer’s internal IP address because they can only see the router’s external IP address.

This is where the port forwarding concept plays its role. It allows remote computers outside the LAN to connect to a specific computer inside a LAN (in this case your file server) via specific port numbers. To setup port forwarding, you need access to the router configuration screen. (optional: Read more on port forwarding ).

A router acts like a bridge that connects two different worlds, LAN and the Internet. Different brands of routers have a different interface to setup port forwarding. Check out the PortForwarding website in step 4 below for specific instructions on how to setup port forwarding for your router.

4- Jot down your router brand and model. Next, choose your router model from PortForwarding.com and follow the given instructions. Don’t worry; port forwarding is not rocket science – this port forwarding website has every little detail to accomplish port forwarding for almost any applications that you can think of, including HFS.

find-router-model-on-port-forwarding

hfs-port-forwarding-setup-tutorial

I am using Aztech’s DSL600ER router+modem so below are detailed steps to setup port forwarding at my side. Steps to setup port forwarding for your router will differ a bit. (Reference: setup port forwarding for Aztech DSL600ER + HFS )

5- Access the router interface by typing http://192.168.1.1 inside the browser Address Bar. Click on “Advanced“.

access-router-interface

6- From the Advanced menu, select “Application -> Port Forwarding“. You will be taken to the port forwarding setup screen.

go-to-port-forwarding-screen

7- Make sure that your private IP address is selected from the LAN IP combo box. Next, select the User radio button from the Category section. Click on “New” to create a new port forwarding rule.

set-a-new-port-forwarding-rule

8- From the “Rule Management” interface, insert all the port information as shown in the image below. Click “Apply” and the rule will appear below the Rule Management setup field.

setup-new-rule-for-hfs

The rule above means that each time somebody access your router via the router’s public IP address at port 80, the router will map (or bring) the request to your computer’s internal, private IP address at port 80, so he or she can access the correct computer inside the LAN that acts as a file server.

9- Go back to the “Application -> Port Forwarding” page. Select the User radio button once more and you can see that the “HFS” rule is listed there. Select “HFS” from the list and click the “Add” button to copy the rule to the “Applied Rules” section. Click “Apply” to activate this port forwarding rule.

add-hfs-rule-to-router

 

C- Access Your HFS File Server from Outside the LAN

10- You can ask a friend outside your local LAN to access your server by typing your router external IP address using a web browser. If nobody is around to help you, you can skip this step and proceed to step 11.

access-from-outside-lan

11- To test if your port forwarding setup works from inside your LAN, you need to use an anonymous proxy / anonymizer (read more ). In this case, the anonymous proxy acts as another computer that is trying to access your HFS file server from outside your LAN. Open your browser and access http://hidemyass.com OR http://youhide.com . Type in your router external IP address inside the text field as shown in the example below and press Enter to proceed.

use-anonymous-proxy-to-test

successfull-port-forwarding

 

If you can access the HFS file server page using either step 10 or 11, you have successfully setup port forwarding for HFS! Your file server is now accessible by other computers from all over the Internet! Don’t forget to share this IP address to anybody that you want to have access to your file server.

Limitations: You may realize that with this setup, everybody outside your LAN will be accessing your HFS file sharing server using an IP address. The problem is that if you turn off your router and start it again, the public IP address of your router will change to a new one .You will then have to share this new IP address with your friends all over again.

Next time, I will show you on how to solve the problem above. We will replace the public IP address with a cool, consistent website address / URL that is easy to remember. Stay tuned!

Tags: , , , ,

Share!

Related Posts:


  1. 16 Responses to “How to Share Your HFS File Server with the World”

  2. A very good descriptive tutorial and this is what I was waiting for the Part 2. Stumbled this one.

    By Jawwad on Mar 7, 2008

  3. your sharing your IP online….well thats just genius…

    By lol.. on Mar 7, 2008

  4. @lol..: Sarcasm or praise? Lol!

    By Syahid A. on Mar 7, 2008

  5. @Jawwad: Glad you find it useful man. Many thanks for the stumble.

    By Syahid A. on Mar 7, 2008

  6. lebih kurang dgn home webserver la kan? instal apche+sql+router.

    By starwalker on Mar 12, 2008

  7. @starwalker: Lain, webserver utk server web pages. fileserver tuk share file.

    By Syahid A. on Mar 12, 2008

  8. macam mana nak configure bagi router jenis billion BiPAC 5200(S).x samalah ngan tutorial.saya dah tengok website portfowording.com.saya x dpt nak configure lah.boleh postkan entry pasal entry ni x?

    By sarah on May 14, 2008

  9. @sarah: minta maaflah sarah, saya tak ada router tersebut. terpaksalah anda cuba jaya.

    By Syahid A. on May 14, 2008

  10. Wow great post on HFS file server, Thanks

    By BlogsDNA on Jul 28, 2008

  11. i must agree, great post

    By toni on Oct 29, 2009

  12. Wow….lol well i came across this after sending 3 days configuring everything on my hfs…this could have saved me a lot of time….anyway thanks hfs without you my website would have no downloads……

    By Michael on Sep 7, 2010

  13. I have been doing this for days! NO LUCK.
    I have 2wire 2701HG-B. portforward.com = no help. I definitely just have a problem with port forwarding because HFS works with LAN just fine. ANYONE HELP??????????????

    By c on Mar 26, 2011

  14. I think the information given here is really clear and complete for those who want a computerized tutorial about sharing the HFS file server worldwide. The screenshots featured explain every step well. Perhaps, those who come across this post will find it very helpful.

    By nathan anderson on Jun 9, 2011

  15. My prolink H5200 doesn’t work. I forwarded my computers Ip and port but when I browse it using proxy it says:
    Unauthorized …
    IP Address: xx.xxx.xx.xx:1178
    MAC Address:
    Server Time: 2012-02-19 18:35:45
    Auth Result:

    I scan my port using online port scanner, it says my port is open and reachable. Btw my prolink is a modem router provided by our ISP. How to deal with this problem? thanks..

    By mfman on Feb 19, 2012

  1. 2 Trackback(s)

  2. Jan 14, 2009: christian.spaniol.biz: Blog » Blog Archive » Downloads für Dummies
  3. Aug 5, 2009: ZayCloud » Blog Archive » Make your own file server.

Post a Comment