lost and found ( for me ? )

Showing posts with label firewall. Show all posts
Showing posts with label firewall. Show all posts

How to install untangle 9.4 within KVM

Here’s how to install untangle 9.4 within KVM.

[ about untangle ]

http://www.untangle.com/
untangle acts as a gateway for web filter , captive portal , virus block , firewall etc.

[ build untangle VM including trial and error logs ]

KVM host info
# libvirtd –version
libvirtd (libvirt) 0.9.13

# kvm --version
QEMU emulator version 1.2.0 (qemu-kvm-1.2.0+noroms-0ubuntu2.12.10.2, Debian), Copyright (c) 2003-2008 Fabrice Bellard


download an ISO from http://www.untangle.com/
mint-1 hattori # ls ISO_files/untangle*
ISO_files/untangle_940_x32.iso


Before installing untangle within KVM , mount the ISO to confirm on which Linux distributions untangle is based.
mint-1 hattori # mount ISO_files/untangle_940_x32.iso tmp_mount -t iso9660 -o loop


untangle 9.4 seems to be based on Debian lenny.
mint-1 tmp_mount # pwd
/home/hattori/tmp_mount
mint-1 tmp_mount # cat dists/lenny/Release
Suite: stable
Codename: lenny
Date: Mon, 21 Jan 2013 19:42:19 +0000
Architectures: i386
Components: main
Description: mirror for lenny
MD5Sum:
5c74aba3d6cc7f95c5ddf25bca781472       81 main/binary-i386/Release
64cdc9b47e682d97364221e088959418   709827 main/binary-i386/Packages
8c64b1142d1a389f36788f3695b27721   224779 main/binary-i386/Packages.gz
0ff9a07cfeb5a97f1329bedd34cfbe6a   189093 main/debian-installer/binary-i386/Packages
6ff2d79ade21baabd654a31de5ecae99    46047 main/debian-installer/binary-i386/Packages.gz


unmount
mint-1 tmp_mount # cd /home/hattori/
mint-1 hattori # umount tmp_mount/


build untangle VM with virt-manager

OS type : Linux
Version : Debian Lenny


Please note that untangle requires at least two NICs. So before installing untangle , please add two vNICs or more.

the installation is very easy .. just click , click ..


untangle requires at least two NICs.
In my environment , I added only one vNIC.

shutdown the untangle VM , add one more vNIC which means that the untangle VM has two vNICs totally , and boot the VM again.

OMG , the VM has not recognized the vNIC I added after the installation..
I still face the same error after adding one more vNIC and rebooting the VM.

Okay , I’ll reinstall untangle..
build the VM again.
add two vNICs before the installation and then start the installation.


select the network topology.  one is router mode , the other is bridge mode.



okay , I finished the initial setup.

The following is the Web GUI.

You can add applications you’d like to use over the internet.
Some packages are free of charge , some are commercial.