Page 1 of 1

How to set up a proxy?

Posted: 15. Jan 2014, 21:47
by chacham
Host OS: Windows 7
Guest OS: Linux (Oracle Developer Days: Database App Development)
Network: 2 NICs, one is NAT, the other is Host-only

The Host is on a network that uses a script for browsers to resolves names on the Internet. Internal host names resolve normally, that is, from a command prompt. So, normally, only browsers (or any application that allows for a proxy) can resolve external domain names.

On the client, if i specify the proxy in FF, it works fine. Same with yum and wget. Is there any way to setup a system-wide proxy? That is, so all requests coming from the VM use the proxy? Ideally, i would want to use the script, but i can just as well specify the main ip address returned (which is what i did for FF, yum, and wget).

Re: How to set up a proxy?

Posted: 16. Jan 2014, 10:04
by socratis
This seems like (and feels like) a networking question. Not much to do with Virtualbox per se. Do you have an IT guy that can help you out? Like the people that wrote the script and have intimate knowledge of your particular setup? It's not that I don't want to point you to specifics, it's that it maybe misleading, because I don't know enough about your network topology and setup.

Glad that you actually managed to get things working.

Re: How to set up a proxy?

Posted: 16. Jan 2014, 16:38
by chacham
socratis wrote:This seems like (and feels like) a networking question. Not much to do with Virtualbox per se.
Actually, i was wondering if there was a way to do it in VitualBox, that is, to send all its network traffic through a proxy. Inside the VM there is a setting (http://docs.oracle.com/cd/E28385_01/en/ ... ll.6.6.htm) but that does not seem to work for me. I thought as a preloaded VM from Oracle, Linux client on Windows host, this might be the correct forum.

Re: How to set up a proxy?

Posted: 16. Jan 2014, 16:52
by mpack
If there's a way to do it in the physical world then it works the same way in VBox.

I don't quite see the relevance of the page you linked, which AFAICS has nothing to do with VirtualBox.

Re: How to set up a proxy?

Posted: 16. Jan 2014, 20:17
by chacham
mpack wrote:I don't quite see the relevance of the page you linked, which AFAICS has nothing to do with VirtualBox.
Sorry, i am using an Oracle supplied image with VirtualBox, running the OS in the image. I'm trying to figure out where to effect the change. That is, first where, then how.

Re: How to set up a proxy?

Posted: 18. Jan 2014, 01:25
by noteirak
Any proxy-like configuration is not handled by Virtualbox in any way. So this must be configured either in your Host OS or in your Guest OS, but not in between the two.
Virtualbox deals with hardware-based components, not with software-based components (which is what IP & Proxy are)