VPN on Host windows machine, linux guest

Discussions about using Linux guests in VirtualBox.
Post Reply
SinfulJon
Posts: 2
Joined: 10. Nov 2021, 01:46

VPN on Host windows machine, linux guest

Post by SinfulJon »

Apologies for my lack of knowledge, I'm self learning as fast as I can.
I use a VPN on my windows host machine. Is there any advantage to also running one on my linux guest machine in virtual box or would this be redundant?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VPN on Host windows machine, linux guest

Post by scottgus1 »

Depends partially on the Virtualbox network type for the VM. If it's NAT or NAT Network, the VM's traffic goes through the host OS's network stack and very likely thus through the host VPN. If the VM is Bridged, then the VM's traffic goes outside the host OS's network stack and might be able to do an end run around the host VPN, thus getting its own LAN/internet connection, and requiring a separate VPN if having one is needed.

Whether these possibilities happen is all dependent on how strongly the host VPN rules the host network, and that's not predictable from a Virtualbox standpoint. Just have to try it and see.
SinfulJon
Posts: 2
Joined: 10. Nov 2021, 01:46

Re: VPN on Host windows machine, linux guest

Post by SinfulJon »

Awesome thanks for the quick reply
Post Reply