How to access Download Manager from Internet

Please post questions about ReadyNAS add-ons here.

How to access Download Manager from Internet

Postby muri » Sat Mar 15, 2008 10:47 am

Is it possible to access the Download Manager remotely?
I can correctly access the Front View from the Internet, but I couldn't access the download manager: it opens a new browser window with the local IP.
I tried this: https://wanip:8080/ but I had no luck ...

Thank you
muri
ReadyNAS User
 
Posts: 59
Joined: Thu Mar 08, 2007 9:29 am
Location: Italy
ReadyNAS: NV+

Re: How to access Download Manager from Internet

Postby dbott67 » Sat Mar 15, 2008 12:06 pm

You would need to setup a port-forward rule on your router to go from port 8080 on WAN to port 8080 on internal IP of your NAS. From there, you would just open a browser to http://your.wan.ip.address:8080/ (not https).

-Dave
User avatar
dbott67
ReadyNAS Fanatic
 
Posts: 8523
Joined: Mon Dec 31, 2007 9:20 am
Location: District 9
ReadyNAS: Pro

Re: How to access Download Manager from Internet

Postby muri » Sat Mar 15, 2008 12:13 pm

That's it!!!! It was the NAT settings ... stupid me, I didn't think about that.
Then I suppose I should enable http too ... I have only https now ...


Thank you for your help!
muri
ReadyNAS User
 
Posts: 59
Joined: Thu Mar 08, 2007 9:29 am
Location: Italy
ReadyNAS: NV+

Re: How to access Download Manager from Internet

Postby dbott67 » Sat Mar 15, 2008 12:32 pm

You're welcome.

As for what ports you need to forward on your NAS, it depends on what external access you want to have. Keep in mind that the more access you provide to your NAS, the greater the chance of some miscreant trying to hose it.

So, if you only want to have access to your NAS so that you can start a BitTorrent download from a remote location, then you only need to forward port 8080 to your NAS. No other ports need to opened/forwarded. Also, the BT service is NOT password protected, meaning that anyone that scans your public IP on port 8080 would have unconditional access to bugger around with your BT settings, etc.

If you want HTTPS access to your shares (and/or FrontView web administration), then you need to forward port 443 to your NAS. This will allow you to access any documents or files in your shares from a remote location just by using a web browser and going to https://your.public.ip.address/shares/
(or https://your.public.ip.address/admin/ for FrontView access).

Likewise for FTP. If you require access via FTP, forward port 21 to your NAS and then you should be able to access your files via FTP.

Keep in mind that these services must be enabled for each share (CIFS, AFP, FTP, HTTPS).

I hope this makes sense.

-Dave
User avatar
dbott67
ReadyNAS Fanatic
 
Posts: 8523
Joined: Mon Dec 31, 2007 9:20 am
Location: District 9
ReadyNAS: Pro

Re: How to access Download Manager from Internet

Postby matt_g » Sat Mar 15, 2008 2:44 pm

Not really a good idea to open port 8080 to the world. It is possible to add torrents using SSH, which is probably safe. This doesn't allow you to view progress though. The following procedure is a little complicated, but maybe someone can simplify it.
Setup:
- Install SSH add-on
- Install APT add-on
- ssh to device and use apt-get to install curl

Adding a torrent file:
- scp torrent to device
- ssh to device
- curl to POST file:
- remove file

The curl command would be something like:
Code: Select all
curl -F fileEl=@a.torrent http://localhost:8080/api/torrent-add?start=yes


Adding a torrent url:
- ssh to device
- curl to GET url

I don't know the exact curl command to add torrents via URL, but it's mentioned in this post:
http://www.readynas.com/forum/viewtopic.php?f=35&t=12258&p=87590#p87590

You don't actually have to log in and then send the command, you can do it in a single step, described here:
http://systemsboy.blogspot.com/2006/07/send-remote-commands-via-ssh.html

-matt

If you have any other devices on your local network that are on you can setup ssh port-forwarding on them to safely access the infrant from outside.
matt_g
ReadyNAS Newbie
 
Posts: 11
Joined: Sat Mar 15, 2008 4:25 am

Re: How to access Download Manager from Internet

Postby muri » Mon Mar 17, 2008 2:23 am

Thank you dbott.
I already use ftp and webdav, but I just didn't relize that my problem was the router :-)

I don't feel very confident opening that port without encription too. This should be added as soon as possible as well as the ability to change the standard port to a less common one.
muri
ReadyNAS User
 
Posts: 59
Joined: Thu Mar 08, 2007 9:29 am
Location: Italy
ReadyNAS: NV+


Return to General Discussion on ReadyNAS Add-ons



Who is online

Users browsing this forum: No registered users and 1 guest