Internet access to Media Files - TS-219 Turbo NAS

Please post your questions about using the web-based Multimedia, Photo, Music Stations here.

Internet access to Media Files - TS-219 Turbo NAS

Postby cknouf » Wed Dec 29, 2010 12:28 am

I continue to work with my brother-in-law to make his pictures, music file and possibly home videos accessible to all family members over the Internet on his TS-219 Turbo NAS. There seems to be at least two solutions (Multimedia Station or Twonky Server) supported solutions for access over the local network by ether Ethernet or WiFi but remote access seems to require either setting up a Static IP or Dynamic DNS. I apologize if this has been covered in forum messages and explained in simple lay terminology. From what I can see from reviewing the user manual and the forum messages, there appears not to be a supported solution at this time. Any assistance would be greatly appreciated.

Thanks - Craig
cknouf
First post
 
Posts: 1
Joined: Tue Dec 28, 2010 11:18 pm
NAS Model: SS-439 Pro

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby sdh » Fri Dec 31, 2010 5:42 am

The problem you are encountering is that in general, IP addresses are not fixed. Each time a router connects to the Internet it may receive a new IP address. Dynamic DNS is used to get around this. In essence, a software client runs on the Qnap which reports its IP address to a central server. The Dynamic DNS service re-maps the domain name of the server to a new IP address every time it changes. Hence, given the correct router configuration, it is then possible to use a fixed domain name to access the server whatever its actual externally visible IP address may be.

What you need to do are two things. First, register with a free Dynamic DNS service to obtain a suitable domain name. I use the service provided by http://www.dyndns.com myself, but several other Dynamic DNS services are also supported by Qnap servers. Once you've registered with them to create an account and obtained your domain name, you can then configure the Qnap server. Note that Dynamic DNS may also be supported on your router, in which case you may also choose to configure the service on that device instead. As long as you configure either the router or the Qnap server, the service will work properly.

To set DDNS up on the Qnap server, log in to the admin interface and go to System Administration, then select the Network option.The second tab on the right hand page is labelled DDNS. Open this and tick the 'Enable DDNS service' checkbox. Make sure that your chosen DDNS provider is selected in the pop-up menu, then type in your DDNS service user name and password, and the host name that you picked when you registered with the DDNS provider. Finally select a time interval for the IP address check. I use the maximum of 1 hour myself, and have never had any problem with the DDNS service receiving too many updates from my network. If you're happy, click the Apply button and you should see your current external IP address appear if it is all configured correctly.

The second thing you need to do is to make sure that the media service is visible to the outside world. This configuration may not be required if your router and the server both support something called 'UPnP IGD' but it is worth stating anyway. The reason you have to configure the router here is because, the actual IP address of your Qnap server is not visible by default from the outside world. Your router has to understand that it has to forward packets it receives that are destined for your server or any other machine on your network. Normally, a computer or other device on your network first makes a request to a web server (say). The router then notes this and forwards the request, substituting its externally routable IP address for the private, (non-routable) address of the server. The reply packet has its destination address changed by the router to the internal address of your server and all is well. However, where the connection is incoming to a server on the internal network, the router doesn't know in advance what to do with the packet unless it has been told previously to send it to that server. This is what 'port forwarding' does. It uses the destination port number of the packet (this is 9000 for Twonkymedia, 9001 for Squeezeserver, both by default) to look up the internal IP address, if any, to forward the packet on to. So, by knowing what type of packet it is (as told by the port number) it can forward the request to the server.

This is what happens for all TCP and UDP protocols, which use port numbers. The whole story is that there are many possible transport protocols, most of which don't have the concept of a port number associated with them.

In summary:

1. Register a DDNS domain name with a DDNS provider.
2. Configure the Qnap or the router with the DDNS update information.
3. Make sure that the appropriate services are enabled on the Qnap.
4. Configure the router with the protocol and, if needed, port numbers associated with the services you want to enable. (TCP 9000 for Twonkymedia) so that it forwards packets with the desired protocol and port information to your Qnap server.
5. Connect to the server from the outside world using its DDNS domain name.

Hope this is useful.

Steve
sdh
Getting the hang of things
 
Posts: 87
Joined: Tue Sep 25, 2007 6:49 am

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby lexvo@xs4all.nl » Sun Jan 09, 2011 2:24 am

So do I have to forward port 9000 to use the Multimedia station from the internet?
lexvo@xs4all.nl
New here
 
Posts: 4
Joined: Wed Dec 29, 2010 2:15 am
NAS Model: TS-109/209 Pro II

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby schumaku » Sun Jan 09, 2011 9:00 am

The Multimedia Station (MSV2) is running ont the NAS' Web Server on http (80/TCP by default) and https (8081/TCP by default). So to access MSV2 you need to forward these ports.

QMobile to access the NAS from your mobile device is working on the normal Web server http (80/TCP by default) by the way.
User avatar
schumaku
Guru
 
Posts: 28384
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby lexvo@xs4all.nl » Sun Jan 09, 2011 5:55 pm

Thanks, I've got it working now.
lexvo@xs4all.nl
New here
 
Posts: 4
Joined: Wed Dec 29, 2010 2:15 am
NAS Model: TS-109/209 Pro II

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby dagudsun » Tue Jan 18, 2011 11:01 pm

