Friday, April 26, 2019

VirtualBox Guest OS Network Connects To Host VPN


   We have linux guest OS running in virtualbox win 10.  We have vpn running on win 10 host.
We have issues to connect to network in guest OS after VPN started.  After VPN shutdown, it works fine


We need to add natdnsresolver1 to the VM

  • Set Guest OS to attach to NAT and use adapter to "Paravirutalized network"  
  • Shutdown Guest OS
  • Run VBoxManage.exe list vms
  • Run VBoxManage.exe modifyvm <uuid here or name > --natdnshostresolver1 on
  • Start Guest OS
  • We can disconnect and reconnect host VPN on the fly, Guest OS can pick up connections.

No comments: