Endian Installation and Configuration
Endian Installation and Configuration
Revisions:
Introduction
This document describes the step by step process of installing and configuring the Endian
Firewall, Community Edition (e.g. free!), with Advanced Proxy for LDAP authentication and very
granular proxy control, plus DansGuardian for URL & content filtering.
For the purposes of these procedures, we are installing Endian to be used as a content filtering
server for an internal network in conjunction with another firewall. Endian will be placed between
the inside network and the Internet firewall.
There is also a section detailing how to use Endian as a proxy on the internal network and routing
back to the internal firewall, without any network segmentation.
Useful Websites:
Home
http://www.endian.it/en/
Install Endian
√ Description
Create ISO Go to http://www.endian.it/en/community/download/iso/ and download
the ISO image for Endian Firewall. For these installation and
configuration procedures we are using version 2.0 RESPIN from
October 2006. Other versions may obviously have differences in their
installation, configuration and use.
Boot with CD Once you’ve downloaded and burned your CD, boot with it in the PC of
your choice. Your PC MUST have at least 2 NICs to install and use
Endian properly (unless you plan on configuring it as a proxy ONLY on
the internal network).
SSH We’ll probably want to run this box headless, so for advanced features
and functions we’ll want SSH enabled
6. Click Next
7. Configure your RED Internet IP information. Click Next
8. Configure your DNS servers. If you only have one DNS
server, you’ll need to enter the same IP address for both DNS
1 and DNS 2. Click Next
9. Click OK, apply configuration
Or if you’re adventurous and think you know what you’re doing ☺ you
can edit the /var/efw/ethernet/settings file to change IP
addresses, DNS, gateway, etc.
Backup Settings
√ Description
Create Backup Now that we have our settings configured and verified, let’s backup the
of configuration.
Configuration
1. Under System, select Backup
2. You can choose to backup to a floppy or locally. For now, we’ll
just back up locally and then copy them off
3. Under Backup Configuration, click Create
4. You will now see a Backup Set with today’s date &
timestamp.
5. You will also see an Unencrypted file with an Export link
next to it. Click the Export link for the Unencrypted file and
save it to your workstation
6. This is the same information that would go onto the backup
floppy.
Setup Browsers
√ Description
Setup You can now use Endian to perform content filtering. Simply configure
Browsers your workstation browsers to use the proxy server using the IP address
(or name if you configured a host record in your internal DNS properly)
and port 8080.
Configure AD We’ll also want to configure a group for our Internet users. Simply go
Internet Group into AD and create a group called InternetAccess in the C1_Users
OU.
Yes, I said the C1_Users OU. Endian is not able to look at the group
in one OU while the users are in another. So we need to put the
Internet group in the same OU as the users.
You also want to be sure not to put spaces in the group name to make
it simple. Otherwise you’ll have to escape the space with a \ in Endian.
Configure Now back to your browser and the Endian administrative interface:
LDAP
Authentication 1. Under Proxy, select Proxy and expand the
Authentication method
2. Select LDAP and click Save
3. Expand Authentication method again
4. In the Global authentication settings:
a. For Authentication realm prompt, enter
Corporate One Internet Access
b. Under Domains without authentication, depending on
the environment, you may want to enter the sites for
Windows Update. Domain names must be entered
with a leading dot and one per line, such as:
.corpone.org
.download.microsoft.com
.windowsupdate.com
.windowsupdate.microsoft.com
5. In the Common LDAP settings:
a. For Base DN, enter the following:
OU=C1_Users,DC=corpone,DC=org
b. LDAP Type should be Active Directory and the
port should be 389
c. For the LDAP Server enter the IP address (not host
name) of the local domain controller
6. In the Bind DN settings:
a. Set the Bind DN username to the following:
CN=ldap4proxy,DC=corpone,DC=org
b. Note: If you placed the user in a sub-OU and not at the
root of the domain, you’ll need to include that in the DN
(Distinguised Name). For instance, if you put the user
in the C1_Users group, the DN username would be:
CN=ldap4proxy,OU=C1_Users,DC=corpone,DC=
org
c. For the Bind DN password enter the ldap4proxy
user password
7. In the Group based access control:
a. For the Required group enter InternetAccess
b. For Advanced Group Selections, choose
Enabled
8. Click Save and Restart
Configure 1. Now click the Group Management link. If you see the error
Groups No Connection to the ADS/LDAP Directory, then you
have something amiss in the DN sections. Otherwise, you
should see a list of the CorpOne user group – which given that
there is only one group in our C1_Users OU, you should only
see InternetAccess.
2. Select InternetAccess and click the arrow to move it into
the Proxy Groups.
3. Click Save
4. Now click the Activated Groups link
5. Click enabled next to InternetAccess
6. Click Save and Restart
7. Go configure a browser and test it out.
Routing After you have Endian installed, you’ll need to make a couple changes.
Add the same route you entered at the command prompt here:
route add –net 0.0.0.0 netmask 0.0.0.0 gw IP
br0
Client Your clients will be setup the same – just point them to the Endian as
their proxy on port 8080. Try one and see!
DansGuardian If you want to edit the “Access Denied” page for the banned sites, edit
Access Denied the following file:
/etc/dansguardian/languages/ukenglish/template.html
After editing the page you’ll need to Save and Restart the proxy
server.
Other Error Most other error pages are located in the following location:
Pages
/etc/havp/templates/en
Squid Error The Squid error pages are located in the following location:
Pages
/usr/share/squid/errors/English
After editing the page you’ll need to Save and Restart the proxy
server.
Login Prompt Want to change the Endian Firewall release 2 login prompt to
something else? Simply edit the /etc/issue file and change to
whatever you like.