How to access a remote synology NAS ?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

tokjdm
Junior Member
Junior Member
Posts: 22
Joined: 2011-04-11, 09:45 UTC
Location: Tokyo

How to access a remote synology NAS ?

Post by *tokjdm »

I have attempted many times to access my remote synology NAS with the webdav plugin but without any successes so far.
The synology NAS is configured to allow webdav, port forwarding is also allowed and from the synology setting page, the ports seem to be opened.

The webdav plugin asks to choose between different servers but none of them is a synology NAS. Which one should be chosen ?
Server port path: I have added the path to the server (quickconnect path) but without success, I have added the port but without success either. Should I try indicating a path ?
Synology recommends using RAI but it did not work either (and RAI support asked me to see with synology).
Any hints would be welcome.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to access a remote synology NAS ?

Post by *ghisler(Author) »

Please check your Synology documentation what path the WebDAV server uses. It often works only with a subfolder.
Then enter the server under "Connect to" in the following form:
servername.com/path/
or
servername.com:portnumber/path/

When accessing the NAS from outside of your network, servername.com can be a dyndns name of your home router, or an IP address.
Otherwise it can be the NAS name or its local IP address.
Author of Total Commander
https://www.ghisler.com
tokjdm
Junior Member
Junior Member
Posts: 22
Joined: 2011-04-11, 09:45 UTC
Location: Tokyo

Re: How to access a remote synology NAS ?

Post by *tokjdm »

Thank you for your help.
I added the correct path to the folder where the files are located but I still got an HTTP error (HttpSendRequest failed: cannot connect).
I tried going through HTTP and not HTTPS (not sure I have a SSL certificate) but the problem was the same.
I went through the Synology webdav instal instructions and could not find any issues. Still not working.
JOUBE
Power Member
Power Member
Posts: 1472
Joined: 2004-07-08, 08:58 UTC

Re: How to access a remote synology NAS ?

Post by *JOUBE »

tokjdm wrote: 2024-03-30, 02:23 UTC Synology recommends using RAI but it did not work either (and RAI support asked me to see with synology).
First make it run whith the tools synology recommends (for windows: RaiDrive/Cyberduck).
tokjdm
Junior Member
Junior Member
Posts: 22
Joined: 2011-04-11, 09:45 UTC
Location: Tokyo

Re: How to access a remote synology NAS ?

Post by *tokjdm »

As I said in the initial post, I tried RAI but it did not work. I sent the logs to RAI and they said I should ask Synology.
JOUBE
Power Member
Power Member
Posts: 1472
Joined: 2004-07-08, 08:58 UTC

Re: How to access a remote synology NAS ?

Post by *JOUBE »

tokjdm wrote: 2024-04-02, 11:38 UTC As I said in the initial post, I tried RAI but it did not work. I sent the logs to RAI and they said I should ask Synology.
Yes, I read your post. What's with Cyberduck? If it don't work with the tools, which are recommend by Synology, I see not way. What says the logging of the Webdav-Server on the Synology NAS? What has Synology answered? There is a forum about Synology.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to access a remote synology NAS ?

Post by *ghisler(Author) »

HttpSendRequest failed: cannot connect
This means that there is no Web server/WebDAV server running at the given address and port.
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1472
Joined: 2004-07-08, 08:58 UTC

Re: How to access a remote synology NAS ?

Post by *JOUBE »

<ip>:<port>/<folder name> (without the brackets < and >) works fine here locally at the Tc webdav plugin.

NAS <ip>:192.168.x.x
NAS webdav http <port>:5005
NAS <folder name> (e.g.):vol1
tokjdm wrote: 2024-03-30, 02:23 UTCThe webdav plugin asks to choose between different servers
It is not necessary to choose one. Don't select any. Keep it default.

Do you see lines like this in the webdav server protokoll on your NAS?:
Info System datetime userx System successfully enabled WebDAV HTTPS by [userx] user.
Info System datetime userx System successfully enabled WebDAV HTTP by [userx] user.

