VPN and Virtual Machine

Solved
Needix59 Posted messages 469 Status Member -  
mozii95 Posted messages 982 Status Member -
Hello/Good evening

I have a desktop PC on which I have a VPN (PIA)
On this PC, I have a virtual machine (Virtual Box) running Linux
The virtual machine does not have a VPN installed

So here's my question: is my virtual machine protected by my VPN, even though the latter is not installed on it?

My assumption is yes, because the PC that "hosts" my virtual machine is protected by my VPN. But this is just an assumption and I would like to be certain.

Thanks in advance for your responses!
Tanguy

2 answers

mozii95 Posted messages 982 Status Member 531
 
Hello,

Normally yes. It doesn't cost anything to test the IP from the VM to be sure.

--
Logic, determination, and motivation are the keys to success.
0
madmyke Posted messages 52304 Registration date   Status Moderator Last intervention   12 483
 
For me, no.

The VPN is under the operating system of your machine and thus establishes the tunnel between this machine and the VPN server (?) but under this OS, that doesn’t mean your "virtual" connection goes through the VPN.

best regards

--
"We swallow the lie that flatters us in one gulp, and we drink the truth that is bitter to us drop by drop."
0
mozii95 Posted messages 982 Status Member 531
 
The virtual network card of the VM is connected via NAT or a bridge to the physical network card of the host. So if the host has an established VPN connection, the VM will have it as well.

I tested this a few years ago and it works perfectly, and you can also add another VPN on the VM.
0