Linux – VirtualBox NAT over proxy

linuxnat;PROXYvirtualbox

I use VirtualBox 4.1.8 on a Ubuntu 10.04 host system. I have an HTTP proxy server on the host system.

How do I configure the VirtualBox to NAT the virtual machine's network and use the HTTP proxy for all internet communication?

I know, I could use the proxy configuration on the virtual machine but this is not smart solution.

Best Answer

You don't need to NAT a connection outgoing from the guest to the host.

Make sure that the proxy configuration is such that it permits connections from the IP address range the virtual host is using, then all you need to do is configure the host IP and proxy port in the virtual host proxy config.

Related Question