How to setup TOR as a network interface for VMs on Mac OS Mojave?












1















I am using VirtualBox and Whonix to create a secure way of letting a VM communicate only through TOR. However, I would like to setup TOR on the host Mac OS as a network interface so it can be selected as network device in the VirtualBox VM config. This way the Whonix workaround is not required anymore. The VM will only have one network device and that communicates through TOR only.



I can't find anyone having the same requirement. Maybe I am trying something nonsense?



EDIT:
Another way could be to have a virtual network interface / device that only communicates through a proxy. Setting up a TOR proxy is no problem - it is f.i. pre-configured and included in the TOR browser bundle. However, I also couldn't find a way to create a proxy based network device.



Thanks










share|improve this question

























  • Don't do this. It is not a "workaround" to have the Whonix-Gateway in a separate virtual machine. It's a very important part of the security design.

    – Michael Hampton
    Jan 21 at 15:57











  • @MichaelHampton I understand your point. I am not trying to workaround the Whonix gateway per se, but I would like to ensure that also Windows or other Unix VMs will only communicate through TOR. (Altough, I admit, I pointed out in my question it's all about saving a VM)

    – Eli T.
    Jan 21 at 16:38
















1















I am using VirtualBox and Whonix to create a secure way of letting a VM communicate only through TOR. However, I would like to setup TOR on the host Mac OS as a network interface so it can be selected as network device in the VirtualBox VM config. This way the Whonix workaround is not required anymore. The VM will only have one network device and that communicates through TOR only.



I can't find anyone having the same requirement. Maybe I am trying something nonsense?



EDIT:
Another way could be to have a virtual network interface / device that only communicates through a proxy. Setting up a TOR proxy is no problem - it is f.i. pre-configured and included in the TOR browser bundle. However, I also couldn't find a way to create a proxy based network device.



Thanks










share|improve this question

























  • Don't do this. It is not a "workaround" to have the Whonix-Gateway in a separate virtual machine. It's a very important part of the security design.

    – Michael Hampton
    Jan 21 at 15:57











  • @MichaelHampton I understand your point. I am not trying to workaround the Whonix gateway per se, but I would like to ensure that also Windows or other Unix VMs will only communicate through TOR. (Altough, I admit, I pointed out in my question it's all about saving a VM)

    – Eli T.
    Jan 21 at 16:38














1












1








1








I am using VirtualBox and Whonix to create a secure way of letting a VM communicate only through TOR. However, I would like to setup TOR on the host Mac OS as a network interface so it can be selected as network device in the VirtualBox VM config. This way the Whonix workaround is not required anymore. The VM will only have one network device and that communicates through TOR only.



I can't find anyone having the same requirement. Maybe I am trying something nonsense?



EDIT:
Another way could be to have a virtual network interface / device that only communicates through a proxy. Setting up a TOR proxy is no problem - it is f.i. pre-configured and included in the TOR browser bundle. However, I also couldn't find a way to create a proxy based network device.



Thanks










share|improve this question
















I am using VirtualBox and Whonix to create a secure way of letting a VM communicate only through TOR. However, I would like to setup TOR on the host Mac OS as a network interface so it can be selected as network device in the VirtualBox VM config. This way the Whonix workaround is not required anymore. The VM will only have one network device and that communicates through TOR only.



I can't find anyone having the same requirement. Maybe I am trying something nonsense?



EDIT:
Another way could be to have a virtual network interface / device that only communicates through a proxy. Setting up a TOR proxy is no problem - it is f.i. pre-configured and included in the TOR browser bundle. However, I also couldn't find a way to create a proxy based network device.



Thanks







networking macos virtualbox virtual-machine tor






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 20 at 20:36







Eli T.

















asked Jan 18 at 23:52









Eli T.Eli T.

62




62













  • Don't do this. It is not a "workaround" to have the Whonix-Gateway in a separate virtual machine. It's a very important part of the security design.

    – Michael Hampton
    Jan 21 at 15:57











  • @MichaelHampton I understand your point. I am not trying to workaround the Whonix gateway per se, but I would like to ensure that also Windows or other Unix VMs will only communicate through TOR. (Altough, I admit, I pointed out in my question it's all about saving a VM)

    – Eli T.
    Jan 21 at 16:38



















  • Don't do this. It is not a "workaround" to have the Whonix-Gateway in a separate virtual machine. It's a very important part of the security design.

    – Michael Hampton
    Jan 21 at 15:57











  • @MichaelHampton I understand your point. I am not trying to workaround the Whonix gateway per se, but I would like to ensure that also Windows or other Unix VMs will only communicate through TOR. (Altough, I admit, I pointed out in my question it's all about saving a VM)

    – Eli T.
    Jan 21 at 16:38

















Don't do this. It is not a "workaround" to have the Whonix-Gateway in a separate virtual machine. It's a very important part of the security design.

– Michael Hampton
Jan 21 at 15:57





Don't do this. It is not a "workaround" to have the Whonix-Gateway in a separate virtual machine. It's a very important part of the security design.

– Michael Hampton
Jan 21 at 15:57













@MichaelHampton I understand your point. I am not trying to workaround the Whonix gateway per se, but I would like to ensure that also Windows or other Unix VMs will only communicate through TOR. (Altough, I admit, I pointed out in my question it's all about saving a VM)

– Eli T.
Jan 21 at 16:38





@MichaelHampton I understand your point. I am not trying to workaround the Whonix gateway per se, but I would like to ensure that also Windows or other Unix VMs will only communicate through TOR. (Altough, I admit, I pointed out in my question it's all about saving a VM)

– Eli T.
Jan 21 at 16:38










0






active

oldest

votes











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1395958%2fhow-to-setup-tor-as-a-network-interface-for-vms-on-mac-os-mojave%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1395958%2fhow-to-setup-tor-as-a-network-interface-for-vms-on-mac-os-mojave%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