Bridge network so host has not connection

This is for discussing general topics about how to use VirtualBox.
Post Reply
Carharttguy
Posts: 1
Joined: 10. Jun 2015, 11:41

Bridge network so host has not connection

Post by Carharttguy »

Hello

I have a situation: I want to install Untangle in Virtualbox. I don't want to connect my host computer to the DMZ. Can I bridge my NIC to the Virtual Untangle so that my host doesn't have internet connection? So everything is forwarded immediatly?

Thanks a lot
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Bridge network so host has not connection

Post by noteirak »

Not sure if I understood it right but here goes :
If you want your host to send all traffic to the guest and the guest to actually have network access, you need to:

- Configure two NIC for the VM: one Bridged to your network card, one Host-Only.

On the guest:
- Configure the bridged interface with whatever IP setting you need
- Configure the Host-Only interface with a static IP : 192.168.56.2/24 would be a good choice

On the host
- Disable IPv4 & IPv6 on the NIC - DO NOT DISABLE THE NIC ITSELF
- Configure the host-only interface with a static IP 192.168.56.1/24 and put 192.168.56.2 (the VM ip) as Gateway & DNS server

All traffic should now be going via the VM.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Elizine
Posts: 34
Joined: 19. May 2015, 10:49

Re: Bridge network so host has not connection

Post by Elizine »

Hi,

You can go through the video link explaining the installation of Untangle in Virtualbox -
https://www.youtube.com/watch?v=8TqR1RQ ... redirect=1
bodHOST
Post Reply