How to share Guest's internet with host on Virtualbox?

There is a great answer at this post to create a host only connection for your Virtualbox that can be seen by Ubuntu to be used for connecting into your VM for network connection sharing.

In VirtualBox, how do I set up host-only virtual machines that can access the Internet?

Before you follow those directions you need to create the virtual connection. Copy and paste the following in a terminal window to create it:

vboxmanage hostonlyif create

Also, follow these instructions here after you have created the host only connection and have it configured to setup Internet Connection Sharing in your Windows VM so that you can share your connection.

http://windows.microsoft.com/en-us/windows/using-internet-connection-sharing#1TC=windows-7