Feel like helping one more person here?
I am a bit lost.
Externally:
Wan Ip is connected to dnydns hostname
Internally:
NAs is setup with the ddns information
web hosting service is on
multimedia service is on
LAN IP for NAS is forwarded to port 80 (tcp)

Results:
When the rule is on and I use an external to my network source for internet I type hostname and get hte web server setup guide ( not the admin page)
When I turn that rule off I get the expected error page not found.

If I understand correctly, 80 should be the Multimedia Station - why am I not getting there?
dagudsun
New here
 
Posts: 8
Joined: Fri May 22, 2009 8:26 am
NAS Model: TS-109/209 Pro II

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby dagudsun » Tue Jan 18, 2011 11:19 pm

dagudsun wrote:Feel like helping one more person here?
I am a bit lost.
Externally:
Wan Ip is connected to dnydns hostname
Internally:
NAs is setup with the ddns information
web hosting service is on
multimedia service is on
LAN IP for NAS is forwarded to port 80 (tcp)

Results:
When the rule is on and I use an external to my network source for internet I type hostname and get hte web server setup guide ( not the admin page)
When I turn that rule off I get the expected error page not found.

If I understand correctly, 80 should be the Multimedia Station - why am I not getting there?


BTW this is TS119, does that make a difference? Running 3.3.9-105
dagudsun
New here
 
Posts: 8
Joined: Fri May 22, 2009 8:26 am
NAS Model: TS-109/209 Pro II

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby schumaku » Thu Jan 20, 2011 5:26 am

dagudsun wrote:BTW this is TS119, does that make a difference? Running 3.3.9-105
Not at all - same procedure for all actual NAS models with the Multimedia Station V2 (MSV2).
User avatar
schumaku
Guru
 
Posts: 28384
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby jmroderick » Fri Jan 28, 2011 4:56 am

Schumaku,

how do you configure the port forwarding to deal with the fact that the address of the latest Multimedia Station is not just :80 but :80/MSV2.

Just port forwarding any HTTP traffic to port 80 will present you with the default Web Server front page.

In the admin console, the full address of the MSV2 server is http://x.x.x.x:80/MSV2, whereas I think in previous versions it didn't have the MSV extension.
jmroderick
Starting out
 
Posts: 21
Joined: Sat Feb 20, 2010 12:29 am
NAS Model: SS-439 Pro

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby schumaku » Fri Jan 28, 2011 6:34 am

jmroderick wrote:how do you configure the port forwarding to deal with the fact that the address of the latest Multimedia Station is not just :80 but :80/MSV2.
The path of the URL is not related to the port forwarding.

jmroderick wrote:Just port forwarding any HTTP traffic to port 80 will present you with the default Web Server front page.
Correct. Then add /MSV2/ to the URL opening the default Web page.

jmroderick wrote:In the admin console, the full address of the MSV2 server is http://x.x.x.x:80/MSV2, whereas I think in previous versions it didn't have the MSV extension.
Previous version was on a different port, using a different URL http://..../cgi-bin/something/.... and has no relation to the new Multimedia Station V2.
User avatar
schumaku
Guru
 
Posts: 28384
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby jmroderick » Sun Jan 30, 2011 4:09 am

Thanks,

Of course, makes sense now....though odd I am able to get it working on one 219P but not another...ah well, I'll work it out.
jmroderick
Starting out
 
Posts: 21
Joined: Sat Feb 20, 2010 12:29 am
NAS Model: SS-439 Pro

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby jmroderick » Fri Feb 04, 2011 10:00 pm

An update to the problem...I can access the MSV2 page directly but not when I go into the QNAP admin page and try to access the link under Applications - Multimedia Station....why should this be?

Jon
jmroderick
Starting out
 
Posts: 21
Joined: Sat Feb 20, 2010 12:29 am
NAS Model: SS-439 Pro

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby schumaku » Sun Feb 06, 2011 3:32 am

Jon,

Try emptying your browser cache.

GIve an example of the faux link visible on "QNAP admin page and try to access the link under Applications - Multimedia Station", or a partial screen print.
User avatar
schumaku
Guru
 
Posts: 28384
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby jmroderick » Tue Feb 08, 2011 6:23 am

Hi,

when I try to access the Multimedia Station via the QNAP admin page, I get the following (attached).

The address it's trying to connect on http://QNAPdnsname:8080/MSV2 is valid and I can access it directly but just not from within the QNAP admin pages.
You do not have the required permissions to view the files attached to this post.
jmroderick
Starting out
 
Posts: 21
Joined: Sat Feb 20, 2010 12:29 am
NAS Model: SS-439 Pro

Re: Internet access to Media Files - TS-219 Turbo NAS

Postby schumaku » Tue Feb 08, 2011 11:43 pm

The URL is really the same when accessing direct vs. accessing from the Admin UI portal pages?

Sorry for beeing nasty: http://QNAPdnsname:8080/MSV2 - have you really changed the http admin UI port to something diferent than the defaults, and configured 8080 for the Web server? Or have you configured a port mapping for 8080->80 on the router?

From what I'm aware of, the URL links on the portal page are created dynamically based on the request URLand have the Web ports added for https and http as configured on the Web server.

If the URL is the same - keyed in direct vs. linked on the portal page: Has this browser/OS potentially an issue when changing from a Web page to a full- Flash page?
User avatar
schumaku
Guru
 
Posts: 28384
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Next

Return to Multimedia Station, Photo Station, Music Station

Who is online

Users browsing this forum: No registered users and 1 guest