How do I direct traffic out of gluetun, but open local ports for local access? #740
Unanswered
ForceConstant
asked this question in
Q&A
Replies: 1 comment
-
Publish the ports on gluetun, since it's the only network host Docker - speaking. More details at https://github.com/qdm12/gluetun/wiki/Port-mapping |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know how to setup gluetun using the network_mode to direct towards gluetun container. But docker won't let me do this and also have local ports open, i.e. set with the ports: or -p options. So what is the right way to do this? I am guessing that if I use docker-compose create a specific gluetun server for this other service, and then put these local ports in the gluetun section?
Beta Was this translation helpful? Give feedback.
All reactions