How to route a container's traffic through gluetun while keeping connectivity between them #2500
Unanswered
SuperCuber
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to route outgoing connections from a single container in my docker-compose setup through a VPN, while keeping connectivity in my network. I followed the wiki, and I have something along the lines of
When I start up the server, it can no longer resolve the host
db:27017
that it could before (without thenetwork_mode
).I tried adding
ports: - 27017:27017
to thedb
container but it does not help :( any ideas?Beta Was this translation helpful? Give feedback.
All reactions