System Configuration:
Virtual Box version: VirtualBox-6.1.6-137129-Win
Host OS: Windows 10
Guest OS: Oracle Linux 8.1 (Virtual Box Guest Additions not installed in it yet)
VPN Software running on Host OS (Windows 10):
Cisco AnyConnect Secure Mobility Client
Version: 4.8.02045
Preferences of VPN Client: Screen Shot Attached
Internet Connectivity on Host OS is through WiFi interface Intel(R) Wireless-AC 9560 160MHz connected to my Home router.
I have configured Guest VM i.e. Oracle Linux with just 1 NAT network interface (with default settings nothing modified), when the host is not connected to VPN my Guest VM i.e. Oracle Linux is able to use hosts network i.e. I am able to browse Internet from Oracle Linux.
- IP Configuration screen shot attached of Oracle Linux when VPN not connected in Host.
- route print command executed on host machine (i.e. windows 10) output also attached before VPN connection.
Now I thought that I will make a connection to VPN from Host OS (i.e. Windows 10) and my Guest OS (i.e. Oracle Linux) should be also able to access the same VPN connection with the configured NAT interface but instead when Host makes a VPN connection Guest OS is not able to use any of the VPN resources neither the Internet. Nothing seems to be working. I tried taking wireshark dump on Oracle Linux machine after VPN connect but there nothing captured in wireshark at all totally blank.
- IP Configuration screen shot attached of Oracle Linux when after VPN is connected in Host.
route print command executed on host machine (i.e. windows 10) output also attached after VPN connection.
VBox.log files also attached
Procedures I tried to troubleshoot the issue:
- Tried Using older version of Virtual Box 5.2 but still found same issue there.
- Tried using older version of Virtual Box 6.1.4 with and without VBoxGuestAdditions_6.1.7-137622 but still same issue there.
- I wanted to install VBoxGuest Additions as mentioned in ticket virtualbox . org / ticket /19336 but link shared to patched VBoxGuestAdditions_6.1.97-136310.iso in the ticked is broken not accessible.
Executed below commands collectively and one-by-one also but still issue persists:
C:\Program Files\Oracle\VirtualBox> VBoxManage modifyvm "VM name" --natdnshostresolver1 on
C:\Program Files\Oracle\VirtualBox> VBoxManage modifyvm "VM name" --natdnsproxy1 on
C:\Program Files\Oracle\VirtualBox> VBoxManage setextradata global VBoxInternal2/HostDNSSuffixesIgnore 1
Tried Installing Cisco AnyConnect Directly in Guest OS(Oracle Linux), it shows that it is connected but still can't access Internet or any VPN sites.
If I configure Oracle Linux VM network adapter as Bridged then atleast I have internet connectivity on Oracle VM, when VPN is connected on windows host, but the goal is to use the same VPN connection to which Host System i.e. Windows 10 is connected.
Any help regarding this issue would be great.
All the logs can be downloaded from this link.