You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a docker compose file with 3 services. One is vpn service using gluetun, another is radarr and third is prowlarr.
vpn service is using docker network my_network.
prowlarr is behind vpn using network_mode: service:vpn.
radarr is not behind VPN and using network my_network.
I am able to reach out to prowlarr from radarr container using url http://vpn:portofprowlarr
But when I try to reach out to radarr from prowlarr container using url http://radarr:portofservice3, It fails to reach.
is there anyway to solve this ? Seems like container behind VPN is not able to connect to container which is not behind VPN.
This is sort of by design, because the DNS goes through the VPN only, and does not use the Docker DNS (or DNS traffic would leak out the VPN). You can use ip addresses to reach out from a container behind Gluetun to another container in the same docker network as Gluetun.
You can also subscribe to #137 which may resolve this, by exclusively forwarding requests for names without a dot to the Docker DNS, and send the rest of the traffic through the VPN.
Is this urgent?
Yes
Host OS
Ubuntu 22.04
CPU arch
aarch64
VPN service provider
ProtonVPN
What are you using to run the container
docker-compose
What is the version of Gluetun
v3.35.0
What's the problem 🤔
I have a docker compose file with 3 services. One is vpn service using gluetun, another is radarr and third is prowlarr.
vpn service is using docker network my_network.
prowlarr is behind vpn using network_mode: service:vpn.
radarr is not behind VPN and using network my_network.
I am able to reach out to prowlarr from radarr container using url http://vpn:portofprowlarr
But when I try to reach out to radarr from prowlarr container using url http://radarr:portofservice3, It fails to reach.
is there anyway to solve this ? Seems like container behind VPN is not able to connect to container which is not behind VPN.
Share your logs
Share your configuration
The text was updated successfully, but these errors were encountered: