TrueNAS Scale 24.10.0 with privoxyvpn app

I created a new install of 24.10.0 and I used an ix-app custom app to create a docker container with the binhex privoxyvpn image.

To get it working I had to set the container in privileged mode and the container works fine and connects to vpn, but I am struggling to route other apps through this container.

Usually I would create a docker network like container:privoxyvpn and then I would set the network for the other apps to be this network.

But I can’t see a way to set the network in the custom app to be this new network I created.

If I manually change it using portainer then every time I stop and start the app again the network is reset back to the default one.

Is the solution here using YAML instead? Has anyone managed to do this?
Or… am I going about this the wrong way and with TrueNAS I should be using a different approach or app to get my apps routing through a VPN?

So I decided to give up on this idea as I don’t think TrueNAS implementation of Docker is quite mature enough yet.

So as workaround I just installed qbittorrentvpn by binhex using a custom app. This worked great!

You could do that by rolling out a custom app with yaml. You can even roll out each app in their own, but you’d still have to figure out how to have apps know if gluetun/vpn is down or not.

There was a post today on reddit/r/truenas that had qbittorrent and gluten as either individual compose or both in the same app.

Combined app is easy, since you can add in depends_on:whateveryoucalledgluetun to the qbittorrent part.

Doing it with individual apps would need you to find a way to make sure gluetun is up and running before starting qbittorrent.

If you’re looking to add the arrs to gluetun, it can also act like a http proxy and the arrs have settings for that.

Or just run all of your apps from a single compose. My lead dev at work, who is our kube/helm guy, runs his home media box off a single compose file.