Page 1 of 1

Why can i not use a bridge adapter with my Tap adapter on VirtualBox ?

Posted: Fri Dec 10, 2021 2:47 pm
by Loulou45
What i'm trying to make is i think a very simple KILLSWITCH.
I'm trying to make my guest only have internet when the TAP adapter is up on my host.

What i mean is: - when OpenVPN is running on my host then the guest can have access to the internet.
- if the VPN goes down then the guest lose his connectivity.

I am using VirtualBox where my guest as his only adapter set to Bridged adapter > TAP-Windows.

Host: Windows 10
Guest: Windows 10

Here is what i got on VirtualBox.
Guest : Settings > Network > Adapter 1 > Attached to : BRIDGE ADAPTER > Name : TAP-WINDOWS(my tap interface that is used by OpenVPN)


Why can't I access the internet with this method? What am I missing?

Thanks in advance.

Re: Why can i not use a bridge adapter with my Tap adapter on VirtualBox ?

Posted: Fri Dec 10, 2021 3:24 pm
by TinCanTech
You don't connect a VM to the TAP Adapter, you connect to your ethernet card or what-ever ..

Re: Why can i not use a bridge adapter with my Tap adapter on VirtualBox ?

Posted: Sun Dec 12, 2021 1:23 pm
by Loulou45
Thanks for your reply.

I knew that you had to connect to your ethernet card (for example) to have access to the internet. But what I wanted to know is why it can't work with TAP adapter. Whether it is from a network point of view, software and so on.

Thanks in advance.

Re: Why can i not use a bridge adapter with my Tap adapter on VirtualBox ?

Posted: Sun Dec 12, 2021 2:22 pm
by TinCanTech
This is about Virtualbox ..