Share VPN connection of Windows host with VirtualBox guest

Sharing the VPN connection of your host in VirtualBox works fine with NAT, but not with host only mode. The solution I found on morales-rodriguez.net is simple. Open an admin console on your windows7 host and execute the following:

$ VBoxManage list vms

Note that uuid or name in parenthesis of your VM and then:

$ VBoxManage modifyvm  --natdnshostresolver1 on

Join the Conversation

1 Comment

Your email address will not be published. Required fields are marked *