A
A
Andrey Shiryaev2011-12-14 17:01:34
VMware
Andrey Shiryaev, 2011-12-14 17:01:34

Help with internet in vmware via proxy

Ubuntu is installed on vmware, which needs the Internet, but on the main OS (windows) the Internet goes through a proxy, so the client OS does not pick it up.

Maybe you can somehow register for vmware so that the Internet for the client OS is with a proxy, or somehow globally register a proxy in ubuntu?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
U
ulego, 2011-12-14
@ulego

echo "export http_proxy=http://username:[email protected]:port/" >> /etc/bash.bashrc ; source /etc/bash.bashrc
Naturally replace the unnecessary with the necessary.

N
Nikolai Turnaviotov, 2011-12-15
@foxmuldercp

1. Set up a transparent interface proxy, aka NAT, on the host OS. in this mode, the poppy addresses of the network cards of virtual machines were seen on the switch on the port as separate connected computers.
further - the method above. register http_proxy; HTTP_PROXY, ftp_proxy, FTP_PROXY aliases to the first point,
for apt-get, set the proxy in the settings, there are examples in Google.
the most important thing is to correctly configure the proxying mode of the virtual machine in the settings of its network card

B
bugaga0112358, 2011-12-15
@bugaga0112358

If you are interested in a global proxy setting, then add the following lines to the /etc/environment file (if you do not have a GUI): This is the global setting. > It would be desirable at least analog of proxy for ie which is picked up by many programs in windows. These settings are picked up only by those programs in the code of which this is incorporated. You can't just force programs to go through a proxy if they go directly.
http_proxy="http://proxy_address:port/"
https_proxy="http://proxy_address:port/"
ftp_proxy="http://proxy_address:port/"

N
Nikolai Turnaviotov, 2011-12-15
@foxmuldercp

even easier to configure like this:
http_proxy=" proxy_address :port/" # Your proxy
other variables - don't forget that some need "HTTP_PROXY"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question