Want to access NAS over internet - need help with settings

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
shapiror06
DD-WRT Novice


Joined: 10 Sep 2013
Posts: 9

PostPosted: Mon Sep 29, 2014 23:47    Post subject: Want to access NAS over internet - need help with settings Reply with quote
I want to access my USB drive from my router with DD-WRT over the internet from anywhere, like a personal cloud.

I set up a free DDNS service from freedns.afraid.org: shapiro.mooo.com

I also have USB support enabled in DD-WRT and Samba server for NAS. I do not have automatic drive mount enabled but I can access my USB drive over my local network, so I believe it's fine.

When I navigate to that address (shapiro.mooo.com) it takes me to the main DD-WRT screen to log into my router settings. I don't know if it's supposed to do that or if I have some setting screwed up.

How do I make it so I can map the USB drive on my tablet and work pc and access it anywhere?
Sponsor
notorious.dds
DD-WRT User


Joined: 24 May 2012
Posts: 376
Location: Michigan

PostPosted: Tue Sep 30, 2014 0:32    Post subject: Reply with quote
Typically, you'd set up a VPN server. Connect to it, then you can treat the NAS like you're on the local network. Wink
shapiror06
DD-WRT Novice


Joined: 10 Sep 2013
Posts: 9

PostPosted: Thu Oct 02, 2014 0:02    Post subject: Reply with quote
There's got to be an easier way to access the USB drive through the DDNS...
prahbek
DD-WRT Novice


Joined: 06 Oct 2014
Posts: 2
Location: Denmark

PostPosted: Mon Oct 06, 2014 13:25    Post subject: Reply with quote
You could enable FTP access in DD-WRT. This way you can avoid setting up VPN - However it maybe somewhat more insecure compared to VPN.
FTP is built into Windows Explorer, so if you setup a shortcut, you'll be able to access your data from anywhere using the URL: ftp://username:password@shapiro.mooo.com
MrAlvin
DD-WRT User


Joined: 07 Jan 2007
Posts: 457
Location: Denmark

PostPosted: Mon Oct 06, 2014 13:57    Post subject: Re: Want to access NAS over internet - need help with settin Reply with quote
shapiror06 wrote:
but I can access my USB drive over my local network, so I believe it's fine.
what tool (program) are you using?

Different programs tend to use different ports. Like:
- web - port 80
- ftp - ports 20+21
- samba/explorer (netBIOS) - ports ? I think 135,136,137 or something like that.



shapiror06 wrote:
When I navigate to that address (shapiro.mooo.com) it takes me to the main DD-WRT screen to log into my router settings.


what tool (program) are you using?

You are probably using your browser (uses port 80)

shapiror06 wrote:
How do I make it so I can map the USB drive on my tablet and work pc and access it anywhere?

You are probably thinking about using samba/explorer, as in network neighbourhood


The easiest way to access files is via FTP.


You should note, that when you open samba to the entire internet, it becomes easier for anyone to access your network/files.

You should also note that most port based protocols (http, ftp, netBOIS (samba) ) uses no encryption for neither passwords or data, so anyone sniffing your traffic, can see the contents of your files - and your username/password.

This is why setting up a VPN is often used. VPN creates an encrypted tunnel for all the ports.

It may be possible to add encryption to the port based protocols, like:
ftp -> (becomes) sftp
http -> https
telnet -> ssh
prahbek
DD-WRT Novice


Joined: 06 Oct 2014
Posts: 2
Location: Denmark

PostPosted: Mon Oct 06, 2014 14:31    Post subject: Reply with quote
Please note that SFTP on DD-WRT requires installation of Optware and Windows Explorer doesn't support SFTP out of the box - for that you could use Swish like so:
http://www.howtogeek.com/165893/how-to-integrate-a-remote-sftp-directory-into-windows-explorer/

and setup SFTP like so:
http://www.dd-wrt.com/wiki/index.php/SFTP_with_DD-WRT

But I guess it depends on the requirements and expectations of the original poster.
notorious.dds
DD-WRT User


Joined: 24 May 2012
Posts: 376
Location: Michigan

PostPosted: Mon Oct 06, 2014 16:13    Post subject: Reply with quote
shapiror06 wrote:
There's got to be an easier way to access the USB drive through the DDNS...

Let me assure you that setting up a VPN server is FAR easier than setting up optware with SFTP.

Many DD-WRT builds have VPN capability built right in. If that's true with your build, it's really not too difficult.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum