'network access through proxy server with virtualbox

In the company that I work, we have Windows 7 installed on all PCs. We don't have internet access through Windows but can set proxy settings in Firefox and can thus access the Internet.

I installed a virtual box on one of these Windows 7 machines and Ubuntu 14.10 but I have problem with accessing the Internet.

How can I access the Internet through the proxy server via an Ubuntu virtual box running under Windows 7?



Solution 1:[1]

you have to make a Network Bridge in Windows (between VBox Host-Only Network and the Controller connected to the Internet)

In Virtualbox you can leave the Adapter at NAT

I´m using this with my debian-vm. Additionally I added the Network-Proxy as system-wide Proxy in my VM.

Good Luck!

Solution 2:[2]

I think you can use Bridged network mode on your virtual box. Then assign IP address for you ubuntu to connect to your network, and then use the proxy setting at the ubuntu's internet browser.

Solution 3:[3]

you can set the proxy for the console:

$export http_proxy=http://[ipproxy]:[port]

on firefox you can set the proxy in the network settings.

Solution 4:[4]

$export http_proxy=http://[ipproxy]:[port] 

this is works for me in solaris network setting is in bridge

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 yogipriyo
Solution 3 Thilina Ashen Gamage
Solution 4 Peter Csala