VirtualBox NAT over proxy
I use VirtualBox 4.1.8 on a Ubuntu 10.04 host system. I have an HTTP proxy server on the host system.
How do I configure the VirtualBox to NAT the virtual machine's network and use the HTTP proxy for all internet communication?
I know, I could use the proxy configuration on the virtual machine but this is not smart solution.
linux virtualbox proxy nat
add a comment |
I use VirtualBox 4.1.8 on a Ubuntu 10.04 host system. I have an HTTP proxy server on the host system.
How do I configure the VirtualBox to NAT the virtual machine's network and use the HTTP proxy for all internet communication?
I know, I could use the proxy configuration on the virtual machine but this is not smart solution.
linux virtualbox proxy nat
add a comment |
I use VirtualBox 4.1.8 on a Ubuntu 10.04 host system. I have an HTTP proxy server on the host system.
How do I configure the VirtualBox to NAT the virtual machine's network and use the HTTP proxy for all internet communication?
I know, I could use the proxy configuration on the virtual machine but this is not smart solution.
linux virtualbox proxy nat
I use VirtualBox 4.1.8 on a Ubuntu 10.04 host system. I have an HTTP proxy server on the host system.
How do I configure the VirtualBox to NAT the virtual machine's network and use the HTTP proxy for all internet communication?
I know, I could use the proxy configuration on the virtual machine but this is not smart solution.
linux virtualbox proxy nat
linux virtualbox proxy nat
edited Feb 22 '12 at 9:52
slhck
159k47438462
159k47438462
asked Feb 22 '12 at 9:00
phschoen
22127
22127
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You don't need to NAT a connection outgoing from the guest to the host.
Make sure that the proxy configuration is such that it permits connections from the IP address range the virtual host is using, then all you need to do is configure the host IP and proxy port in the virtual host proxy config.
1
I think he has the same problem as I have. I do not want a Host-Guest communication. I have a host where I had to configure a proxy to use get access to internet (it is working). Now I want to configure my Virtualbox Debian Guest (with an universal configuration), and no matter how I change the host's network, as long as the host has access to internet, the Guest should also have access. Most importantly, wget or curl (without any proxy configuration). In other words I want the Guest to use the Host's proxy channel (it it is authenticated).
– karatedog
May 23 '12 at 12:20
5
@karatedog You cannot hijack an authenticated proxy session from another machine, virtual or otherwise.
– Paul
May 23 '12 at 13:26
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f392678%2fvirtualbox-nat-over-proxy%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You don't need to NAT a connection outgoing from the guest to the host.
Make sure that the proxy configuration is such that it permits connections from the IP address range the virtual host is using, then all you need to do is configure the host IP and proxy port in the virtual host proxy config.
1
I think he has the same problem as I have. I do not want a Host-Guest communication. I have a host where I had to configure a proxy to use get access to internet (it is working). Now I want to configure my Virtualbox Debian Guest (with an universal configuration), and no matter how I change the host's network, as long as the host has access to internet, the Guest should also have access. Most importantly, wget or curl (without any proxy configuration). In other words I want the Guest to use the Host's proxy channel (it it is authenticated).
– karatedog
May 23 '12 at 12:20
5
@karatedog You cannot hijack an authenticated proxy session from another machine, virtual or otherwise.
– Paul
May 23 '12 at 13:26
add a comment |
You don't need to NAT a connection outgoing from the guest to the host.
Make sure that the proxy configuration is such that it permits connections from the IP address range the virtual host is using, then all you need to do is configure the host IP and proxy port in the virtual host proxy config.
1
I think he has the same problem as I have. I do not want a Host-Guest communication. I have a host where I had to configure a proxy to use get access to internet (it is working). Now I want to configure my Virtualbox Debian Guest (with an universal configuration), and no matter how I change the host's network, as long as the host has access to internet, the Guest should also have access. Most importantly, wget or curl (without any proxy configuration). In other words I want the Guest to use the Host's proxy channel (it it is authenticated).
– karatedog
May 23 '12 at 12:20
5
@karatedog You cannot hijack an authenticated proxy session from another machine, virtual or otherwise.
– Paul
May 23 '12 at 13:26
add a comment |
You don't need to NAT a connection outgoing from the guest to the host.
Make sure that the proxy configuration is such that it permits connections from the IP address range the virtual host is using, then all you need to do is configure the host IP and proxy port in the virtual host proxy config.
You don't need to NAT a connection outgoing from the guest to the host.
Make sure that the proxy configuration is such that it permits connections from the IP address range the virtual host is using, then all you need to do is configure the host IP and proxy port in the virtual host proxy config.
answered Feb 22 '12 at 9:16
Paul
47.8k13121147
47.8k13121147
1
I think he has the same problem as I have. I do not want a Host-Guest communication. I have a host where I had to configure a proxy to use get access to internet (it is working). Now I want to configure my Virtualbox Debian Guest (with an universal configuration), and no matter how I change the host's network, as long as the host has access to internet, the Guest should also have access. Most importantly, wget or curl (without any proxy configuration). In other words I want the Guest to use the Host's proxy channel (it it is authenticated).
– karatedog
May 23 '12 at 12:20
5
@karatedog You cannot hijack an authenticated proxy session from another machine, virtual or otherwise.
– Paul
May 23 '12 at 13:26
add a comment |
1
I think he has the same problem as I have. I do not want a Host-Guest communication. I have a host where I had to configure a proxy to use get access to internet (it is working). Now I want to configure my Virtualbox Debian Guest (with an universal configuration), and no matter how I change the host's network, as long as the host has access to internet, the Guest should also have access. Most importantly, wget or curl (without any proxy configuration). In other words I want the Guest to use the Host's proxy channel (it it is authenticated).
– karatedog
May 23 '12 at 12:20
5
@karatedog You cannot hijack an authenticated proxy session from another machine, virtual or otherwise.
– Paul
May 23 '12 at 13:26
1
1
I think he has the same problem as I have. I do not want a Host-Guest communication. I have a host where I had to configure a proxy to use get access to internet (it is working). Now I want to configure my Virtualbox Debian Guest (with an universal configuration), and no matter how I change the host's network, as long as the host has access to internet, the Guest should also have access. Most importantly, wget or curl (without any proxy configuration). In other words I want the Guest to use the Host's proxy channel (it it is authenticated).
– karatedog
May 23 '12 at 12:20
I think he has the same problem as I have. I do not want a Host-Guest communication. I have a host where I had to configure a proxy to use get access to internet (it is working). Now I want to configure my Virtualbox Debian Guest (with an universal configuration), and no matter how I change the host's network, as long as the host has access to internet, the Guest should also have access. Most importantly, wget or curl (without any proxy configuration). In other words I want the Guest to use the Host's proxy channel (it it is authenticated).
– karatedog
May 23 '12 at 12:20
5
5
@karatedog You cannot hijack an authenticated proxy session from another machine, virtual or otherwise.
– Paul
May 23 '12 at 13:26
@karatedog You cannot hijack an authenticated proxy session from another machine, virtual or otherwise.
– Paul
May 23 '12 at 13:26
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f392678%2fvirtualbox-nat-over-proxy%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown