OpenMediaVault // Access from Anywhere //

June 10, 2018 // by Harish Kumar

In this segment we are going to "Show you how you can Access your OMV from outside your Network"

What is OpenMediaVault ?

OpenMediaVault (OMV) is a free designed for Network-Attached Storage (NAS).

The project's lead developer is Volker Theile, who instituted it in 2009. OMV is based on the operating system, and is licensed through the GNU General Public License v3.

Access OpenMediaVault Web Interface

• To access the OMV Web Interface we need to find the IP Address of our RaspberryPi. • To find out the IP we will use the Wireless Network Watcher and it will display the IP.

• Type this IP Address to your browser and it will open the login page for your OMV. • Now, you need to enter the username and password and login to your OMV. • OpenMediaVault Address = Your Raspberry Pi IP Address In my case 192.168.1.73

- Default Username : admin - Default Password : openmediavault

OpenMediaVault Configuration

1. First of all, change Auto logout to Disabled.

2. Now, Change the Web Administrative Password.

3. After that we need to navigate to services to SSH enable Permit root login.

Accessing SSH Console

1. Now, we need to Login to SSH.

- Default Username : root - Default Password : openmediavault

2. On the first login you need to change the password.

3. Once the password is changed, we need to go ahead with OpenMediaVault.

Creating SSL Certificates

1. Now, we need to navigate to Certificates under System Settings. 2. After that we need to create SSH Certificate under SSH menu by pressing hem ADD button.

3. Then we need to type a Name for the Certificate and press save to save the settings. 4. Then we need to navigate to SSL and create SSL certificate by filling up the details.

5. Once these settings saved then we need to navigate to General Settings to select our certificates and Enable SSL/TLS connection.

- Enable SSL/TLS: Enable Secure Connection. - Certificate: Choose the certificate which we have Created. - Port: 443 - Force SSL/TLS: Enable

Access OpenMediaVault from Internet

• To access the OpenMediaVault from Internet, we need to complete 2 steps.

1. Port Forwarding 2. Setup Dynamic DNS [In case you don't have a Static Public IP Address]

Setting up Port Forwarding on Router

• To forward the port on the router, we need to know the IP Address of our router. • To check the router IP Address we can use the Wireless Network Watcher and it will display the router IP Address as shown below.

• Type this IP Address to your browser and it will open the login page for your router. • Now, you need to enter the username and password and login to your router. • If you don't know the username and password of your router you can always ask your ISP. • For personal routers check online for default username and password. • In my case navigate to services and then move to Port Forwarding, yours’s might be different. • Then you need to forward Port 80 and 443, to the Raspberry Pi IP Address.

Setting up Dynamic DNS

• First of all, we need to visit DUCKDNS website to create a Free Dynamic DNS Domain for us.

• You can use any of the above method to login to DUCKDNS website and create a sub-domain. • Now, logged in to create a sub-domain for your OMV and can visit that address.

• For example, in my case I have created omvpcmac as my subdomain, So, I can access it as omvpcmac.duckdns.org. • You can create 5 subdomains on Duck DNS account for free. • Now, you are all set to access your OpenMediaVault from Internet by typing the sub-domain that we have created. omvpcmac.duckdns.org

Now, you are all ready to set and access your Openmediavault from Anywhere. Enjoy using Openmediavault. Smile ("_")