How to set up a proxy?

Discussions about using Linux guests in VirtualBox.
Post Reply
chacham
Posts: 7
Joined: 14. Jan 2014, 18:56

How to set up a proxy?

Post 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).
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How to set up a proxy?

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
chacham
Posts: 7
Joined: 14. Jan 2014, 18:56

Re: How to set up a proxy?

Post 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.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: How to set up a proxy?

Post 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.
chacham
Posts: 7
Joined: 14. Jan 2014, 18:56

Re: How to set up a proxy?

Post 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.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: How to set up a proxy?

Post 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)
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply