-
Notifications
You must be signed in to change notification settings - Fork 2k
Connection Issues on VPN (Cisco AnyConnect) #2258
Comments
This is also related to #2101 |
Here's the logs when I try to create a machine with the --debug flag With VPN connected: https://gist.github.com/sjwoodard/4cd8679c2f762b7d5ba3 Note that when the VM is created, AnyConnect kicks me off of the VPN because a new networking adapter is created. Then it auto-reconnects back to the VPN. |
ping @nathanleclaire |
Thanks for the report and logs @sjwoodard! |
@nathanleclaire no problem. One last comment, the connection breaks when AnyConnect gets to the 'Activating VPN adapter' step. I ran the env command before and after making a VPN connection: New VM never connected to VPN: https://gist.github.com/sjwoodard/f172db49e45fd91a2731 |
Experienced this problem today; I did use the AnyConnect today on
A reboot "fixed" it. |
Rebooting doesn't help me on Windows. If I'm already connected to the VPN, running docker-machine will disconnect the VPN and then I get the |
I have what I believe to be the exact same issue with Junos Pulse. I can use
|
This also seems related ( #2632 ). |
duplicate of #2632 |
#2632 is for MAC. This issue also happens on Windows. I am experiencing this issue on Windows 10 Enterprise running Docker for Windows 1.12.1, Cisco AnyConnect 3.1.08009 |
This should do all the machinery required for setting up docker-machine with local port forwarding: https://github.com/onejli/docker-vpn-helper. Plus explains very well where problems are in using docker-machine with a VPN that intercepts all the traffic. |
@sarusso thank you, that works perfectly indeed. I got a certificate error though and had to change the export for the host from localhost to 127.0.0.1 but then it worked. Seems like that would be a great addition to the default docker stack! |
I mean... I have the same issue and I'm on linux. |
@shyce Me too. Ubuntu 19.10 and now 20.04 have the same issue. |
This is still an issue on MacOS, but see this is marked as closed. |
This issue stems from #1500
I'm using Docker 1.9.0 and Virtual Box 5.0.10 on Windows 7 (x64). Everything works fine in the office and at home without VPN, but after I connect to Cisco AnyConnect v 4.1.0 everything stops working. If I restart the VM while connected to the VPN, I can successfully run
docker-machine ssh default
, but using the Docker client throws this connection error:An error occurred trying to connect: Get http://localhost:2375/v1.21/images/json: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it.
VBox Log without VPN: https://gist.github.com/sjwoodard/bf814d3616513c7896c6
VBox Log with VPN: https://gist.github.com/sjwoodard/7f5b3ec80f03e3e623f4
The text was updated successfully, but these errors were encountered: