Mapping Network Drives over Internet with WebDAV

The discussion room of webDAV based solution for file sharing.
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu
User avatar
akahan
Skilled
Skilled
Posts: 647
Joined: Sat Jul 14, 2012 6:52 pm

Re: Native WebDAV connection quit working.....

Postby akahan » Sun Feb 12, 2017 4:30 pm

OK, but just to make sure we are understanding each other: Are you using the NAS's IP address, rather than the xxxxx.synology.me address?

Also, can you ping the machine at xxxxx.synology.me? What about at its IP address? Do you get the same result for both?
kdbmebk
Rookie
Rookie
Posts: 39
Joined: Mon Dec 05, 2016 11:15 pm

Re: Native WebDAV connection quit working.....

Postby kdbmebk » Sun Feb 12, 2017 5:11 pm

I get 'request timed out' for trying to ping the IP address.
User avatar
akahan
Skilled
Skilled
Posts: 647
Joined: Sat Jul 14, 2012 6:52 pm

Re: Native WebDAV connection quit working.....

Postby akahan » Sun Feb 12, 2017 5:14 pm

If you can't even ping the machine, and you're sure you're using it's actual IP address (and not the one generated by xxxx.synology.me), then it's lost its network connection, and this has nothing to do with WebDAV, or any particular application. So you might want to just reboot the machine.
kdbmebk
Rookie
Rookie
Posts: 39
Joined: Mon Dec 05, 2016 11:15 pm

Re: Native WebDAV connection quit working.....

Postby kdbmebk » Sun Feb 12, 2017 8:17 pm

akahan wrote:If you can't even ping the machine, and you're sure you're using it's actual IP address (and not the one generated by xxxx.synology.me), then it's lost its network connection, and this has nothing to do with WebDAV, or any particular application. So you might want to just reboot the machine.


Thanks for your help.... And yes I may have been using a wrong IP Address.

The one I was using was in the DSM Tool Control Panel>External Access>DDNS>External Address

Can I reboot the Machine Remotely?
User avatar
akahan
Skilled
Skilled
Posts: 647
Joined: Sat Jul 14, 2012 6:52 pm

Re: Native WebDAV connection quit working.....

Postby akahan » Sun Feb 12, 2017 8:50 pm

Catch-22. You can't reboot the machine remotely (from outside your own LAN) unless you can contact it, and you can't contact it without its IP address.
davidmf
I'm New!
I'm New!
Posts: 2
Joined: Tue Oct 25, 2016 10:10 am

Re: Mapping Network Drives over Internet with WebDAV

Postby davidmf » Mon Mar 27, 2017 12:31 pm

No WebDAV access through DDNS

I have configured the external connection by DDNS "http://xxxxx.synology.me:5000" and it works correctly.
I have configured WebDAV and from the local network if I mount a drive like so "http://xxxxx.synology.me:5005" or "http://80.34.x.xx.synology.me:5005", it works correctly.
But if I try to do the same from an external computer to the network, from the internet, WebDAV does not work.
It is not able to mount the unit.

The ports were not open at first and it did not work on the local network, but I thought the ports would be and opened them.
But after opening the ports, on the local network worked but from the internet does not work.
In WebDAV do you need to create or export some certificate for the connection from the internet even by http?

Can I miss some configuration in Synology?

Thank you
Last edited by davidmf on Tue Mar 28, 2017 12:27 pm, edited 1 time in total.
User avatar
akahan
Skilled
Skilled
Posts: 647
Joined: Sat Jul 14, 2012 6:52 pm

Re: Mapping Network Drives over Internet with WebDAV

Postby akahan » Mon Mar 27, 2017 3:44 pm

If you can connect from within your LAN, but not from the Internet, the problem is most likely that you haven't forwarded the necessary ports in your router.
guibara
I'm New!
I'm New!
Posts: 2
Joined: Fri Mar 03, 2017 7:20 pm

WebDAV Issues

Postby guibara » Thu May 04, 2017 10:50 pm

Hi everybody,

I'm having issues connecting my 916+ via WebDAV whether remotely or even at home. I've followed all the steps and check all the prefs but still no luck.

I'm on a Mac and every time I try to "Connect To Server", I input http://myusername.synology.me:5005 click OK and it goes thru (my username and password are already saved in my keychain). I can see MyUserName.synology.me in my "Shared" tab, but when I click on it, there's nothing. I have two shared folders that are not showing up (permissions are set to read/write on both with my log in). I've also tried logging in via WebDAV using Transmit, and I get the same results: I connect, but there's nothing. This happens whether I'm away from home or even when I'm at home.

At home, I can access the NAS via Connect To Server if I use afp://MyIPAdress or smb://MyNAS with no problems.... but I really need to be able to remotely access it via WebDAV.

