Map Drive Remotely without VPN or wd2go

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.

  1. Create file “wdnas5080” in /etc/apache2/sites-availible

  2. 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

  1. Create this same file but name it “000-wdnas5080” in /etc/apache2/sites-enabled

  2. Add the follwoing text to the file  /etc/apache2/ports.conf

NameVirtualHost *:5080
Listen 5080

  1. Run the following comand:  a2ensite wdnas5080

  2. Run the following command: apache2ctl configtest

       (If there are no errors then your configuration is OK)

  1. Run the follwoing command  /etc/init.d/apache2 reload

  2. 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

1 Like

Useful stuff, thanks for sharing. :smiley:

Nice if the rest of us knew what to open and exactly where to put it.  We are all not tecky, even though I’m sure a lot of us would like to be.  This device should just work without all this changing inside the live.  Don’t you think?

Did everything you said, doesn’t seem to work for me :frowning:

that sound very interesting…

i have to questions, if i may:

  • eventually does it allow you to open files remotely straight into Office (2010 or later)? that is, without having to download them on the local drive, edit and then upload them back…

  • after you establish ssh connection, what program do you use to write into MBL?

thank you!