I wanted to have a network at home that is dedicated to an always connected VPN environment. For this I picked PIA as they offer port forward (well… I’ve been told…)
First I setup the VPN Client on my UniFi device

Next, I’ve created a new VLAN

I have a large Unraid tower at home. A netowrk was created with the VLAN tag 60 for this
The PIA VPN then is set as a source for the PIA Network, i.e. all traffic from the PIA Network goes over the PIA VPN


Then in the Docker environment, I can add the VLAN as network

When the array is started and the docker services are running again, I can configure some docker containers to use this network
In my case, I want transmission, a torrenting container, to be connected via this VPN

And then to confirm that this is working, I ran the following ip a && curl ifconfig.me command on the docker container shell

That seems to work perfectely