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

NAME
pam_guest -- Guest PAM module SYNOPSIS
[service-name] module-type control-flag pam_guest [arguments] DESCRIPTION
The guest service module for PAM allows guest logins. If successful, the pam_guest module sets the PAM environment variable GUEST to the login name. The application can check this variable using pam_getenv(3) to differentiate guest logins from normal logins. The following options may be passed to the pam_guest module: guests=list Comma-separated list of guest account names. The default is ``guest''. A typical value for ftpd(8) would be ``anonymous,ftp''. nopass Omits the password prompt if the target account is on the list of guest accounts. pass_as_ruser The password typed in by the user is exported as the PAM_RUSER item. This is useful for applications like ftpd(8) where guest users are encouraged to use their email address as password. pass_is_user Requires the guest user to type in the guest account name as password. SEE ALSO
pam_get_item(3), pam_getenv(3), pam.conf(5), pam(8) AUTHORS
The pam_guest module and this manual page were developed for the FreeBSD Project by ThinkSec AS and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BSD
May 26, 2003 BSD