Techno-muffin Magrathea! It's Magrathea!

17Jan/1058

How to: Setup DDNS with the LG NAS

LG NAS N2B1

And finally it came! My LG N2B1 with 2x1TB drives. Wonderful piece of gadget in great design. I unpacked it quickly and turned it on. Everything went smooth, though the drives weren't formatted and partitioned when it arrived, but that was easily done through the Web Menu. Also, this is not what this post is about!

One of the cool things LG gives their customers is a DDNS service. They offer you a domain - your_name.lgnas.com - so you can access your NAS not just locally but globally. Just as cool as this sounds as much a pain in the ass it can be to set it up. It took me hours of googling and twice as many hours taking care of my head-aches. My problems were mostly related to port-forwarding, and therefore the guide will cover that primarily. So, here is a small guide that can hopefully help some. I can recommend canyouseeme.org while testing.

  • Connect to the NAS and enable DDNS. A pretty obvious step. Log into the web menu of your NAS, go to "Remote access" and enable DDNS. Here you must also choose a domain name (make it cool!) and password. Clicking enable should initiate a process, this takes a little while. After it has been enabled your (external) IP-address should be revealed. Copy this to clipboard.

  • Basically, you can just try to see if it works now. Open a browser and paste the IP into the address-line or type your_name.lgnas.com. Both probably gives you errors, right? If yes, read on. If no, damn, you're a lucky bastard!

  • So, what's the hold-up? Your connection is being blocked! We need to open up some ports by port-forwarding. This process requires changing some settings in the router, so let's go there now. In a browser type 192.168.1.1 or whatever your router's IP is. Go to port-forwarding - it's located different on different routers. On my Linksys router (WRT160N) it's a tab called "Applications and gaming".

  • Let's port-forward! We're gonna do 4 different ports: 21 (FTP), 80 (WEB), 9090 (FileView) and 9091 (Torrent). For each, choose a name, enter the port in both external/internal, choose both (UDP+TCP). The IP-address is the address of the NAS. Now, enable them.

  • Does it work now? Check the browser by entering either your external IP from before or the domain-name. If it works, hurray! If not, read on. We'll get there soon!

  • Basically, it should work by doing the above, given you've done everything right. So what NOW is the problem? It can be one of three. Either 1) your ISP is blocking the ports for security reasons. If you think this is the case, you must contact them and have them open the ports and can stop reading on OR 2) there is another router in your network! OR 3) Both.

  • Option 2 was of course my issue. I had not realized that my modem also worked as a router! My setup is a ZyXeL modem/router (wired) to a Linksys WRT160N (wireless) router. My problem was therefore, that the requests never got through to the Linksys and obviously could not forward the ports to the NAS! So basic, but yet so easy to miss. What to do is this.

  • Open a browser and access your OTHER router. In my case the IP was 10.0.0.1. You will be prompted for a password. Default on ZyXeL is 1234, but a much longer password had been set by my ISP (Cybercity), so I had to retrieve it from a piece of paper hidden away in a very dusty box. Anyways, when you've gotten access to the router, we must do another port-forward, so go there. Now, forward ALL ports (1-64000) to your other router. This is done by doing a port-forward range, 1 as start and 64000 as end. Now, the important thing this is getting the IP correct for the router. It is NOT 192.168... Instead, it will most likely be 10.0.0.2 or similar. Enable the port-forwarding.

  • Let's check the domain once again. Does it work? I really hope so, since there are no more steps in this guide. Have fun with your remote accessible NAS :)
  • Tagged as: , , , , , Leave a comment
    Comments (58) Trackbacks (0)
    1. Thanks Johan, i’ve got my NAS all fired up and ready to roll. Your article was of great help. Cheers! Jeroen.

    2. Many thanks, Johan. I’ve been looking for 3 days until I found your recomendations. My solution was in the damn “UPnP”, that was disabled. But if I not read your blog I´ll never found the problem.

      My NAS and my ego is up and running now.

      Cheers!

    3. thanx …. but be carefull :
      no https available .
      no limited try on Login/pass

      …. a small script and you are done :’(

    4. thank very usefull!

    5. Tx very usefull. Has anybody has managed accessing remotely the MySql Server using Workbench tool?

    6. thanks for the post. the lg provided instructions sure are terrible. so here’s where i’m at. when i enter the url into a browser, i get a page from my service provider with info about my cable modem and it says that i’m connected. nowhere to connect to my LGNAS. Now what?

    7. Hi,

      I got the LG N2R1 DD1 which is a 1TB + DVD RW NAS drive… works nice within my internal network (192.168.1.48) but setting up DDNS is just making me mad.

      Here’s my setup:

      Netgear (192.168.1.1) WNR1000v2 router > Cisco DPC2100R2 modem > Comcast ISP

      Netgear is setup to port forward 20,80,9090,9091 with IP 192.168.1.48 (both TCP/UDP)

      Cisco modem (192.168.100.1) doesn’t have any login or port forward (just a system info page shows up)

      Called Comcast and they told me that they have no control nor unblock IPs or Ports for specific users!

      Unable to access my NAS outside the network :( and within the LG NAS admin, it shows “DDNS is working correctly. My IP is 67.188.XX.XXX”

      Any help would be appreciated a lot. Thank you

    8. I had to forward port 8000 also and then it worked :D


    Leave a comment

    (required)

    No trackbacks yet.