Skip to main content
Setup a Reverse Proxy with Let's Encrypt SSL

How to Setup a Reverse Proxy in OMV with Let’s Encrypt SSL for Sabnzbd, Radarr, Sonarr and Transmission

In this tutorial I will show you how to setup a Nginx Reverse Proxy in OpenMediaVault for several popular applications: SABnzbd, Radarr, Sonarr and Tranmission.

If you want to access your OpenMediaVault NAS from the web (WAN), using a Reverse Proxy is the safest method. You only have to open up one port on your modem/router, instead seperate ports for each application. After following this tutorial Nginx will parse the URI (e.g. and forward that request to the corresponding port inside your local network (LAN).

In some tutorials the reverse proxy is set up using subdomains. I chose to use an Uri (e.g. so that all apps can use the same SSL-certificate provided by the Let’s Encrypt plugin.

Because I’ve spent a few days trying to figure this out, scrambling parts of other how-to’s together. I decided to put together my own tutorial on how to setup a reverse proxy for nginx in OpenMediaVault with Let’s Encrypt SSL encryption.

Prerequisites for this Tutorial

You have a NAS running on OpenMediaVault 2.x or higher with the repository installed. Your domain forwarding (the A- and CNAME-records in your domain’s DNS) and port forwarding (on your router at home) is setup properly and working.

In other words, your NAS is already accessible from ‘the outside’, but now you want to secure it with SSL and an Nginx Reverse Proxy.

Disclaimer: I managed to apply this tutorial succesfully to Sabnzbd, Couchpotato, Sonarr (and Radarr, which works the same way) and Transmission. I’ve tried the same for Plex, but to create a Reverse Proxy for Plex we need a different approach.

Secure OpenMediaVault using Let’s Encrypt SSL

In this tutorial we will be using free SSL-certificates provided by Let’s Encrypt to secure the connection.

The OMV-Extra’s Testing repository (which can be enabled from the provides a tailor-made plugin to add Let’s Encrypt support to Open Media Vault.

This first step shouldn’t be too much of a hassle and get you up and running in no time.

Installing Let’s Encrypt for OpenMediaVault

To install the Let’s Encrypt plugin follow the steps below. This is essentially the same procedure as installing any other plugin:

  1. Go to the Plugins-tab in the left-hand pane of OMV’s web interface.
  2. Enter ‘letsencrypt’ in the search-bar and press Return to start searching for the plugin.
  3. Add a check next to the listed extension named ‘openmediavault-letsencrypt x.x’.
  4. Press ‘install‘. (this option is greyed out in my screenshot, since I’ve already installed the extension)

After you’ve installed the plugin, OMV will aks you to apply the settings. Do that and proceed.

Configuring the Let’s Encrypt Plugin in OMV

You’re only a few steps away from fully encrypting your connection to OMV. The steps below are provided by the plugin’s author on the OpenMediaVault-forum, but I’ve added some screenshots and explanation to improve readability:

How to Configure OMV’s Let’s Encrypt plugin
  1. Assuming you’ve managed to find Let’s Encrypt’s configuration-page, enter the domain you use to access OMV’s Web Interface (e.g. in the ‘Domain‘-field.
  2. Enter your e-mail address. This is required for registration to the Let’s Encrypt-club — that’s not really a thing. Still your e-mail address is required. 😉
  3. The ‘WebRoot‘ is used to store the generated certificates. This should be pre-filled with the value ‘var/www/openmediavault‘, leave this as is.
  4. Make sure to toggle ‘Enable‘ before pressing ‘Save‘. This will add a cronjob (to ‘Scheduled Jobs’) which automatically keeps your SSL-certificate valid.
  5. Press ‘Save‘ and apply the configuration changes.
  6. Click ‘Generate Certificate‘.

You can view your generated SSL-certificate by clicking the ‘SSL’-tab inside the ‘Certificates‘-screen.

Now you’ve succesfully generated a Let’s Encrypt SSL-certificate for your OpenMediaVault NAS. You have to configure OpenMediaVault to actually use it:

How to Configure OpenMediaVault to use Let’s Encrypt SSL-Certificate
  1. Enter ‘General Settings‘.
  2. Toggle the switch besides ‘Enable SSL/TLS‘.
  3. Select the Let’s Encrypt-certificate followed by your NAS’ web address (e.g. in the pulldown menu underneath.
  4. Press ‘Save‘.

Now you should be able to access your OMV Web Interface by visiting e.g. I suggest using a private session (Firefox: CTRL/CMD + SHIFT + P / Chrome: CTRL/CMD + SHIFT + N) to prevent redirects and stored sessions.

You might’ve noticed that I have ‘Force SSL/TLS’ enabled in my configuration. Before you do this, make sure your OMV Web Interface is fully accessible over SSL.

Pro-tip! By default, this plugin adds a cronjob (visible underneath ‘Scheduled Jobs’) which checks for your certificate’s validity once a month.

I’ve had a few times that the cronjob failed, due to outages in Let’s Encrypts’ validation servers. Changing the cronjob’s schedule to ‘weekly‘ will save your live! You’re welcome 🙂

That’s it. Now you’ve fully secured OpenMediaVault using a SSL-certificate provided by Let’s Encrypt. In the following chapters we’re going to use this certificate to setup a secure Reverse Proxy for popular applications such as Plex, Radarr, Sonarr, Sabnzbd+ and Transmission.

Buy me a beer?

Do you appreciate my work and support? Please consider supporting me by donating, so I can continue to develop and write useful solutions for you.

Choose amount

Personal Message

Thank you! 🙂

Daan van den Bergh

Magento 2 Back-end Developer with a passion for trainlifting, airplane-gliding, hunting trees and creating fake hobbies.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.