Mounting a drive over VPN

Share your own product reviews, suggestions, and tips and tricks of using QNAP products. Show off your products.

Mounting a drive over VPN

Postby dthomas86 » Thu Apr 26, 2012 10:41 pm

Hey,
I have set up a mycloudnas account and have VPN working thanks to this tutorial http://docs.qnap.com/nas/en/index.html?vpn_service.htm.
I have AFP enabled and can not seem to get my server to show up in Finder to mount the shared drives. Am I meant to use the connect to server method in Finder, if so where can I Find my servers ip to connect to?

Thanks
dthomas86
New here
 
Posts: 9
Joined: Wed Apr 25, 2012 7:59 pm
NAS Model: TS-112

Re: Mounting a drive over VPN

Postby schumaku » Thu Apr 26, 2012 11:05 pm

On the VPN, the NAS is the .1 address on the subnetwork (resp. the client pool) configured for the respective VPN.

For PPTP, the NAS adress to use is 10.0.0.1, for OpenVPN it's 10.8.0.1 when I'm not wrong.
User avatar
schumaku
Guru
 
Posts: 22232
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Mounting a drive over VPN

Postby dthomas86 » Thu Apr 26, 2012 11:33 pm

schumaku wrote:On the VPN, the NAS is the .1 address on the subnetwork (resp. the client pool) configured for the respective VPN.

For PPTP, the NAS adress to use is 10.0.0.1, for OpenVPN it's 10.8.0.1 when I'm not wrong.


Thanks for the email so once I connect by VPN using PPTP should I select connect to server and type in AFP 10.0.0.1.

Sorry I'm new to networking and want to get this working thanks for the help.
dthomas86
New here
 
Posts: 9
Joined: Wed Apr 25, 2012 7:59 pm
NAS Model: TS-112

Re: Mounting a drive over VPN

Postby schumaku » Fri Apr 27, 2012 4:56 pm

dthomas86 wrote: Thanks for the email so once I connect by VPN using PPTP should I select connect to server and type in AFP 10.0.0.1.
Yes - unless you have changed the PPTP VPN Pool network on the NAS PPTP VPN config.
User avatar
schumaku
Guru
 
Posts: 22232
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Mounting a drive over VPN

Postby dthomas86 » Fri Apr 27, 2012 10:51 pm

Would you recommend me to connect using WebDav instead of VPN?
Basically I want my shared drives to be mounted when ever I am either on LAN or WAN automatically. What would you say is the best way to achieve this? I'm using a Mac cheers mate.
dthomas86
New here
 
Posts: 9
Joined: Wed Apr 25, 2012 7:59 pm
NAS Model: TS-112

Re: Mounting a drive over VPN

Postby brokamonster » Tue Aug 21, 2012 9:51 am

Did you ever figure this out? I'm having the same issue. I wanted to VPN with PPTN and then map drives but I can not find my shares once I'm connected to my NAS via VPN. The VPN is connected and working okay, and I can find the NAS at 10.0.0.1 but none of the shares, which I though should be at 10.0.0.2.

I've tried using NetDrive for WebDav but I've found it to be painfully slow.
brokamonster
New here
 
Posts: 7
Joined: Sat Aug 18, 2012 3:27 am
NAS Model: TS-259 Pro

Re: Mounting a drive over VPN

Postby schumaku » Tue Aug 21, 2012 6:35 pm

There is no "find" as the shares are not announced.

All you have to do is to use the URI \\10.0.0.2\[sharename] ie. in Windows Explorer.
User avatar
schumaku
Guru
 
Posts: 22232
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Mounting a drive over VPN

Postby xiaozhuang » Thu Aug 30, 2012 8:12 am

Hi, Kurt

I have the same issue. I am able to connect to TS-210 at home by VPN through PPTP and couldn't see any shared folders. I can see my remote computer has been assigned IP address 10.0.0.2, subnet mask 255.255.255.255 and default gateway 0.0.0.0. I am able to ping 10.0.0.1 but can not connect to any share in windows explorer. Please hlep.
xiaozhuang
Starting out
 
Posts: 10
Joined: Sat Jun 26, 2010 1:31 pm
NAS Model: TS-219P

Re: Mounting a drive over VPN

Postby schumaku » Thu Aug 30, 2012 12:59 pm

AFAIK you can't browse the shares using ie. Windows Explorer - enter \\10.0.0.1 or \\10.0.0.1\[sharename] in Explorer.
User avatar
schumaku
Guru
 
Posts: 22232
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Mounting a drive over VPN

Postby xiaozhuang » Thu Aug 30, 2012 1:15 pm

I did use Windows Explorer but windows just not able to access the share. error code from windows is 0x80004005
xiaozhuang
Starting out
 
Posts: 10
Joined: Sat Jun 26, 2010 1:31 pm
NAS Model: TS-219P

Re: Mounting a drive over VPN

Postby schumaku » Thu Aug 30, 2012 1:55 pm

Get the same when using \\[yournas]\ and \\10.0.0.1\ - or just on accessing a share using \\10.0.0.1\[sharename] ?

If the regular way to connect a share fails (as it does - the NAS name is not announced over the VPN AFAIK), and you were forced to connect by ip, getting error 80004005 would make sense: This is typically something around access denied, wrong permissions, insufficient rights. Your network or the NAS shares might be cocnfigured to share IP access control.
User avatar
schumaku
Guru
 
Posts: 22232
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Mounting a drive over VPN

Postby xiaozhuang » Thu Aug 30, 2012 2:09 pm

I get same result either use \\NAS_Name\ or \\10.0.01

My NAS is set up at high security with a very short IP whitelist. Is this the cause of share access denied?
xiaozhuang
Starting out
 
Posts: 10
Joined: Sat Jun 26, 2010 1:31 pm
NAS Model: TS-219P

Re: Mounting a drive over VPN

Postby schumaku » Thu Aug 30, 2012 2:17 pm

Of course ... add 10.0.0.2 resp. better the complete VPN pools (according to the VPN settings) as trusted hosts, too.
User avatar
schumaku
Guru
 
Posts: 22232
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Mounting a drive over VPN

Postby xiaozhuang » Fri Aug 31, 2012 8:18 am

Weird. Eventually find out it is windows Firewall on my win 7 laptop that blocks the access. Once turned off, the share is then accessible. I though such situation would only occurs to OpenVPN but happens to PPTP VPN as well.
xiaozhuang
Starting out
 
Posts: 10
Joined: Sat Jun 26, 2010 1:31 pm
NAS Model: TS-219P


Return to Users' Corner

Who is online

Users browsing this forum: No registered users and 3 guests