Skip to content

Prowlarr and FlareSolverr via GlueTUN VPN in Container Manager on a Synology NAS

Important or Recent Updates
Historic UpdatesDate
Updated guide for Container Manager22/05/2023
Moved from UI setup to Project Setup which is more flexible and easier to maintain.
Added an addition element to the compose to restrict the container from gaining additional privilege.
25/10/2023
Added FlareSolverr to the Extras section of the guide10/11/2023
Guide amended to include FlareSolverr into the Project and step through adding this all to GlueTUN09/12/2023
Historic Updates


What is Prowlarr and FlareSolverr?

Prowlarr is an application that combines your various indexers for Torrents and Usenet into one place, it then syncs all the indexer settings automatically with Sonarr, Radarr etc. FlareSolverr is an additional proxy which helps bypass Cloudflare protection that many indexers use.

Let’s Begin

This guide makes the assumption that you have already setup GlueTUN and looking to layer this into the existing Project. See the left menu on how to do that with either Deluge or qBittorrent.

Folder Setup

Let’s start by getting some folders set up for the containers to use. Open up File Station create the following.

Folders
/docker/prowlarr

Container Manager

Next we are going to set stop and edit the existing GlueTUN VPN project in Container Manager.

Open up container manager and in the Project section select the `vpn-project` then Action > Stop.

Once the project has stopped click into it and select the YAML Configuration tab and scroll to the bottom of it as we are going to add the additional configuration for Prowlarr and FlareSolverr.

First we are going to add the extra required ports to the appropriate section at the top of the compose. Copy them and paste them as per the screenshot.

YAML
      - 8191:8191/tcp #flaresolverr
      - 9696:9696/tcp #prowlarr

Next we are going to drop in our docker compose configuration copy all the code in the box below and paste below your existing code.

YAML

  linuxserver-prowlarr:
    image: linuxserver/prowlarr:latest
    container_name: prowlarr
    environment:
      - PUID=1234 #CHANGE_TO_YOUR_UID
      - PGID=65432 #CHANGE_TO_YOUR_GID
      - TZ=Europe/London #CHANGE_TO_YOUR_TZ
      - UMASK=022
    volumes:
      - /volume1/docker/prowlarr:/config
    network_mode: service:gluetun
    depends_on:
      gluetun:
        condition: service_healthy
    security_opt:
      - no-new-privileges:true
    restart: always
    
  flaresolverr:
    image: flaresolverr/flaresolverr:latest
    container_name: flaresolverr
    environment:
      - TZ=Europe/London #CHANGE_TO_YOUR_TZ
    network_mode: service:gluetun
    depends_on:
      gluetun:
        condition: service_healthy
    security_opt:
      - no-new-privileges:true
    restart: always

Environment Variables

We need to make some changes in order for the added containers to have the correct permissions to save their config files and know where you are in the world.

VariableValue
PUID(required) The UID you obtained in the user setup guide should be entered here
PGID(required) The GID you obtained in the user setup guide should be entered here
TZ(required) Your timezone wikipedia.org/wiki/List_of_tz_database_time_zones

Once you have amended these we can Build the Project again.

Click Save and then Click OK.

The Project should now be running with a Green status

Firewall Exceptions

(Skip if you don’t have the Firewall configured)

If you have enabled and configured the Synology Firewall you will need to create exceptions for any containers that have a Web UI or have any incoming or outgoing connections. This section covers the basics of how to add these. (Please note this is a generic section and will not show the specific ports used in this guide however it applies in the same way)

Also, I would like to refer people to the great guide on getting the Firewall correctly configured over on WunderTechs site.

Head into the Control Panel> Security > Firewall, from here click Edit Rules for the profile you set up when you enabled the Firewall.

Next click on Create and you will see the screen below. Source IP and Action will be automatically selected to All and Allow, I will leave it up to you as to your own preference on whether you want to lock down specific Source IPs from having access. In this example we will leave as All.

You will now choose ‘Custom‘ and then the Custom button

Now select Destination from the drop-down menu, most web based containers require TCP access but check the guide as it will show the port and protocol. Then add comma separated ports. Then press OK.

Click OK a couple of times to get back to the main screen. You will see by default the new rule is added to the bottom of the list. You must always have your Block All rule last in the list as the rules are applied top down so move your container up.

You have now completed the Firewall changes and can continue with the guide.

Container set up complete

You should now be able to access Prowlarr via the IP of your NAS followed by the port 9696

e.g. 192.168.0.40:9696

FlareSolverr Setup

Once you have set up Prowlarr and the Indexers you want to use, you can then add FlareSolverr to the ones that require it.

Go to Settings > Indexers > Click + then select FlareSolverr

Once added enter the details as per the screenshot below – ensure you keep note of the ‘Tags’ as this is what you will add to an actual indexer to tell it to use FlareSolverr.

There are 3 possible connection options to use, try from top to bottom.

http://localhost:8191/
http://172.20.0.1:8191/
http://YOUR-NAS-IP:8191/

You then tag each indexer that requires FlareSolverr

FAQ

Prowlarr can’t connect to my Arrs or Download Client

When setting up the connection between Prowlarr and Radarr/Sonarr/Lidarr some users have reported getting a time-out when using the NAS IP. If this happens try using the Gateway IP of the Synobridge network, which should be ‘http://172.20.0.1’. (you can see this in the Container Manager UI in Networks)


Buy Me a Coffee or a Beer

If you have found my site useful please consider pinging me a tip as it helps cover the cost of running things or just lets me get the odd beverage. Plus 10% goes to the devs of the apps I do guides for every year.

Published inDockerSearch / Indexers 7.2Synology

26 Comments

  1. Chris Chris

    I gotta say, thanks a million for your guides. If I had any money at all, I would donate.

    I am a dinosaur IT guy and I have immensely enjoyed implementing the docker containers. I needed to get current with this tech and it was a blast going through this.

    A couple of questions:
    1) is there a site/guide that you would recommend to better understand the networking within the containers? I am struggling to truly understand how it works.
    2) Is there anyway that you know of that I could connect USB disk shares into the container data? is there a way to add mount points into the /volume1/data folders? I have a couple of USB drives connected to my NAS (DS418Play) to provide extra space but now I have media that I cannot be access by the containers.
    3) the only thing that seems to not be working correctly is qbittorent does not seem to download properly. They stall or just get nowhere and no seeders appear.

    Thanks again, so much appreciated!

    • Dr_Frankenstein Dr_Frankenstein

      Thanks 🙂

      1) https://www.youtube.com/watch?v=bKFMS5C4CG0&pp=ygUgZG9ja2VyIG5ldHdvcmtpbmcgIG5ldHdvcmsgY2h1Y2s%3D and also the official Docker documents..
      2) 100% – connect the drive, then SSH into the NAS and type ls / then you will see volumeUSBX (X being a number) you will need to ls down into the USB drive so ls /volumeUSB1/usbshare then mount this into a container /volumeUSB1/usbshare/media:/volumeUSB1/usbshare/media
      3) If they stall check that GlueTUN is actually staying connected within the logs for the container, it should show a successful connection. If you need help with this part reach out via my Help Me! page so I can take a closer private look.

      • Chris Chris

        Thanks a lot, I will followup as needed. I do not want to bother you.

        I am noodling what is going on with qbittorrent, it is looking flakey, sometimes it is saying it is firewalled, sometimes no DHT nodes, sometimes all good but the dl stalls.

        Really liked that network video, thanks! That guy is funny.

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.

drfrankenstein.co.uk – writing Synology Docker Guides since 2016 – Join My Discord!