How to Install Transmission with VPN on OMV

dbtechdiy, OpenMediaVault, Tutorials, VideoLeave a Comment

How to Install Transmission with VPN on OMV

In this post we’ll look at How to Install Transmission with VPN on OMV.

The process is pretty easy and straightforward, but you’ll need a VPN account in order for this to work. I’ll be using Private Internet Access (PIA). There are several other providers that will work with this. Here’s a blog post that has some other options, but you can search for more by Googling “OpenVPN Providers”: https://www.vpnranks.com/best-vpn/openvpn/

You’ll need to setup a Torrents folder on your OMV dashboard and you’ll want to share it on the network by adding it to SMB/CIFS.

Once you’ve got that done, you can move on to installing Transmission on OpenMediaVault / Docker using Stacks.

Installing Transmission with Stacks

---
version: "2"
services:
  transmission-openvpn:
    image: haugene/transmission-openvpn:latest
    container_name: transmission-openvpn-syno
    restart: always
    cap_add:
      - NET_ADMIN # This runs the container with raised privileges
    devices:
      - /dev/net/tun # This creates a tunnel for Transmission
    volumes:
      - /srv/dev-disk-by-label-Files/Torrents:/data # Change this to your Torrent path
    environment:
      - OPENVPN_PROVIDER=PIA # Or other compatible OpenVPN provider
      - OPENVPN_CONFIG=Spain # Or other region that supports port forwarding. Check with your VPN provider
      - OPENVPN_USERNAME=username # VPN provider username
      - OPENVPN_PASSWORD=password # VPN provider password
      - LOCAL_NETWORK=192.168.1.0/24 # If your server's IP address is 192.168.1.x, then use this. If your server's IP address is 192.168.0.x, then change to 192.168.0.0/24
      - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60 # Leave this as is
      - PUID=998 #Change to your PUID
      - PGID=100 #Change to your PGID
    ports:
      - 9091:9091 #GUI Port
      - 8888:8888 #Transmission Port
    dns:
      - 8.8.8.8 #Use whatever DNS provider you want. This is Google.
      - 8.8.4.4 #Use whatever DNS provider you want. This is Google.

You can remove anything after the # in the schema above. Those are just comments to let you know what’s going on.

That’s is. You’ve got Transmission setup using your OpenVPN provider for an extra level of protection while using Transmission.

Other OpenMediaVault Tutorials

If you’re interested in other tutorials for your home server, check here: https://dbtechreviews.com/category/openmediavault/

/=========================================/

Like what I do? Want to be generous and help support my channel?

Here are some ways to support:

Patreon: https://dbte.ch/patreon

Ko-fi: https://dbte.ch/kofi

/=========================================/

Remember to leave a like on this video and subscribe if you want to see more!

/=========================================/

Follow Me:

Twitter: https://dbte.ch/tw

Facebook: https://dbte.ch/fb

Subscribe: https://dbte.ch/ytsub