I'll ask my question first, then give details about where I am coming from:
Is it possible to use host only, then have host (Ubuntu) act as a proxy to provide internet access to the guest (Windows)? If so, how?
I am trying to get the right combination of networking for my VirtualBox Windows client VM (Windows 7). My host is Wbuntu 10.10 (Maverick).
I believe I understand the basic network options (please correct me if I am incorrect):
NAT – Host can't communicate with guest but guest has access to all host's adapters
Host only – Separate adapter but guest has no net access
Bridged – bridge an adapter in the host with the virtual adapter to give the host access to the host adapter
I am trying to give my win guest internet access, but also access the host in a separate network.
Bridged only works when the host is connected to the internet (this is a laptop) so when it's not connected the network is down.
Thanks I appreciate your help.
Best Answer
Ok well I finally got it working.
I have installed the Squid proxy server on my Ubuntu host, and added the virtualbox adapter.
This link was very useful for quickly getting squid running: http://www.ubuntugeek.com/how-to-setup-transparent-squid-proxy-server-in-ubuntu.html
All I need to do now is fix a little issue I am having with the vboxnet0 adapter but all good.