Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How do I access a WEBUI on a container behind the pia-openvpn #4

Open
Fribb opened this issue Nov 21, 2017 · 3 comments
Open

Comments

@Fribb
Copy link

Fribb commented Nov 21, 2017

I'm trying to get this to work. I use the pia-openvpn container as stated in the readme. Then I used the --net=container:pia on the transmission container and when I'm connected on it and get the current IP then it is the same as pia (and different from my regular IP) which tells me that it works. However it seems that I'm not able to connect to the webui of the transmission container over the port 9091. How can I access the webui?

@rizowski
Copy link

rizowski commented Feb 8, 2018

I created a project that can represent the problem. I have not been able to reproduce the problem on a mac. However, running this on ubuntu, I can no longer access a container that is behind the vpn outside of the host.

https://github.com/rizowski/docker-tunnel

@conlon
Copy link

conlon commented Feb 23, 2018

https://www.reddit.com/r/docker/comments/3w0498/docker_containers_routed_through_openvpn_client/
this thread has led me down the path of trying to solve this with an nginx container that routes the right port(s) to the host for the UI...I'll come back and let y'all know if I can get this working

@rizowski
Copy link

Ultimately this is what I had to do. I can get it to work with either nginx or traefik. Someone I know was also able to get it to work with Apache. Even though that worked I tried to create an issue on docker compose to find out why I couldn't connect to the container outside the host. But no one seems to be able to replicate the issue. It seems like a firewall issue but when I allowed all traffic on the blocked port on any interface to go to any interface I still had the same problem. So right now, proxy it is.

docker/compose#5664
https://bitbucket.org/ItsDaSpecialK/docker-openvpn/issues/1/question-how-do-i-access-a-webui-on-a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants