[Solved] Question about protocol binding

Discussions related to using VirtualBox on Windows hosts.
Post Reply
carsten.spiess
Posts: 15
Joined: 25. Oct 2009, 15:23
Primary OS: MS Windows other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: ubuntu

[Solved] Question about protocol binding

Post by carsten.spiess »

Hello all,

why do i need to bind the TCP/IP driver on a NIC which should only be used as a bridged NIC :?:
The host should not have access to my LAN via this NIC.

Background:
I have a VM as a virtual firewall/router and give other VM's access only via a host only network

So i setup the firewall VM with two NIC's, one as bridged to the host's NIC, the other as host only network.
My other VM's have only one NIC in the host only network.
So all trafic from the VM's to the LAN is routed by the firewall VM.

This works fine, but i have to bind the host's NIC not only to the VirtualBox Bridged Network Driver
it has also be bound to the TCP/IP driver.
When not having the TCP/IP binding i can't access the LAN from the firewall VM.
I don't understand why, i think the firewall uses it's own TCP/IP stack, why do i need the host's stack?

This behaviour results in a direct LAN access for the host bypassing the firewall VM, which is a security issue.

How could i solve this?
Thank for ideas, regards

Carsten
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Question about protocol binding

Post by Sasquatch »

How strange. I would have thought the same, that disabling TCP/IP would prevent the Host from using the NIC for traffic while allowing the Guest to use it. If you're 100% sure that it's not working like this, explain it as good as you can in a ticket using the Bugtracker (separate account needed).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
carsten.spiess
Posts: 15
Joined: 25. Oct 2009, 15:23
Primary OS: MS Windows other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: ubuntu

Re: Question about protocol binding

Post by carsten.spiess »

very strange, i tried it several times with the firewall VM, with or without restarting the VM.
After rebooting the host i couldn't observe it anymory: now it works without the TCP/IP binding
Sorry for disturbing :oops:
Post Reply