Visit The New, Modern Unix Linux Community

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  
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)

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #111
Difficulty: Easy
The Unix version with the largest installed base in 2019 is macOS.
True or False?

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
BHYVELOAD(8)						    BSD System Manager's Manual 					      BHYVELOAD(8)

bhyveload -- load a FreeBSD guest inside a bhyve virtual machine SYNOPSIS
bhyveload [-c cons-dev] [-d disk-path] [-e name=value] [-h host-path] [-m mem-size] vmname DESCRIPTION
bhyveload is used to load a FreeBSD guest inside a bhyve(4) virtual machine. bhyveload is based on loader(8) and will present an interface identical to the FreeBSD loader on the user's terminal. The virtual machine is identified as vmname and will be created if it does not already exist. OPTIONS
The following options are available: -c cons-dev cons-dev is a tty(4) device to use for bhyveload terminal I/O. The text string "stdio" is also accepted and selects the use of unbuffered standard I/O. This is the default value. -d disk-path The disk-path is the pathname of the guest's boot disk image. -e name=value Set the FreeBSD loader environment variable name to value. The option may be used more than once to set more than one environment variable. -h host-path The host-path is the directory at the top of the guest's boot filesystem. -m mem-size [K|k|M|m|G|g|T|t] mem-size is the amount of memory allocated to the guest. The mem-size argument may be suffixed with one of K, M, G or T (either upper or lower case) to indicate a multiple of Kilobytes, Megabytes, Gigabytes or Terabytes respectively. The default value of mem-size is 256M. EXAMPLES
To create a virtual machine named freebsd-vm that boots off the ISO image /freebsd/release.iso and has 1GB memory allocated to it: bhyveload -m 1G -d /freebsd/release.iso freebsd-vm To create a virtual machine named test-vm with 256MB of memory allocated, the guest root filesystem under the host directory /user/images/test and terminal I/O sent to the nmdm(4) device /dev/nmdm1B bhyveload -m 256MB -h /usr/images/test -c /dev/nmdm1B test-vm SEE ALSO
bhyve(4), nmdm(4), vmm(4), bhyve(8), loader(8) HISTORY
bhyveload first appeared in FreeBSD 10.0, and was developed at NetApp Inc. AUTHORS
bhyveload was developed by Neel Natu <> at NetApp Inc with a lot of help from Doug Rabson <>. BUGS
bhyveload can only load FreeBSD as a guest. BSD
January 7, 2012 BSD

Featured Tech Videos