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

Network routing problem to intranet servers on VPN #2505

Closed
rcsilva83 opened this issue Jul 7, 2022 · 9 comments
Closed

Network routing problem to intranet servers on VPN #2505

rcsilva83 opened this issue Jul 7, 2022 · 9 comments
Assignees
Labels

Comments

@rcsilva83
Copy link

Actual Behavior

After starting Rancher Desktop, my WSL distros get Destination Host Unreachable error when pinging to intranet servers. As a result, I also can't use my corporate Docker registry with Rancher Desktop.

Steps to Reproduce

  1. Close Rancher Desktop and run wsl --shutdown to ensure a clean environment
  2. Enter Ubuntu WSL distribution and run ping corporate.docker.repo with success:
ping docker.corporate.docker.repo
PING server.name (172.17.204.106) 56(84) bytes of data.
64 bytes from server.name (172.17.204.106): icmp_seq=1 ttl=61 time=34.7 ms
  1. Start Rancher Desktop
  2. Run again ping corporate.docker.repo inside Ubuntu WSL distribution with error.

Result

ping corporate.docker.repo
PING server.name (172.17.204.106) 56(84) bytes of data.
From 172.17.0.1 (172.17.0.1) icmp_seq=1 Destination Host Unreachable

Expected Behavior

ping docker.corporate.docker.repo
PING server.name (172.17.204.106) 56(84) bytes of data.
64 bytes from server.name (172.17.204.106): icmp_seq=1 ttl=61 time=34.7 ms

Additional Information

No response

Rancher Desktop Version

1.4.1

Rancher Desktop K8s Version

Disabled

Which container runtime are you using?

moby (docker cli)

What operating system are you using?

Windows

Operating System / Build Version

Windows 10 Enterprise 21H2

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

No response

Windows User Only

Microsoft Always On VPN.

@rcsilva83 rcsilva83 added the kind/bug Something isn't working label Jul 7, 2022
@Nino-K
Copy link
Member

Nino-K commented Jul 7, 2022

@rcsilva83 can you please try enabling experimental host resolver and let us know if it fixes the issue.

Thanks

@Nino-K Nino-K self-assigned this Jul 7, 2022
@rcsilva83
Copy link
Author

@Nino-K it didn't work.

@ripun
Copy link

ripun commented Jul 8, 2022

seems similar issue #2477

@rcsilva83
Copy link
Author

Yes, @ripun . Indeed it seems to be a similar issue with different VPN software.

@ripun
Copy link

ripun commented Jul 8, 2022

I hope issue gets resolved sooner , because this is kind of blocker for windows user with VPN to access private docker registries (docker pull/push/login are must)

@Nino-K
Copy link
Member

Nino-K commented Jul 11, 2022

@rcsilva83 a few questions:

  1. Did you fully restart the rancher desktop after setting the "experimentalHostResolver":true?
  2. What kind of VPN software are you using?

Thanks,

@rcsilva83
Copy link
Author

@Nino-K

  • Did you fully restart the rancher desktop after setting the "experimentalHostResolver":true?

Yes, I did

  • What kind of VPN software are you using?

Microsoft Always On VPN

@rcsilva83
Copy link
Author

Just a hint: Podman with podman machine works well. Maybe you can see how it's done there.

@Nino-K
Copy link
Member

Nino-K commented Jun 19, 2023

@rcsilva83 please use our latest release 1.9 which includes a solution for when using Rancher Desktop behind a VPN. You can enable it using:

rdctl set --experimental.virtual-machine.networking-tunnel=true

I'm going to close this issue, feel free to re-open it if the issue still persists.

@Nino-K Nino-K closed this as completed Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants