Mapping Network Drives over Internet with WebDAV

The discussion room of webDAV based solution for file sharing.
Forum rules
We've moved! Head over to Synology Community (community.synology.com) to meet up with our team and other Synology enthusiasts!
Treen
I'm New!
I'm New!
Posts: 1
Joined: Wed Feb 10, 2016 10:54 am

WebDav remote access win 10

Unread post by Treen » Wed Feb 10, 2016 11:04 am

Hi, i'm struggling with connecting to my synology via WebDav on my win 10 laptop.

The problem is, i don't want to use any 3rd party apps for that. Since all of the 3rd party apps works (i can connect without a problem) i assume there is a problem on the laptops OS side.

What i'm trying to do, is simply to map a network drive, enter the IP address (tryed both http and https, e.g. http://xx.xxx.xx.xxx:5005), but i am not able to connect to my synology. Anybody experienced this issue? If not any suggestions? :) Thank you for your time

laymandj
I'm New!
I'm New!
Posts: 1
Joined: Tue Feb 16, 2016 2:46 am

Re: WebDav remote access win 10

Unread post by laymandj » Tue Feb 16, 2016 3:02 am

I'm having the same problem and agree I think its an OS thing because everything works great on an old Vista machine I have. Unfortunately I can't find much documentation on webdav in windows 10. The only solutions I've read involve getting a signed SSL certificate.

vatualmon
I'm New!
I'm New!
Posts: 6
Joined: Fri Oct 25, 2013 8:33 am

Re: WebDav remote access win 10

Unread post by vatualmon » Sat Mar 12, 2016 10:59 am

Me too!
I've tried to map a network drive to Synology WebDAV without success.
NetDrive woks, but it's quite expensive (42,25 €/year)
BitKinex also works (I use it), but seems the development has stoped from 2010.
Direct use from W10 wolud be great.

AussieM8
Trainee
Trainee
Posts: 10
Joined: Sun Jul 18, 2010 12:14 am

Anyone got WebDAV working under Windows 10

Unread post by AussieM8 » Sat Mar 19, 2016 7:30 am

I can access the NAS via QuickConnect and locally within the LAN, but I want to access via the internet as a shared/network folder. I have an XP machine that can do this without any problems but my new W10 laptop doesn't connect ??

User avatar
syno.dustin
Sorcerer
Sorcerer
Posts: 2244
Joined: Thu Oct 29, 2015 11:03 pm
Location: Seattle, WA

Re: Anyone got WebDAV working under Windows 10

Unread post by syno.dustin » Mon Mar 21, 2016 9:38 pm

AussieM8 wrote:I can access the NAS via QuickConnect and locally within the LAN, but I want to access via the internet as a shared/network folder. I have an XP machine that can do this without any problems but my new W10 laptop doesn't connect ??
QuickConnect isn't DDNS.

Anyway, this is a Windows issue, and always has been from at least 7-10. The native WebDAV support is just lacking whereas it works great in OSX. I haven't seen anything to indicate that 10 improved this and this thread seems to back that up as well.
If you need technical support please use this form: https://account.synology.com/support/support_form.php
Synology does not consistently browse this forum for technical support, feature requests, or any other inquiries as it notes at the top of the page. Please use the proper channels when you need help from someone at Synology.

wherman
I'm New!
I'm New!
Posts: 2
Joined: Fri Apr 15, 2016 4:51 pm

Re: WebDav remote access win 10

Unread post by wherman » Fri Apr 15, 2016 5:07 pm

Treen wrote:What i'm trying to do, is simply to map a network drive, enter the IP address (tryed both http and https, e.g. http://xx.xxx.xx.xxx:5005), but i am not able to connect to my synology.
From the port number you have in your URI (5005) it would seem you are trying to use webdav over http and not https. Since Windows Vista the webdav client in Windows has required HTTPS for webdav when using authentication so that your credentials aren't passed over the internet encrypted. The best thing to do would be to obtain a valid SSL certificate for your Synology box. DSM 6 supports LetsEncrypt which is free, or you can get one yourself from startssl.com for any DSM version. The one "gotcha" here is that you would need to have your own domain and have it set up so that works both inside and outside your network (Internal DNS or host file modification).

