I feel like getting a VPN running for torrents should be the easiest fucking thing in the world but apparently not. With the amount of people using TrueNAS boxes for “linux iso’s” I’m astonished there isn’t a better solution for this. The only tutorials I’ve found for establishing a killswitch VPN for a torrent client involve custom apps or Dockge as outlined here.
I used a script to generate a .conf file for PIA since they apparently don’t give you one, but it’s missing the Preshared Key and MTU lines from the template. I dumped it into the config folder but there was no wiregaurd subfolder so I made one and created a wg0.conf file in both places. Still killswitch boot loops. I’d like to use wireguard. Please help!
Attempted to get this working with mullvad but see the config file has the same variables so don’t expect anything different. Not sure how to adjust the compose for that though.
Anyone have any luck with getting a VPN going for torrenting? This can’t be an uncommon issue…
Yes, I used this guide but the problem really is just I don’t know what I’m doing. I added the paths to Dockge as “additional storage” for configs and the torrent downloads folder, and while the VPN appears to be working (checked with the sample torrent from ipleak.net), my test torrents error out. I check the qbittorrent log and found File error alert. Torrent: "Big Buck Bunny". File: "/mnt/Data/Media/Downloads/temp/Big Buck Bunny/Big Buck Bunny.mp4". Reason: "Big Buck Bunny file_open (/mnt/Data/Media/Downloads/temp/Big Buck Bunny/Big Buck Bunny.mp4) error: Permission denied"
Dockge has access to that dataset as best I can tell so I have no idea why its erroring out like that. Also, I’d really prefer to be using wireguard but haven’t yet attempted that. Also I’ve heard of some people having issues with Gluetun and found this but have not tried to figure that out yet.
Did you check if user 568 has the correct permissions set on the mountpaths, and if user 568 has permissions on the toplvl datases as well? If you’ve only set permissions on the child dataset but not on the datase one level above, user 568 can’t traverse the datasets and it will error out.