I just bought the WD My Cloud and until now I’m quite happy with it. I installed transmission (with a tutorial found on this forum, I have a v4+ firmware) and now I can even download my files directly on the WD My Cloud With no-ip and port forwarding, I can even access the NAS through SSH from internet.
On my iphone and from internet, I can explore all the photos stored on my nas with the WD Cloup app. However, on my Mac I’d prefer to directly go through my files with the finder and this is not possible when not connected directly on the local network.
Is there a way to achieve that ? I want my NAS be recognized as a local hard drive even if I am connected on the internet. Can it be done in a simple and free way with an application ?
Hello. Thank you for you answer, I already use the WD My Cloud App to access from the Internet to my files. But I’d like to implement a new solution and bypass the WD servers if that is possible (even if not officialy supported).
I then gave an other shot by simply adding a new user and it seems to work. However, if that is not clean i would like to do better.
May you please give me further instructions regarding the commands I have to enter for that? The steps followed by the user in your link are not so clear, as he seems to have done things from several guides. Thank you.
Dav On
Options Indexes
Order Deny,Allow
Deny from all
Allow from all
AuthName DeviceUser
AuthType Digest
AuthDigestDomain /webdav
AuthDigestProvider file
AuthUserFile /etc/nas/apache2/auth/htpasswd
AuthGroupFile /etc/nas/apache2/auth/htgroup
Require valid-user
</Location>
</VirtualHost>
Enable the auto index for directory listing, run: a2enmod autoindex;
Then restart Apache2, run: service apache2 restart;
Note if you’re adding your own username to WD’s htpasswd (htdigest /etc/nas/apache2/auth/htpasswd ‘DeviceUser’ newuser), you also need to append that “newuser” to the existing group in the htgroup file that holds the access to the share. This is as per require.inc file configurations.
I did what you wrote, and indeed now I can access via Webdav through http://wdmycloud:5080/webdav/, but only with the username/password I previously created with :
Another way is to access through the login/username read in /usr/local/nas/orion/orion.db with sqlite3 (as mentionned in your post in the topic : http://community.wd.com/t5/WD-My-Cloud/Accessing-the-NAS-from-internet-as-a-local-hard-drive/td-p/838730). But if my understanding is correct, these hashed password change if a modification is performed on the UI → so this way of accessing the NAS via WebDAV does not interest me.
I guess I need to append the newuser I create with htdigest to the the corresponding groups, but I don’t know how to that.
Lets say that I have a user called ‘franck’ (created in the WebUI) which has full access to /DataVolume/shares/Private and of course /DataVolume/shares/Public.
I want to create a login/password which has the rights of ‘franck’ : webdavuser1
I want to create a login/password which has the rights of the guests (i.e /DataVolume/shares/Public) : webuser2
Note that by default, my user ‘newuser’ added with htdigest has access to all shares (even /DataVolume/shares/Private), so that is quite problematic :/
In the new custom config, you need to include and define all the access similar to “require.inc”. But then this manual work.
I think to have this fully automated from the dashboard, you’ll need to modify the php and shell scripts codes to insert the original username on top of the ID together with its group. Note Php APC and Opcache is active. So you’ll need to clear the cache everytime you modify the scripts. I have no time to look into all these.