I’m still fairly new to self-hosting and networking.
Currently I’m trying to find the best setup to run a torrent client through a vpn within casaos.
Any help would be greatly appreciated, thank you
I’m still fairly new to self-hosting and networking.
Currently I’m trying to find the best setup to run a torrent client through a vpn within casaos.
Any help would be greatly appreciated, thank you
Put the VPN on the host system, so everything pass through it.
Or
Install a container of gluetun or wireguard, setup your VPN in it and use the virtual network created on any other container.
Or
Docker exec into the shell of the container and install VPN there.
PIA? Wireguard… took me forever to find this.
https://github.com/thrnz/docker-wireguard-pia
read the instructions it sets up a network called VPN you can then link any container via settings to use VPN network.
Open the terminal in settings and type curl ifcongi.io to confirm the IP address of the container you want to be VPN’d
Thank you for the ideas!
I’m still struggling with the actual setup of wireguard easy. Do you know of any good guides?
the README says it depends on an active PIA subscription. I don’t see any way to use it with other VPN services?
I only use Wireguard easy to dial into my home network that’s a better use for it. I use a container to set up an outbound VPN for other containers to use. so outside the house wireguard to get in and access my network through a secure tunnel. Any container that needs to access internet tunneled and obfuscating my IP (qBittorrent) uses the VPN container.
https://github.com/thrnz/docker-wireguard-pia You have to install as a custom app but then you are all good.
Nope, unfortunately all guides I see seems like copy paste from each other, and neither of them worked for me, I’m also too dumb to figure it out by myself, the gluetun documentation is also too old and the commands they mention don’t work.
I ended up doing the first and third options.
For everything else you use glutun
Okay I’m glad I’m not the only one. I’ve been googling for hours and haven’t figured anything out
u/noxiouskarn thank you for nudging me to look into gluetun again!
u/Flimsy-Income9694 this video worked like a charm (be sure to watch the whole thing - he actually purposely does it the “wrong” way first
https://www.youtube.com/watch?v=xbSfaKwyfXE&t=545s
and I’m glad incorporating this feature in CasaOS is part of their development plan:
https://github.com/IceWhaleTech/CasaOS/issues/321
EDIT: thanks, too, u/atika for the reference to the Transmission OpenVPN bundle I actually got up & running first & realized Im used to the qBT UI & features. I really like the kill switch feature though. I need to verify if Gluetun’s VPN connection drops, that nothing goes through to any container using its network.
EDIT 2: Wireguard Easy is in fact easy to set up (esp when linuxserver.io Wireguard was a fail!). I also found it is better to use it to create a tunnel into yr network. I was able to put my phone over cellular & VPN into my network as if I were home. I was able to terminal & admin multiple servers & the cherry on top are my media server apps (eg Emby) stream through the tunnel - sweet!
u/Flimsy-Income9694 if you don’t want to muck around too much under the hood, it seems like `docker-transmission-openvpn` is the way to go (still need to play around more but this my take so far)