Maybe it is necessary to restart your NAS in this way: Disable both - http and https - options (ports) at NAS webdav Server configuration, restart the NAS, enable both - http and https - options (ports) at NAS webdav Server configuration.

HTH

Joube
tokjdm
Junior Member
Junior Member
Posts: 22
Joined: 2011-04-11, 09:45 UTC
Location: Tokyo

Re: How to access a remote synology NAS ?

Post by *tokjdm »

I did that but there were no changes.
When indicating which port to connect to should I use 5006 or the port indicated as "router port" for the webdav server in the Synology Control Panel External Access page ? If I try with the router port number, I get a 405 error:
HTTP 1.1 405 Not Allowed

With 5006, I simply get :

HTTP error: cannot connect.
HttpSendRequesdt failed: cannot connect

Should I use "no proxy" or "1. internet explorer" ?
Thank you.
JOUBE
Power Member
Power Member
Posts: 1472
Joined: 2004-07-08, 08:58 UTC

Re: How to access a remote synology NAS ?

Post by *JOUBE »

router port number?
Try everything at first locally within your LAN. (e.g: 192.168.100.20:5005/vol1)

Control Panel External Access page?
This part is in the first step (access via LAN) not involved. Try it with the default (everything is off/disabled) at this part. Maybe your access problems via Webdav are based at this part (do you have enabled something there?).

Should I use "no proxy" or "1. internet explorer" ?
Do you mean within configuration of this connection in the Tc-WebdavPlugin? Default: 1. internet explorer

Another idea: Do you have really enabled Webdav Server on your NAS? Try this on your NAS:
- Go to the "packet center", do (not(!) go to the "Control Panel" -> "External access").
- Go to: "installed" (do you see webdav server there? if not: install it)
- Do not(!) double click on "Webdav Server" but the [open] button below it: enable http and https (with the default ports 5005 und 5006)
- restart(!) your NAS

Joube
tokjdm
Junior Member
Junior Member
Posts: 22
Joined: 2011-04-11, 09:45 UTC
Location: Tokyo

Re: How to access a remote synology NAS ?

Post by *tokjdm »

I can access the NAS locally (I have configured the X drive and the Z drive as NAS folders).
The webdav server is indeed enabled. It is installed and when I open it, http and https are enabled.
JOUBE
Power Member
Power Member
Posts: 1472
Joined: 2004-07-08, 08:58 UTC

Re: How to access a remote synology NAS ?

Post by *JOUBE »

tokjdm wrote: 2024-04-11, 11:25 UTCI can access the NAS locally
And locally it is not possible to access via Webdav? crazy... I have no idea... Maybe try remove(uninstall) NASs Webdav server, reboot, install again... Maybe a correlation with other packages e.g. containers (e.g. nextcloud) on the NAS? Or just change the port (e.g. from 5005 to 6005) to avoid other things on your NAS already using 5005. Tc on Windows or Tc with wine?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to access a remote synology NAS ?

Post by *ghisler(Author) »

HTTP 1.1 405 Not Allowed
This means that the client was able to connect to the server, but the server refused access to the requested subdirectory with the PROPFIND command. PROPFIND is the WebDAV command to list the content of a directory.
WebDAV servers often restrict which folders can be accessed. You need to find out the correct subfolder.
HTTP error: cannot connect.
This means that no server is running on that port.
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1472
Joined: 2004-07-08, 08:58 UTC

Re: How to access a remote synology NAS ?

Post by *JOUBE »

ghisler(Author) wrote: 2024-04-12, 10:31 UTC This means that the client was able to connect to the server, but the server refused access to the requested subdirectory with the PROPFIND command.
Nextcloud also uses the Webdav interface...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to access a remote synology NAS ?

Post by *ghisler(Author) »

Yes it does, but you have to set a very specific start directory, otherwise you will get this error. On the server I tried the Webdav directory was named
/remote.php/webdav
but it depends on the server.
Author of Total Commander
https://www.ghisler.com
Post Reply