Debian, Ubuntu Server Packages


Andrisoft WANGuard Platform™ components are provided as Debian compatible DEB packages. We have built DEB packages for i686 architectures ( 32 bit Pentium and beyond ) and x86_64 architectures ( 64 bit Intel / AMD processors ). The installation instructions listed below contain references to 32 bit packages. To install 64 bit packages simply change i686 with amd64. The packages were tested with recent Debian compatible distributions such as Debian 4.0 Etch and Ubuntu Server 6.06 LTS.  


DOWNLOAD
Administration Guide.pdf   Installation and Administration Guide for WANGuard Platform 2.0
WANGuard-Controller-2.0-0.i686.deb  32 bit package   WANGuard Controller provides routines used to start, shutdown and monitor other WANGuard Platform components.
WANGuard-Controller-2.0-0.amd64.deb  64 bit package  
WANGuard-Sensor-2.0-0.i686.deb  32 bit package   WANGuard Sensor is an advanced software made for both incoming and outgoing traffic accounting, monitoring and analysis.
WANGuard-Sensor-2.0-0.amd64.deb  64 bit package  
WANGuard-Filter-2.0-0.i686.deb  32 bit package   WANGuard Filter is designed to protect organizations by using sophisticated traffic analysis algorithms that are able to detect and filter the malicious traffic.
WANGuard-Filter-2.0-0.amd64.deb  64 bit package  
WANGuard-Console-2.0-0.all.deb   WANGuard Console is a web application that provides single-point management and reporting for all WANGuard Sensor & Filter systems deployed within the network.
WANGuard-BGPSupport-2.0-0.all.deb   WANGuard-BGPSupport package includes the required tools for sending BGP routing announcements through quagga, zebra or bgpd daemons.
WANGUARD PLATFORM™ INSTALLATION INSTRUCTIONS

WANGuard Console Installation


Step 1. Installing dependencies
Make sure you have the required packages installed. On Debian / Ubuntu systems you should use the apt-get command, after you enabled the universe repository in /etc/apt/sources.list.
debian:~# apt-get install mysql-server apache2 php5 php5-mysql libmailtools-perl libdbd-mysql-perl libnet-telnet-perl quagga rrdtool librrds-perl wget

Step 2. Configure the MySQL server
By default, the MySQL server does not have any password set. You should start the MySQL server, set a password for the MySQL root user, and make sure that old_passwords=0 in /etc/mysql/my.cnf. Also make sure that the MySQL server is accessible from remote systems by opening port 3606 in the firewall. This is required if you deploy WANGuard Sensors and WANGuard Filters on remote systems.
debian:~# /etc/init.d/mysql start
debian:~# /usr/bin/mysqladmin -u root password 'new-password'
debian:~# /etc/init.d/mysql restart

Step 3. Install WANGuard Controller and WANGuard Console
Install WANGuard Controller and WANGuard Console packages.
debian:~# wget http://www.andrisoft.com/files/WANGuard-Controller-2.0-0.i686.deb
debian:~# wget http://www.andrisoft.com/files/WANGuard-Console-2.0-0.all.deb
debian:~# dpkg -i WANGuard-Controller-2.0-0.i686.deb WANGuard-Console-2.0-0.all.deb

Step 4. Configure WANGuard Console
Configure WANGuard Console by running the /opt/wanguard/install_console script. You will have to enter the MySQL root password that you set on step 2, and set a new WANGuard Console database password.
debian:~# /opt/wanguard/bin/install_console

Step 5. Configure and start WANGuard Controller
WANGuard Controller must be installed and started on all WANGuard Platform systems ( Console, Sensors, Filters ). You have to run the /opt/wanguard/bin/install_controller script to enter the WANGuard Console's IP address and the WANGuard Console's database password you set on step 4. Even if the WANGuard Controller and WANGuard Console are installed on the same system, don't use for WANGuard Console's IP address the loopback address ( 127.0.0.1 ).
debian:~# /opt/wanguard/bin/install_controller
debian:~# /etc/init.d/WANGuardController start
debian:~# update-rc.d WANGuardController defaults 99

Step 6. Access WANGuard Console
WANGuard Console's web interface is accessible by pointing your web browser at http://[console_ip]/wanguard. You will then have to enter the license key, or copy the wanguard.lic file we generated for you in /opt/wanguard/etc.

WANGuard Sensor Installation


Step 1. Install, configure and start WANGuard Controller
This step is required if you haven't previously installed and configured the WANGuard Controller on the target system. In order to configure the Controller, you have to run the /opt/wanguard/bin/install_controller script to enter the WANGuard Console's IP address and the WANGuard Console's database password.
debian:~# wget http://www.andrisoft.com/files/WANGuard-Controller-2.0-0.i686.deb
debian:~# dpkg -i WANGuard-Controller-2.0-0.i686.deb
debian:~# /opt/wanguard/bin/install_controller
debian:~# /etc/init.d/WANGuardController start
debian:~# update-rc.d WANGuardController defaults 99

Step 2. Install WANGuard Sensor
Install the WANGuard Sensor package.
debian:~# wget http://www.andrisoft.com/files/WANGuard-Sensor-2.0-0.i686.deb
debian:~# dpkg -i WANGuard-Sensor-2.0-0.i686.deb

Step 3. Setup WANGuard Sensor
Log into WANGuard Console to setup WANGuard Sensor(s). WANGuard Sensors are started, monitored and stopped by the WANGuard Controller daemon, so make sure the WANGuardController service is running.

WANGuard Filter Installation


Step 1. Installing dependencies
Make sure you have the requirements installed.
debian:~# apt-get install quagga tcpdump iptables libdbd-mysql-perl
debian:~# /etc/init.d/quagga start

Step 2. Install and configure Quagga / Bgpd
Set zebra=yes and bgpd=yes in /etc/quagga/daemons to enable zebra and bgpd. Configure the daemons and start the quagga service.
debian:~# vi /etc/quagga/daemons
debian:~# /etc/init.d/quagga start

Step 3. Install, configure and start WANGuard Controller
This step is necessary if you haven't previously installed and configured WANGuard Controller on the target system. In order to configure the WANGuard Controller, you have to run the /opt/wanguard/bin/install_controller script to enter the WANGuard Console's IP address and the WANGuard Console's database password.
debian:~# wget http://www.andrisoft.com/files/WANGuard-Controller-2.0-0.i686.deb
debian:~# dpkg -i WANGuard-Controller-2.0-0.i686.deb
debian:~# /opt/wanguard/bin/install_controller
debian:~# /etc/init.d/WANGuardController start
debian:~# update-rc.d WANGuardController defaults 99

Step 4. Install WANGuard Filter
Install BGPSupport and WANGuard Filter packages.
debian:~# wget http://www.andrisoft.com/files/WANGuard-BGPSupport-2.0-0.all.deb
debian:~# wget http://www.andrisoft.com/files/WANGuard-Filter-2.0-0.i686.deb
debian:~# dpkg -i WANGuard-BGPSupport-2.0-0.all.deb WANGuard-Filter-2.0-0.i686.deb

Step 5. Setup WANGuard Filter
Log into WANGuard Console to setup WANGuard Filter(s). WANGuard Filters are started, monitored and stopped by the WANGuard Controller daemon, so make sure the WANGuardController service is running.