Q: How can I be sure the VPN connection is working?
A: Grab the magnet on the Check My Torrent IP site after a few seconds the site will show the IP address of the connection it finds. This will be of the VPN provider not your home IP.
Q: Why can’t I start the qBittorrent container via the DSM GUI?
A: Due to the way in which this container works the DSM GUI is unable to start the container again if you stop it. In order to start it correctly you will just need to SSH back into your Diskstation and re-run the docker compose—up command.
Q: I am using Mullvad and having issues connecting!
A: Mullvad has a slightly different VPN config compared to some. In order for you to have a successful connection you (may)need to make the following additional edits to the vpn.conf file. We have found through troubleshooting on Discord that the edits you need do vary though!
|up /etc/openvpn/update-resolv-conf||up /vpn/update-resolv-conf|
|down /etc/openvpn/update-resolv-conf||down /vpn/update-resolv-conf|
|Three additional variables to add after the #tun-ipv6||pull-filter ignore “dhcp-option DNS6”|
pull-filter ignore “tun-ipv6”
pull-filter ignore “ifconfig-ipv6”
In addition to the above you may need to add the following to your .yml if you receive an error ‘RTNETLINK answers permission denied’ it will go into the vpn section.
sysctls: - net.ipv6.conf.all.disable_ipv6=0
Q: How can I add additional services to the VPN container?
A: See the example docker compose file below. Note the amendment to the ‘network mode’ to make the Prowlarr container use the VPN and the addition of its port numbers to the VPN container section.
version: "3.8" services: vpn: container_name: vpn image: dperson/openvpn-client:latest cap_add: - net_admin # gives docker admin rights to amend network settings devices: - /dev/net/tun #points to the tun device created by the syno VPN package volumes: - /volume1/docker/vpn:/vpn #The location of our config files security_opt: - label:disable environment: OPENVPN_OPTS: '--mute-replay-warnings' DNS: --18.104.22.168 #this will override your default DNS and avoids connection issues you can change this value if you wish ports: #the port below allow the WebUI of any application connecting through the VPN to remain accessible locally - 8090:8090 # port for qBittorrent - Add a line for each application you want to use the VPN - 9696:9696 # port for prowlarr command: '-f "" -r "192.168.0.0/24"' # -r 192.168.254.0/24 -f # amend this in line with your local network settings restart: unless-stopped qbittorrent: image: lscr.io/linuxserver/qbittorrent container_name: qbittorrent environment: - PUID=YOURPUID - PGID=YOURPGID - TZ=YOURTIMEZONE - WEBUI_PORT=8090 volumes: - /volume1/docker/qbittorrent:/config - /volume1/data/torrents:/data/torrents network_mode: service:vpn # run on the vpn network depends_on: - vpn restart: unless-stopped linuxserver-prowlarr: image: linuxserver/prowlarr:develop container_name: prowlarr environment: - PUID=YOURPUID - PGID=YOURPGID - TZ=YOURTIMEZONE volumes: - /volume1/docker/prowlarr:/config network_mode: service:vpn # run on the vpn network depends_on: - vpn restart: unless-stopped
More will be added as questions come up
Throw me some bits or buy me a coffee?
If you have found my site useful please consider pinging me a tip as it helps cover the cost of running the site, you can even buy me a coffee 🙂
Pages: 1 2