Access MyCloud UI from another network than your LAN

NOTICE: The following modification May Void Your Warranty

I needed to access the MyCloud UI over a VPN.

Since the VPN subnet is different than the LAN I was getting the following 403 Error in my browser

You don’t have permission to access /UI on this server

I don’t access this MyCloud from public networks so I just wanted to turn off the security that was limiting access to LAN only.

Here’s how to do it.

Once logged into the SSH shell, you need to edit the /etc/apache2/sites-available/wdnas-ui.conf file

nano /etc/apache2/sites-available/wdnas-ui.conf

Next comment out this line

$ {LOCAL_NET}

 When done, the config file will be as follows

<IfModule mod_rewrite.c>
        <Directory "$ {DOCUMENT_ROOT} / UI">
                # $ {LOCAL_NET}
                RewriteEngine On
                RewriteBase / UI /
                RewriteCond% {REQUEST_FILENAME}! -d
                RewriteCond% {REQUEST_FILENAME}! -f
                RewriteRule ^ (. *) $ / UI / [R]
        </ Directory>
</ IfModule>

Save the file and exit the nano editor.

Restart the Apache server

/etc/init.d/apache2 restart

 And you’re all done.

Thank you for sharing the configuration. Advanced users will be glad.

Hi, i just made this modification as described and i now start to see the UI load then a message saying “Attempting to Authenticate”.

did you run into this issue?

Any suggestions?

Hallo everybody,

i have have the same Problem on my WD MC, any Suggestion?