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

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Loulou45
OpenVpn Newbie
Posts: 2
Joined: Fri Dec 10, 2021 2:19 pm

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

Post by Loulou45 » Fri Dec 10, 2021 2:47 pm

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.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Fri Dec 10, 2021 3:24 pm

You don't connect a VM to the TAP Adapter, you connect to your ethernet card or what-ever ..

Loulou45
OpenVpn Newbie
Posts: 2
Joined: Fri Dec 10, 2021 2:19 pm

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

Post by Loulou45 » Sun Dec 12, 2021 1:23 pm

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.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Sun Dec 12, 2021 2:22 pm

This is about Virtualbox ..

Post Reply