WANGuard Console Installation Instructions
Step 1. Installing dependencies
First make sure you have the required packages installed. Dependencies can be installed using the yast command:
[root@localhost ~]# yast -i mysql php5-mysql php5-snmp perl-DBD-mysql apache2 apache2-mod_php5 perl-MailTools perl-Net-Telnet quagga rrdtool dejavu
Step 2. Configure the MySQL server
By default, the MySQL server does not have any password set. You must start the MySQL server and set a password for the MySQL root user. 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.
[root@localhost ~]# service mysql start
[root@localhost ~]# /usr/bin/mysqladmin -u root password 'new-password'
[root@localhost ~]# service mysql restart
[root@localhost ~]# chkconfig mysql on
Step 3. Install WANGuard Controller and WANGuard Console
Install the WANGuard Controller and WANGuard Console packages.
[root@localhost ~]# rpm -i http://www.andrisoft.com/files/suse/WANGuard-Controller-4.0-0.i686.rpm
[root@localhost ~]# rpm -i http://www.andrisoft.com/files/suse/WANGuard-Console-4.0-0.noarch.rpm
Step 4. Configure the Apache server
Please check if your distribution has PHP version 5.2 or above with the "rpm -aq | grep php" command. If it doesn't please install PHP 5.2 from another source. Add the "zend_extension=/opt/wanguard/webroot/ixed/ixed.5.2.lin" for PHP 5.2 or "zend_extension=/opt/wanguard/webroot/ixed/ixed.5.3.lin" for PHP 5.3 in php.ini, in the [PHP] section. Also, change magic_quotes_gpc to Off.
[root@localhost ~]# vi /etc/php5/apache2/php.ini # add zend_extension=/opt/wanguard/webroot/ixed/ixed.5.3.lin, and set magic_quotes_gpc to Off
[root@localhost ~]# /etc/init.d/apache2 restart
Step 5. 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.
[root@localhost ~]# /opt/wanguard/bin/install_console
Step 6. 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 5. 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.
[root@localhost ~]# /opt/wanguard/bin/install_controller
[root@localhost ~]# service WANGuardController start
Step 7. Access WANGuard Console
The WANGuard Console web interface is accessible by pointing your web browser to http://<hostname>/wanguard, where <hostname> is the name of the machine where the WANGuard Console is running.
WANGuard Sensor Installation Instructions
Step 1. Installing dependencies
Make sure you have the dependecies installed. These are not required for WANGuard Lite.
[root@localhost ~]# yast -i perl-DBD-mysql
[root@localhost ~]# rpm -i http://www.andrisoft.com/files/suse/WANGuard-BGPSupport-4.0-0.noarch.rpm
Step 2. 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.
[root@localhost ~]# rpm -i http://www.andrisoft.com/files/suse/WANGuard-Controller-4.0-0.i686.rpm
[root@localhost ~]# /opt/wanguard/bin/install_controller
[root@localhost ~]# service WANGuardController start
Step 3. Install WANGuard Sensor
Install the WANGuard Sensor package and the tcpdump dependency.
[root@localhost ~]# yast -i tcpdump
[root@localhost ~]# rpm -i http://www.andrisoft.com/files/suse/WANGuard-Sensor-4.0-0.i686.rpm
Step 4. 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 always running.
WANGuard Filter Installation Instructions
Step 1. Installing dependencies
Make sure you have the quagga / bgpd package installed.
[root@localhost ~]# yast -i quagga iptables perl-DBD-mysql
[root@localhost ~]# service bgpd start
Step 2. 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.
[root@localhost ~]# rpm -i http://www.andrisoft.com/files/suse/WANGuard-Controller-4.0-0.i686.rpm
[root@localhost ~]# /opt/wanguard/bin/install_controller
[root@localhost ~]# service WANGuardController start
Step 3. Install WANGuard Filter
Install the WANGuard-BGPSupport and WANGuard Filter packages.
[root@localhost ~]# rpm -i http://www.andrisoft.com/files/suse/WANGuard-BGPSupport-4.0-0.noarch.rpm
[root@localhost ~]# rpm -i http://www.andrisoft.com/files/suse/WANGuard-Filter-4.0-0.i686.rpm
Step 4. 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 always running.
|