Forum Discussion

HotCakeX's avatar
Apr 30, 2019

[Resolved] Windows Sandbox has NO Internet when the host is connected to a VPN

When the host is connected to a VPN, such as PPTP/L2TP and then I launch Windows Sandbox, I have no internet in it. please fix this. this problem existed on build 19H1 and it still exists on build 20H1 (18885).

 

Old post, no longer an issue.

  • happyrob's avatar
    happyrob
    Copper Contributor

    I don't even have WIFI. And I have removed all VPNs.

    Still cannot connect.

    • happyrob's avatar
      happyrob
      Copper Contributor

      OK, if you Bridge connections between the Wifi Adapter and the vEthernet Hyper-V Virtual adapter you get a connection, extremely slow but at least something!

      R


      • HotCakeX's avatar
        HotCakeX
        MVP
        Hi,
        which type of virtual adapter is it? external/internal ?
  • TechnicalFox's avatar
    TechnicalFox
    Copper Contributor

    HotCakeX  not sure if you're still having this issue, but I was having a similar issue. Realized I had to allow LAN traffic with the VPN on. I use Windscribe and this provides the option to enable/disable LAN traffic. Sandbox traffic working after enabling (yeah, I feel dumb forgetting about this setting) and traffic is properly routed through my host's VPN.

    • HotCakeX's avatar
      HotCakeX
      MVP
      That's good to know, thanks
      no i don't have the problem anymore, I enter my VPN details in Windows settings (SSTP, IKeV2, PPTP)
    • nolsen311's avatar
      nolsen311
      Copper Contributor

      TechnicalFox 
      I feel like a "network moron", but I'd like to understand WHY this works.

      I'm finding a lot of references to this including "split tunneling" which I understood to mean allowing traffic to "route around" the VPN and access internet directly. All I want is the traffic from the sandbox to actually go through the VPN instead of null routing which is what seems to happen.

      I'm not allowed to edit VPN configs, which is as it should be, and I definitely don't want to allow split tunneling. However, as a security analyst, I would like to be able to run things in the sandbox without disconnecting from VPN

  • Kaiser250's avatar
    Kaiser250
    Copper Contributor
    I have also encountered such problem in 2023, hope someone who have solve the issue could share the idea, all best.
    • HotCakeX's avatar
      HotCakeX
      MVP

      Kaiser250 


      Kaiser250 wrote:
      I have also encountered such problem in 2023, hope someone who have solve the issue could share the idea, all best.

      Hi, do you mean that you are using PPTP/L2TP VPN protocols?

      • Kaiser250's avatar
        Kaiser250
        Copper Contributor

        HotCakeX

        I am now using Surfshark VPN, while in desktop version it only support WireGuard and OpenVPN (TCP/UDP).

Resources