If that is beyond the scope of what you're comfortable with, there is another option but I would suggest you don't use it if you are going to access the Synology across the internet. You can modify Windows to allow WebDav authentication without SSL with these instructions http://www.webdavsystem.com/server/prev ... uth_vista/. I haven't tried that since I use SSL. I can tell you with SSL I am able to use the map drive feature built into Windows.

paradoks
Beginner
Beginner
Posts: 20
Joined: Fri Jan 14, 2011 3:58 pm

Re: WebDav remote access win 10

Unread post by paradoks » Tue May 10, 2016 2:05 pm

It's not a matter of using HTTP vs HTTPS (only). HTTPS doesn't work either. I tried almost everything myself.
NetDrive 2 works flawless... but windows 10 build in... no chance in hell. But some video tutorials on youtube show people doing it natively in windows 10 effortless... HOW!?!

I follow step by step and I just get one error after the other.. wether its "out of sync SSL certificate" or "handshake alert" problems, or "this device doesn't exist"...
I don't know how the guys in tutorials do it.... heck they don't know. They just say "it works here". Well woopdidoo.

It would be nice to see WHERE it goes wrong in the chain of events, or how these 3rd party apps manage to circumvent these obstacles.
btw the only FREE alternatlve I found was cyberduck, and that doesn't work either. Only paid apps like netdrive2 and webdrive seemed to work for me.

SweetGenius
Trainee
Trainee
Posts: 16
Joined: Wed Apr 06, 2016 7:16 pm

Re: WebDav remote access win 10

Unread post by SweetGenius » Wed May 11, 2016 7:04 pm

I can map a WebDav drive in Windows 10 from the Map Network Drive dialog:

Using HTTP:

\\domain.name@5005

Using HTTPS: (Must have signed certificate)

\\domain.name@SSL@5006

Select the box Connect using different credentials. It will prompt for username and password twice but it will connect and map the drive.

Make sure the user has permissions for WebDav. From the Synology Control Panel: User/Applications Tab.

As for Cyberduck, Synology has a misconfigured virtual host file that prevents Cyberduck from connecting with a domain name. See the other thread about Cyberduck in this forum.
--------------
DS107+
DS216+

mambaum
Beginner
Beginner
Posts: 23
Joined: Thu Jun 21, 2012 12:54 pm

Re: WebDav remote access win 10

Unread post by mambaum » Wed May 18, 2016 12:28 am

I got a laptop and a fixed computer.
On the laptop the mapping works like a brease going to \\server@SSL@5006\share. It is still running Windows-7.
The fixed computer is on Windows 10 now and there I get an error after the second username&pw:
System error 1244 has occurred.
The operation being requested was not performed because the user has not been authenticated.
I got a second laptop already running on Windows 10. I am going to try it there tomorrow.

Barnir
I'm New!
I'm New!
Posts: 3
Joined: Fri Jun 03, 2016 3:45 pm

Re: WebDav remote access win 10

Unread post by Barnir » Fri Jun 03, 2016 3:50 pm

SweetGenius wrote:I can map a WebDav drive in Windows 10 from the Map Network Drive dialog:

Using HTTP:

\\domain.name@5005

Using HTTPS: (Must have signed certificate)

\\domain.name@SSL@5006

Select the box Connect using different credentials. It will prompt for username and password twice but it will connect and map the drive.

Make sure the user has permissions for WebDav. From the Synology Control Panel: User/Applications Tab.

As for Cyberduck, Synology has a misconfigured virtual host file that prevents Cyberduck from connecting with a domain name. See the other thread about Cyberduck in this forum.
Hi mate, tried that... with SSL it end up giving me an error "Fail on mutual authentication....the password on server is not updated with domain controller".
With HTTP it keeps asking to login and then 1 error that couldn't connect to the address. Using Windows 10

enr00ted
Novice
Novice
Posts: 49
Joined: Fri Jan 22, 2016 8:05 am

Re: WebDav remote access win 10

Unread post by enr00ted » Sat Jun 04, 2016 10:29 am

I just tried locally \\name.synology.me@SSL@5006\sharepath with a generated certificate from Let's Encrypt. It works for me. Still, I have to test this outside my lan and behind a proxy.

If I map it as a network drive it does not reconnect upon restart so even if it works, it's useless. Windows 10 does not seem to persist the credentials.
"There are things beyond our knowledge and imagination" . Synology DS218+ | 2 x Synology RT2600ac (router & AP)

