Closed sinacek closed 8 years ago
I don't have the docker OSX beta, so can't test directly... I'm assuming that you're running a proxy container reusing the network stack of the dperson/openvpn-client
.
ping 172.17.0.2
netstat -r
see if it knows to send traffic to the Linux VM (I think that this is where the issue is).-p 8118:8118
flag when launching your proxy container to have the VM forward the traffic (and use it's IP to connect to).route add -net 172.17.0.0 netmask 255.255.0.0 gw <IP_of_Linux_VM>
(replace "docker exec -it <container_name> ss -lntp | grep 8118
(replace "If the above doesn't point you to where the issue is I'd really have to probably mess with it myself to try and figure it out... which is unlikely to happen before it's out of beta (and by then they'll probably have fixed it for you).
Feel free to post any follow up questions here though.
Hi, thank you for your image, but it doesn't work on mac. Today I tried 20 images and no one works on mac, so I tried yours on Ubuntu and it works.
Doesn't work means, that command curl -x http://172.17.0.2:8118 http://jsonip.com/ get curl: (7) Failed to connect to 172.17.0.2 port 8118: Operation timed out