-
Notifications
You must be signed in to change notification settings - Fork 285
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
Epic: VPN #1115
Comments
Here's a list of VPN software reported by the users:
|
For Cisco, here's a potential workaround: https://gist.github.com/pyther/b7c03579a5ea55fe431561b502ec1ba8 |
Rancher Desktop on Windows while connected to Cisco AnyConnect 4.10.x or newer is confirmed working when the "Allow local (LAN) acess when using VPN (if configured)" user preferences is set and BypassVirtualSubnetsOnlyV4 Custom Attribute is set according to Cisco's documentation: |
It's worth noting that Docker Desktop is not susceptible to this bug at all. In fact, by running Linux in a workspace container under Docker Desktop one can automatically gain the benefits of the VPN state without any scripted changes at all. I'm not sure why that is, but I'm very disappointed to discover that Rancher Desktop is definitely not a drop-in replacement for Docker Desktop for enterprises using Cisco Anyconnect. The instructions to get around the problem defeat the very objective of an easy-to-use, turn-key Docker installation on Mac and Windows. |
Docker Desktop fixes the WSL2 VPN problem using "vpnkit" (https://github.com/moby/vpnkit). There is an example of how to use "vpnkit" provided by "wsl-vpnkit" (https://github.com/sakai135/wsl-vpnkit). |
@rwxrob working with the system VPN is quite a hard problem. Docker Desktop has had years to work on it and has done a fantastic job. I've personally learned more about networking on Mac, Windows, and Linux (which are each different) than I expected going into this. @vickimfox we're familiar with vpnkit. Rancher Desktop lets you use both containerd and dockerd. vpnkit is wired to work with dockerd. This makes sense for the project given it's under Moby and developed for Docker Desktop. This is one of the many nuances you have with it. We're working on the problem and, for various reasons, there isn't a quick fix. It is a priority. |
Using Rancher Desktop 1.0 and Cisco AnyConnect with wsl-vpnkit appears to be working at a high level. kubectl works from windows after updating contexts to point to localhost instead of the wsl2 IP. Nerdctl worked without any changes. |
We need this VPN feature. Is it in plan? |
Still broken on macOS with AyConnect. 😢 |
@micxer we have introduced an experimental feature in |
Seems to be working now. Thanks. |
Running Rancher Desktop on systems that rely on VPNs has proven to be tricky. We'll use this epic to help track the various issues that pop up.
The text was updated successfully, but these errors were encountered: