The following instructions will allow you to map to a shared folder on your MBL from a remote network. This uses WebDav services that are already installed on latest MBL firmware versions. You will need to establish an SSH connection to you MBL to perform this process.
-
Create file “wdnas5080” in /etc/apache2/sites-availible
-
Add the following text to this file:
<VirtualHost *:5080>
ServerAdmin webmaster@localhost
DocumentRoot /shares
Options FollowSymLinks
AllowOverride None
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
############################
# WebDav Extension
############################
Include /etc/nas/apache2/auth/alias.inc
Alias /shares /shares
<Location /shares>
Dav On
Order Deny,Allow
Deny from all
Allow from all
AuthName DeviceUser
AuthType Digest
AuthDigestDomain /shares
AuthDigestProvider file
AuthUserFile /etc/nas/apache2/auth/htpasswd
AuthGroupFile /etc/nas/apache2/auth/htgroup
Include /etc/nas/apache2/auth/require.inc
-
Create this same file but name it “000-wdnas5080” in /etc/apache2/sites-enabled
-
Add the follwoing text to the file /etc/apache2/ports.conf
NameVirtualHost *:5080
Listen 5080
-
Run the following comand: a2ensite wdnas5080
-
Run the following command: apache2ctl configtest
(If there are no errors then your configuration is OK)
-
Run the follwoing command /etc/init.d/apache2 reload
-
Make sure you enable port forwarding on your router and forward port 5080 to the IP address of your My Book Live.
After all this is done, you can map your drives on external networks at:
\\user_name
= external ip address of network MBL is located on
user_name = name of user created on MBL that you want to access
connect using the user name and password created on the MBL