So I want to automate and containerize my downloads process and I was wondering if it was possible to run to have a setup in which I could get my downloads from Couchpotato/Sonarr and then download them through deluge with all BitTorrent traffic going through an OpenVPN client.
I was thinking that the VPN traffic would need to be restricted to only torrentss so I could still access the webUI of deluge. Am I on the right track or is there a better way to protect the privacy of your torrents? Thanks in advance for your help!
That Github organization also has a bunch of customized docker repos, which are all available in a customized Rancher service catalog that gets configured automatically.
I’m doing this on a regular ubuntu-box, where we only use the VPN connection for the deluged process. You create another routing table (we call it vpn) set up ip rules that says that traffic to and from the tun interface should use the vpn routing table, remove the “redirect-gateway” stuff from the openvpn config and add a startup script which tells deluge to bind to the vpn tunnel IP and updates the vpn routing table with the info for the tunnel.
Also have another script that checks connectivity for the VPN and restarts openvpn if it can’t ping the gateway which we run in cron like every 5 minutes since our vpn provider likes to force disconnects so that we reconncet and get provided another IP from time to time.
Also, would a feasible solution be to run a SOCKS proxy with the OpenVPN client setup in it and route the deluge traffic through there? Sorry if this is a noob question.