Comment on Route outgoing traffic of a docker bridge network through VPN

BruisedMoose@piefed.social ⁨2⁩ ⁨days⁩ ago

First off, take this for what it is: a guy who can follow instructions but does not understand all the inner workings of docker.

I use Gluetun and have a set of apps that I run through it. They are all in the same compose file. Each of the ports is defined in the Gluetun section and not with the individual app. Then each app’s network_mode is set to service:gluetun

This routes all the traffic for those apps through the VPN while maintaining my regular network for everything else.

source
Sort:hotnewtop