This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| comp:janusinst [2008/02/16 13:36] – Bernard Condrau | comp:janusinst [2026/09/20 10:48] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Install Endian Firewall (EFW) on a headless linux box ====== | ||
| - | |||
| - | ==== Hardware ==== | ||
| - | |||
| - | * Gigabyte GA-M68SM-S2L motherboard | ||
| - | * AMD Sempron LE-1150 CPU (2.0 GHz) | ||
| - | * 1 GB RAM | ||
| - | * SATA harddisk (any size) | ||
| - | * MSI Midas case (including power supply) | ||
| - | * Zalman CNPS 7500 CPU cooler | ||
| - | * 2 D-Link DGE-530T Gigabit Ethernet adapters | ||
| - | * USB-CD-ROM drive for installation only, or USB stick | ||
| - | |||
| - | The MSI case is very compact, well built and includes the power supply and one 60 mm case fan. I chose the Zalman cooler to be able to run the fan at minimum speed and thus creating a very quiet box. To reduce the speed of the integrated case fan I connected the fan through a resistor which comes with any separate Zalman case fan. The D-Link adapters have an optional low profile bracket. | ||
| - | |||
| - | Note that with the Zalman fan, it is impossible to fit a CD-ROM drive into the case. | ||
| - | |||
| - | The whole box cost you less than USD 300, and you could further save with a cheaper | ||
| - | |||
| - | ==== Software ==== | ||
| - | |||
| - | The only package which installed and recognized my hardware properly is Endian Firewall 2.2 beta 3. | ||
| - | |||
| - | |||
| - | ==== Special considerations before installing ==== | ||
| - | |||
| - | * EFW is based on IPCop, I actually started off with IPCop but later switched to EFW (see below) | ||
| - | * my hardware components are pretty new and therefore only supported in the latest kernel | ||
| - | * IPCop 1.4.18 (latest stable release) and EFW 2.1.2 (latest stable release) would not recognize the nVidia 680i or D-Link Gigabit ethernet cards | ||
| - | * IPCop 1.4.18 does not install from a USB-CD-ROM drive, you would need to attach PATA CD-ROM drive | ||
| - | * EFW 2.1.2 and 2.2 installs from a USB-CD-ROM drive | ||
| - | |||
| - | |||
| - | ==== Installation ==== | ||
| - | |||
| - | - Download the ISO from http:// | ||
| - | - Boot your box from CD and follow the installation | ||
| - | - After finishing installation from CD check wether you can connect from another client throught the web interface. Connect at https://< | ||
| - | - If you cannot connect, try connecting the LAN cable (green) to another network card | ||
| - | - If you still cannot connect, login in on the box directly as root (initial root password = endian) and check your ip configuration | ||
| - | - To enable your headless box to shutdown after pressing the power button, you need to install the acpid daemon. Download at http:// | ||
| - | |||
| - | |||
| - | ==== SSH access ==== | ||
| - | |||
| - | SSH access can be enabled through the EFW web interface. I prefer to create dedicated user account for the SSH access and not allow root to access. | ||
| - | |||
| - | First you need to create an additional user to achieve this. There are a few manual steps necessary to achieve this, login as root into a shell on your EFW box: | ||
| - | useradd myuser | ||
| - | passwd myuser | ||
| - | mkdir / | ||
| - | chown myuser: | ||
| - | vi / | ||
| - | vi /etc/passwd ; change the last entry created for myuser from / | ||