Bridged like virtual network controled by host firewall?
Posted: 9. Aug 2013, 14:16
Hi,
I have the following requirements:
(1) Guest must have access to the internet (e.g. using browser).
(2) Guest must be accessed from internet.
(3) Guest must have it's own static IP address (it should not be the same as host's static IP).
(4) Network traffic between guest and host must be controlled by host firewall.
If only (1) was required, I could use NAT.
If only (1) and (2) were required, I could use NAT with port forwarding.
If only (1), (2) and (3) were required then I could use Bridged Adapter.
According to theory:
NAT: does not support static IP address (exception is port forwarding, but in this case guest and host have the same IP - not acceptable in my case).
Internal Network: guests can see each other - not suitable in my case
Host-only Adapter: guest can see other guests and host, host can access guests, guest can't be accessed from internet
Bridged Adapter: it uses virtual network host driver that bypasses host firewall.
Is there a way to configure 'bridged like' connection between guest and host and have a host firewall control what network traffic gets into each of the virtual machines?
P.S. Looking to my 5 years old documentation this was ones done using network bridges and using VBoxAddIF, but this command does not exists anymore, because VirtualBox virtual network was completely rewritten few versions back.
My system:
- host: Ubuntu 8.04
- guest (multiple guests): Windows XP
- VirtualBox 4.2.16
I have the following requirements:
(1) Guest must have access to the internet (e.g. using browser).
(2) Guest must be accessed from internet.
(3) Guest must have it's own static IP address (it should not be the same as host's static IP).
(4) Network traffic between guest and host must be controlled by host firewall.
If only (1) was required, I could use NAT.
If only (1) and (2) were required, I could use NAT with port forwarding.
If only (1), (2) and (3) were required then I could use Bridged Adapter.
According to theory:
NAT: does not support static IP address (exception is port forwarding, but in this case guest and host have the same IP - not acceptable in my case).
Internal Network: guests can see each other - not suitable in my case
Host-only Adapter: guest can see other guests and host, host can access guests, guest can't be accessed from internet
Bridged Adapter: it uses virtual network host driver that bypasses host firewall.
Is there a way to configure 'bridged like' connection between guest and host and have a host firewall control what network traffic gets into each of the virtual machines?
P.S. Looking to my 5 years old documentation this was ones done using network bridges and using VBoxAddIF, but this command does not exists anymore, because VirtualBox virtual network was completely rewritten few versions back.
My system:
- host: Ubuntu 8.04
- guest (multiple guests): Windows XP
- VirtualBox 4.2.16