Configuring Virtualbox to use an authenticating proxy
3.Is there a simpler approach I'm missing?
Perhaps:have you tried NATting your VMs? In other words,choosing a Natted network adapter, in the Network configuration GUI. In this case, all traffic from your pc will appear to originate with your host machine which,if I understand this right, is already authorized.
Related videos on Youtube
aquavitae
Updated on September 18, 2022Comments
-
aquavitae over 1 year
I have a couple of Virtualbox VMs (ubuntu guest) running on a windows 7 host, but internet access is through an authenticating proxy with a self signed certificate. Configuring this for just one of my VMs took several hours because of all the places I needed to add the authentication info and the manually installed certificates. To make the setup a bit easier, I am looking for some way to set up virtualbox witha transparent proxy so that I don't need to configure every program in each VM. AFAIK virtualbox itself doesn't have support for anything like this, so I assume I would need to set up a proxy server of my own (e.g. squid) to act transparently and forward all requests to the authenticating proxy. However, I have a few questions about this:
- Will squid be able to deal with the issue of self-signed certificates, or will I still need to manually install them on each VM?
- Would it be better to install squid in the windows host, or in a VM of its own? i.e. which will be easy to set up and work with? My instinct is to install it in another VM so keep the host clean, but I have no idea how to configure the network for that.
- Is there a simpler approach I'm missing?
-
Vinayak almost 8 yearsMaybe Delegate can do this. I'd recommend taking a look at the usage examples.
-
aquavitae over 10 yearsNAT is the default, but it doesn't seem to solve the authorisation or certificates problem. Perhaps there is something else I need to configure?
-
MariusMatutiae over 10 years@aquavitae Nope: it just means your LAN security is able to detect pcs hiding behind NAT, it is a serious security measure which is rarely implemented. It aims at forcing you to register, which appears at this point as the only solution you have. If you had used a Linux/Unix pc, there are countermeasures, but none that I know of in Windows. Sorry.
-
aquavitae over 10 yearsThanks for the info. I have successfully set up a transparent proxy before so that I only authenticate in one place, but that was in a single VM and it didn't deal with the certificates issue.
-
aemonge over 5 yearsSo, have you figured out a way to solve this ?