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 <uuid or name here> --natdnshostresolver1 on

One thought on “Share VPN connection of Windows host with VirtualBox guest

Leave a Reply

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