I’d basically like to run some containers within a VPN and some outside of it. The containers running within the VPN should not be able to send or receive any traffic from outside the VPN (except localhost maybe).
The container could be docker, podman, or even a qemu VM or some other solution if need be.
Is that possible? Dunno if this is the right place to ask.
—Resolution-------
Use https://github.com/qdm12/gluetun folks.
It is very doable.
Take a look at https://github.com/qdm12/gluetun - it’s what I use for this.
Perfect, that’s what I was looking for! Thanks dude.
Anti Commercial-AI license
second gluetun, easy to use and configure.