Page 1 of 1

VPN from VirtualBox. Safe?

Posted: 11. Jul 2014, 09:57
by dawz0r
I connect to my VPN from my Solyd X installation in my VirtualBox. My host is Mac OS X. My network settings are set to bridged. Then I thought I would create a tunnel directly from my Solyd X to my VPN provider. But if I'm looking in my network, I will also access my Mac. How is this possible? I also see all other users who have Macs. What I'm afraid of is that I let the other people into my network. Because obviously I have not a closed tunnel between my VB and VPN server. I do not want to connect directly from my Mac. I do not want to send unnecessary data through a VPN.
Does anyone have knowledge about this situation?

Re: VPN from VirtualBox. Safe?

Posted: 11. Jul 2014, 10:44
by noteirak
What you see is a normal behaviour. Normally VPN software doesn't stop local traffic (traffic that doesn't require a gateway).

Re: VPN from VirtualBox. Safe?

Posted: 12. Jul 2014, 16:11
by dawz0r
I do not open up my network for other members using the same VPN service? As long as I have the firewall turned on in my guest operating system, then I should be protected?

Is this a good way to use an open VPN service? The idea with this is that I can have dropbox, email, spotify and other programs running on my host. While I may be connected to my VPN service where I surf anonymously in my guest, but where I do not feel like having to send my passwords and other sensitive information through.
Or are there any downsides to this that I'm missing?

Re: VPN from VirtualBox. Safe?

Posted: 12. Jul 2014, 19:42
by noteirak
I think we're being confuse on the mean and the goal here. I can give you few facts :
- If you configure your guest as Bridged, it would be like having another real computer on the network, separate from your host. So both would need firewalling, since none is directly related.
- A VPN is a generic term for a networking technologie. Implementations and behaviours change between the products, and some can have policies enforcement. So it can mean many things and nothing.

Now, if you're trying to protect your host while connecting your guest to a VPN, that's absolutely not what you're doing (from the info you gave). The guest is protected (in the limit of the VPN config) while your host is not, since your host has no knowledge of your VPN.

If you would explain what you're actually trying to achieve, and not how you're trying to achieve it, we could give you directions.

Re: VPN from VirtualBox. Safe?

Posted: 13. Jul 2014, 07:44
by dawz0r
Thanks for your answers. I will describe my situation.

I've got an account to connect through a remote VPN tunnel to download files without being tracked (Of course legal files). When I do this, I am afraid to go to pages where I need to enter password and username. I'm afraid of "man in the middle attacks" and sniffer programs. At the same time, I want to use the computer when I download. Therefore, I explore the possibility of VB for this. But I dont want to fool myself into a false sense of security.

Re: VPN from VirtualBox. Safe?

Posted: 13. Jul 2014, 14:34
by noteirak
Do you want ALL the traffic to go via the VPN then? or only the download part?

Re: VPN from VirtualBox. Safe?

Posted: 13. Jul 2014, 19:53
by dawz0r
Only the download traffic.

Re: VPN from VirtualBox. Safe?

Posted: 13. Jul 2014, 23:10
by noteirak
Then yes, you're doing it right.

Re: VPN from VirtualBox. Safe?

Posted: 14. Jul 2014, 23:32
by dawz0r
Thanks for your time. It has been very enlightening.

Re: VPN from VirtualBox. Safe?

Posted: 23. Jul 2014, 23:31
by weri
hello
sorry i am writing here if its not right but i found something about vpn and i write
My question is ,how can i connect my linux quest to my hosts win7 vpn connection ,
I think i did anything i found on the internet but nothng happens
is there any istructions how this can be true? and with the safety
thanks

Re: VPN from VirtualBox. Safe?

Posted: 24. Jul 2014, 01:28
by socratis
weri wrote:sorry i am writing here if its not right
Yes, you're right that you're not right. Please open a new thread. And provide more information about the problem that you're facing.