| INSTALLATION INSTRUCTIONS |
WANGuard Console Installation Instructions
Step 1. Installing dependencies
First make sure you have the required packages installed. On Debian or 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-snmp 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. If you deploy WANGuard Sensor or WANGuard Filter on remote systems, make sure that the MySQL server is accessible by opening port 3606 in the firewall.
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 the WANGuard Controller and WANGuard Console packages.
debian:~# wget http://www.andrisoft.com/files/WANGuard-Controller-3.1-0.i686.deb
debian:~# wget http://www.andrisoft.com/files/WANGuard-Console-3.1-0.all.deb
debian:~# dpkg -i WANGuard-Controller-3.1-0.i686.deb WANGuard-Console-3.1-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
The WANGuard Controller daemon must be installed and started on all systems. 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. If 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. Use the IP address of the server instead.
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://<hostname>/wanguard, where <hostname> is the name of the machine running WANGuard Console.
WANGuard Sensor Installation Instructions
Step 1. Install, configure and start WANGuard Controller
This step is required if you haven't previously installed and configured WANGuard Controller on the target system. In order to configure 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-3.1-0.i686.deb
debian:~# dpkg -i WANGuard-Controller-3.1-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-3.1-0.i686.deb
debian:~# dpkg -i WANGuard-Sensor-3.1-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 Instructions
Step 1. Installing dependencies
Make sure you have the requirements installed.
debian:~# apt-get install quagga tcpdump iptables libdbd-mysql-perl libnet-telnet-cisco-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 the zebra and bgpd daemons. 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 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-3.1-0.i686.deb
debian:~# dpkg -i WANGuard-Controller-3.1-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 the WANGuard BGPSupport and WANGuard Filter packages.
debian:~# wget http://www.andrisoft.com/files/WANGuard-BGPSupport-3.1-0.all.deb
debian:~# wget http://www.andrisoft.com/files/WANGuard-Filter-3.1-0.i686.deb
debian:~# dpkg -i WANGuard-BGPSupport-3.1-0.all.deb WANGuard-Filter-3.1-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.
|