Virtualbox guest as a firewall for lUbuntu host


 
Thread Tools Search this Thread
Special Forums Cybersecurity Virtualbox guest as a firewall for lUbuntu host
# 1  
Old 12-23-2015
Question Virtualbox guest as a firewall for lUbuntu host

Using virtualbox, I am trying to use Alpine linux (guest) as a firewall for my lubuntu (host). My physical network card (NIC) is eth0.

ISP WAN -> Alpine linux (guest) -> lubuntu (host) LAN

I am trying to get the ip from my ISP DHCP server but I had no success. I know that in virtualbox I have to use bridged adapter in eth0.
But in AlpineLinux (guest) do I have to create a vlan? Thats where I get confused.

ISP WAN -> DHCP -> Alpine linux (guest)

I was able to do this with two PCs like this:

ISP WAN --> Alpine linux firewall (PC1) --> Lubuntu LAN (PC2)

But now I am trying to do it with just one PC using virtualbox like this:

ISP WAN --> Alpine linux firewall (PC1) (Guest) --> Lubuntu LAN (PC1) (Host)
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Oracle VirtualBox Guest Additions installation help

Good day I recently attempted to to install Vbox Guest additions on CentOS 7.(Running on Windows 7 ) The packages downloaded fine . However when attempting to run the installer on CentOS 7 for vboxadditions_5.1.28_117968 , I received an error message written to ... (0 Replies)
Discussion started by: MrRobot
0 Replies

2. UNIX for Dummies Questions & Answers

Qemu Problems: OpenBSD(host) Kali Linux(guest)

As the title suggests I ran into a little problem trying to create a virtual machine of Kali Linux usign Qemu inside OpenBSD. I edited the example Kali Linux gave on their website here to the following for BSD: qemu-system-i386 -hda ./kali.qcow2 -boot d -cdrom ./kali-linux-1.0.5-i386.iso -m... (0 Replies)
Discussion started by: Azrael
0 Replies

3. UNIX for Advanced & Expert Users

"Network error: No route to host" While connecting guest RHEL4 using putty

Hi, I have installed RHEL4 using vmware workstation.. Host OS: Windows XP Guest OS: RHEL4 Pls refer step 17 & 18 in below link... ORACLE-BASE - Red Hat Enterprise Linux 4 and Centos 4 Installation 1) If i choose to assign IP automatically (using DHCP) means, i am able to connect RHEL4... (3 Replies)
Discussion started by: thomasraj87
3 Replies

4. Virtualization and Cloud Computing

Error in virtualbox while instaling guest additions

Failed to open the CD/DVD image /usr/lib/virtualbox/additions/VBoxGuestAdditions.iso. Could not get the storage format of the medium '/usr/lib/virtualbox/additions/VBoxGuestAdditions.iso' (VERR_NOT_SUPPORTED). Result Code: VBOX_E_IPRT_ERROR (0x80BB0005) Component: Medium Interface: IMedium... (9 Replies)
Discussion started by: upvan111
9 Replies

5. Linux

Unable to ping Linux guest from win7 host

Hi, I am using win7 on my PC and installed VMware on it on which i am running linux I am unable to ping my linux guest from my win machine, but i can ping my windows host from linux guest : Below is my system configuration Linux root@localhost ~]# ifconfig eth0 Link... (9 Replies)
Discussion started by: chander_1987
9 Replies

6. Emergency UNIX and Linux Support

Sharing internet from host os to guest os

I have a host os Windows 7 ultimate in place where virtual box is installed. Now in virtual box I have installed solaris 10. There is internet connection present in host windows 7 still I am not able to access internet in solaris 10. Please help to configure solaris so that internet can be... (12 Replies)
Discussion started by: hiten.r.chauhan
12 Replies

7. Virtualization and Cloud Computing

Nexenta (OpenSolaris kernel) + VirtualBox [weird host crashes]

I don't suppose anyone has experienced any weird host crashes in Nexenta (host) using VirtualBox 3.0.x (in headless mode)? It seems the host stays alive (I can even type text into the box if I have a keyboard hooked up) but it drops all user connections and network connections (so i can't ssh /... (0 Replies)
Discussion started by: laumars
0 Replies
Login or Register to Ask a Question
HYPER-V(4)						   BSD Kernel Interfaces Manual 						HYPER-V(4)

NAME
hv_kvp -- Hyper-V Key Value Pair Driver SYNOPSIS
To compile this driver into the kernel, place the following lines in the system kernel configuration file: device hyperv DESCRIPTION
The hv_kvp driver provides the ability to store, retrieve, modify and delete key value pairs for FreeBSD guest partitions running on Hyper-V. Hyper-V allows administrators to store custom metadata in the form of key value pairs inside the FreeBSD guest partition. Administrators can use Windows Powershell scripts to add, read, modify and delete such key value pairs. The driver is bare bones and merely forwards requests to its counterpart user mode daemon, hv_kvp_daemon(8). The daemon maintains pools of key value pairs and does the actual metadata management. The same driver and daemon combination are also used to set and get IP addresses from a FreeBSD guest. The set functionality is particularly useful when the FreeBSD guest is assigned a static IP address and is failed over from one Hyper-V host to another. After failover, Hyper-V uses the set IP functionality to automatically update the FreeBSD guest's IP address to its original static value. On the other hand, the get IP functionality is used to update the guest IP address in the Hyper-V management console window. SEE ALSO
hv_ata_pci_disengage(4), hv_netvsc(4), hv_storvsc(4), hv_utils(4), hv_vmbus(4), hv_kvp_daemon(8) HISTORY
Support for hv_kvp first appeared in FreeBSD 10.0. The driver was developed through a joint effort between Citrix Incorporated, Microsoft Corporation and Network Appliance Incorporated. AUTHORS
FreeBSD support for hv_kvp was first added by Microsoft BSD Integration Services Team <bsdic@microsoft.com>. BSD
September 10, 2013 BSD