Fix internet connection loss in Windows 11 when using Cisco AnyConnect VPN with Parallels Desktop

6 users found this article helpful

When utilizing Parallels Desktop to operate a Windows virtual machine in shared network mode, Cisco AnyConnect VPN on the Mac side can lead to a potential disruption of internet connectivity within the Windows guest OS.

Fix the issue

To address the issue of Windows 11 in shared network mode losing internet connection when the Cisco AnyConnect VPN is turned on the host side, follow the steps below:

  1. On your Mac, locate and open the Cisco AnyConnect Secure Mobility Client application in the Applications Folder.

  2. Within the Cisco AnyConnect client interface, click on the "Preferences" option. You can find this option represented by a cogwheel icon, usually positioned in the bottom left corner of the client window.

  3. In the Preferences menu, look for the option Allow local (LAN) access when using VPN (if configured) and make sure it is checked.

    Enabling this option allows your Windows 11 running in shared network mode to maintain internet connectivity even when the Cisco AnyConnect VPN is active on the host machine.

  4. After checking the option, close the Preferences window and proceed to use the virtual machine within Parallels Desktop.

Alternative option

It's also possible, that the root cause of this issue lies in the fact that the Shared Network IPv4 subnet is made routable via the VPN tunnel, leading to connectivity issues with the external network. In which case, please follow these steps:

  1. Contact your VPN administrator to suggest a /24 subnet in the subnets 10.0.0.0/8 or 192.168.0.0/16 that is not routed via the VPN tunnel.

    Note: This information is crucial and cannot be determined without knowledge of the VPN gateway configuration.

  2. Shut down all VMs. Make sure that the VMs are shut down. If any of them are in a suspended state, please run it and then shut down (Actions > Shut Down).

  3. Quit Parallels Desktop (click the Parallels icon on the top Mac menu > Quit Parallels Desktop).

     4. Modify the Virtual Network Configuration:

For macOS VMs on Apple Silicon (except the cases when macOS Sonoma is running as a host and VM operating system):

sudo nano /Library/Preferences/SystemConfiguration/com.apple.vmnet.plist

Note: you will need to enter your Mac password to run the command. No symbols will be shown due to security measures, so just hit the keys and use Return/Enter.

For Parallels Desktop for AppStore:

open -a TextEdit ~/Library/Group\ Containers/4C6364ACXT.com.parallels.desktop.appstore/Parallels/network.desktop.xml

Note: you will need to enter your Mac password to run the command. No symbols will be shown due to security measures, so just hit the keys and use Return/Enter. 

For Parallels Desktop for Mac with a Standard License:

open -a TextEdit /Library/Preferences/Parallels/network.desktop.xml

Note: you will need to enter your Mac password to run the command. No symbols will be shown due to security measures, so just hit the keys and use Return/Enter.

For Other Cases:

Was this article helpful?

Tell us how we can improve it.