SweetGenius
Trainee
Trainee
Posts: 16
Joined: Wed Apr 06, 2016 7:16 pm

Re: WebDav remote access win 10

Unread post by SweetGenius » Thu Jun 09, 2016 4:10 pm

Hi mate, tried that... with SSL it end up giving me an error "Fail on mutual authentication....the password on server is not updated with domain controller".
With HTTP it keeps asking to login and then 1 error that couldn't connect to the address. Using Windows 10
Must have a Signed certificate else I got the "Fail on mutual authentication error"
I do not know why HTTP is giving you the error. Do you have WebDav allowed for the user that you are trying to connect with?
--------------
DS107+
DS216+

mvalpreda
Trainee
Trainee
Posts: 14
Joined: Thu Jun 05, 2014 10:54 pm

Cannot get WebDAV working

Unread post by mvalpreda » Fri Jul 08, 2016 9:01 pm

RS2414+ on DSM 6.0.1-7393 Update 1 and WebDAV package 2.2-0017
Set up HTTP on 5005 and HTTPS on 5006. Set up a new shared folder called WebDAVTest.
Opened the firewall to port forward 5005 and 5006 to the internal IP of the Synology
From a machine outside the network I go to map a network drive and says it cannot be found. Tried http://IP:5005/ and http://IP:5005/WebDAVTest with the same results. I tried it from the inside and it didn't work either.
What am I missing to get WebDAV set up?

scottkeen
Beginner
Beginner
Posts: 28
Joined: Sat Jul 16, 2016 7:13 pm

Re: WebDav remote access win 10

Unread post by scottkeen » Sat Jul 23, 2016 12:26 am

Can we get some simple steps to map a network drive in Windows 10 using WebDAV over https, without using a 3rd party program?

I'm stuck at the point of getting the error message, "Mutual authentication failed. The server's password is out of date at the domain controller."

I following the Synology KB section 3 instructions, and it doesn't tell me what specifically to do with the archive.zip file (which contains *.pem files) in Windows 10 which I get when I Export the Synology default certificate. What the heck do I do with that in Windows 10?
https://www.synology.com/en-us/knowledg ... _WebDAV#t3

Image
Last edited by scottkeen on Tue Jul 26, 2016 4:29 pm, edited 1 time in total.

scottkeen
Beginner
Beginner
Posts: 28
Joined: Sat Jul 16, 2016 7:13 pm

Re: WebDav remote access win 10

Unread post by scottkeen » Sat Jul 23, 2016 2:17 am

Just an FYI, after hours of chasing my tail, I finally got it to work.

I did NOT use the Synology default certificate and didn't have to do anything with the archive.zip file

There are 2 key points:
1. Create your own free certificate with Let's Encrypt which is included in the Synology Control Panel / Security / Certificate
2. You must Configure the certificate you create and attach your new Let's Encrypt certificate to each service

After you do that, you can just use the built-in Windows Explorer Map Network Drive in Windows 10 using HTTPS and it will work fine.

I found this website's instructions which made those above #1 and #2 key points.
https://synoguide.com/2016/04/14/secure ... s-encrypt/

To make this all work for me with my dynamic IP of my home network:
1. I created a dynamic DNS at changeip.org
https://www.changeip.com/accounts/cart.php?a=add&bid=1
Ex:
scotthouseinvirginia.changeip.net

2. I have my own domain name registered at GoDaddy. In GoDaddy DNS I created a CNAME for the host I called "home" which points to my changeip dynamic dns.
Ex:
my registered domain at GoDaddy: mydomain.dom
CNAME:
host: home
points to: scotthouseinvirginia.changeip.net

3. I had to temporarily forward port 80 on my router to the Synology NAS IP address (actually, I have a SonicWALL TZ 105 UTM which meant I had to disable the HTTP (port 80) management option for the LAN zone and disable the SonicWALL's re-route HTTP to HTTPS until after the Let's Encrypt registration finished)

4. When I created a free Let's Encrypt certificate in Synology, I used my FQDN
Ex:
Domain name: home.mydomain.dom
Email: (my e-mail address)
Subject Alternative Name: leave it blank, or use your dynamic dns, like scotthouseinvirginia.changeip.net

Make sure you follow the instruction in the guide on #2 to attach your new Let's Encrypt certificate to the Synology services.

Locked

Return to “WebDAV”