Any help is much appreciated!!! Thanks!!!
User avatar
sjeph8je
Enlightened
Enlightened
Posts: 431
Joined: Fri Jan 29, 2010 10:06 pm
Location: Netherlands

Re: WebDAV Issues

Postby sjeph8je » Fri May 05, 2017 7:18 pm

Hi,

you need to specify the share you want to access in the url like this http://myusername.synology.me:5005/shareName. it is not possible to access the "root" normally.
Synology DS-916+ | DSM 6.1.2-15152-3 | 2 x WD40EFRX (RAID1-btrfs) | 2 x WD10EFRX (RAID1-btrfs)
  • Startech S3510SMU33 | WD20EFRX (ext-4)
Synology DS-213J | DSM 6.1.3-15152-3 | 2 x WD5000AAKS (RAID0-ext4) (Testing, Download Station)
Synology DS-209 (DS211j modded) | DSM 6.1.3-15152-3 | 2 x WD20EFRX (RAID1-ext4) (Remote backup)
Synology DS-209 (DS211j modded) | DSM 6.1.2-15152-3 | 1 x WD20EARS (Resurrected as TestStation )

Corruption wears infinite disguises.
nutz77
I'm New!
I'm New!
Posts: 7
Joined: Sun Dec 26, 2010 4:02 pm

Re: Mapping Network Drives over Internet with WebDAV

Postby nutz77 » Mon Jun 19, 2017 4:42 pm

Since i got some help here to setup my Webdav in both http and https mode. I shall do a simplified guide here.

1) Make sure permission setting is enable for Admin or respective users in Control panel/Group

By default webdav is not enable for admin group users even though webdav is enabled in Control Panel/File Services/WebDAV

2) Windows user, do this, but make sure you know what you are doing. Credits to MarekT

https://forum.synology.com/enu/viewtopic.php?f=164&t=121882&sid=00135b91e3ccbe52a835f0a523c23013&start=15#p461510

On computer running Windows 10:

1. In windows search, type run and select “Run” Desktop app
2. Type regedit (Under User Account control click Yes) Registry Entry window opens
!!!!! Caution!!!!!! If you not sure or don’t want to mess with registry, STOP right here!
3. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
4. In the Name Column Look for the BasicAuthLevel
5. Right click and then click Modify, change in the Value data box, to type 2
6. If BasicAuthLevel is not present, go to step 8
7. Close Registry Editor and Reboot computer
8. On the Edit menu, point to New, and then click DWORD Value.
9. Type BasicAuthLevel, and then press Enter.
10. Right-click BasicAuthLevel, and then click Modify.
11. In the Value data box, type 2, and then click OK.
12. Close Registry Editor and Reboot computer

Note The mapping is as follows:
0 - Basic authentication disabled
1 - Basic authentication enabled for SSL connections only
2 - Basic authentication enabled for SSL and non-SSL connections

Original article: https://support.microsoft.com/en-us/kb/2123563

For me it works on computers running Windows 10 Home and Windows 10 Pro

3) Connecting to your WebDAV folder thru File explorer. Credits to SweetGenius

https://forum.synology.com/enu/viewtopic.php?f=164&t=121882#p434514

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.

4) If https connection is required and is not working in step 3.

Export the existing cert from Control Panel/Security/Certificate
Import the certs into your Windows environment.
Store location : Local Machine
Place all certificates in the following store: Trusted Root Certification Authorities

5) Follow this link to check if your certs are installed.

https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-view-certificates-with-the-mmc-snap-in

Hope this helps in your troubleshooting.
sincarne
Skilled
Skilled
Posts: 629
Joined: Wed Feb 15, 2017 9:57 pm

Re: Mapping Network Drives over Internet with WebDAV

Postby sincarne » Mon Jun 19, 2017 5:47 pm

just use let's encrypt cert and HTTPS much simpler than you make it here

also you can just map network drive and put in full url with port like https://domain.com:5006
DBgroup
I'm New!
I'm New!
Posts: 1
Joined: Sun Jul 16, 2017 11:25 pm

Re: Mapping Network Drives over Internet with WebDAV

Postby DBgroup » Sun Jul 16, 2017 11:37 pm

thank you to everybody that contributed to this topic and to nutz77 for summing it all up

i finally got it too work using all the help from all the geekwizz on this forum, thanks again

i want to add
that if you are using multiple certificates: control panel -> security -> certificate -> right click on any -> configure -> choose the correct certificate for webDAV

speed has kind of dropped after adding SSL though, but im stuck here at upload speeds 4.5Mbps

Return to “WebDAV”

Who is online

Users browsing this forum: No registered users and 1 guest