VPN using PIA for arr's containers

I know there are tons of posts about this but none of them are either working for me or make sense to me.

I am new to Unraid and what I need to know before I make the full switch to UnRaid is how I setup multiple containers in Unraid that will all use a VPN. My VPN provider is PIA which apparently does not support Wireguard without some major complications. I would like to setup the following containers (at least) using PIA VPN.

qbittorrent - binhex’s container works great for me and is using VPN.
sonarr - Can’t get this to open using PIA through the binhex/qbittorrentvpn container.
radarr - Can’t get this to open using PIA through the binhex/qbittorrentvpn container.
prowlarr - Can’t get this to open using PIA through the binhex/qbittorrentvpn container.
readarr - Can’t get this to open using PIA through the binhex/qbittorrentvpn container.

I have watched SpaceInvaders videos on how to set up a container using another containters network but it just does not work for me. If I set up sonarr to us None for the network and set the extra paramters to --net=container:binhex/qbittorrent and add the ports to the qbittorrent conatiner I can’t get sonarr to open using http://host ip:8989

So I guess my real question is what is the best way to make containers use your VPN provider that is not overly complicated and prone to failure. Looking for a solution that will not allow the download of anything without it going through the VPN.

If more information is need please let me know and thank you.

Take a minute to read Binhex’s VPN Docker FAQ:

https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

Q21 - Wireguard setup with PIA. There’s not much additional work needed to use Wireguard.

Q24 - Route containers through VPN. There’s an additional variable you need to set that’s not mentioned in Space Invader’s video because it wasn’t required when the video was released.

See ConcreteBong’s post. That’s all that you need to do.

Thanks to everyone got it working now. I was forgetting to add the " VPN_INPUT_PORTS" property as well as adding the port to the container with the VPN on it.

I have your exact setup with PIA and wireguid and privoxy and it works flawlessly. Side note, you do not need any of you arr’s except prowlarr to run through your vpn. Look at your qbit logs and see if anything is throwing errors

So i have the exact setup you are describing just with a different vpn provider.

Follow these guides https://www.reddit.com/r/unRAID/comments/q06gel/setting_up_mullvad_deluge_vpn_wireguard/

Then setup your qbitvpn container like this https://imgur.com/a/XWiF3lm

Edit: however now that i think about it it might be wise to use the “output port” options rather than adding ports manually

I have the LAN_Network defined as my local LAN subnet 192.168.0.0/24. If I change my VPN_Client to wiregaurd is there no config file I have to get from PIA to add to the container?

Yeah I know I don’t need them to but would rather not provide my ISP with any of this information. :slight_smile: