Wanguard and Wansight can be installed on 64-bit architectures using the APT package manager.
All packages were tested on Debian 7 "Wheezy".
USER GUIDES: | Wanguard 8.0 User Guide | ![]() |
Wansight 8.0 User Guide | ![]() |
CONSOLE INSTALLATION STEPS: |
Step 1. Install the Andrisoft repository First add the Andrisoft repository to APT. debian:~# apt-get install apt-transport-https wget
debian:~# wget --no-check-certificate -O - https://www.andrisoft.com/andrisoft.gpg.key | apt-key add - debian:~# echo "deb https://www.andrisoft.com/files/debian7 wheezy main" > /etc/apt/sources.list.d/andrisoft.list Step 2. Install the packages Install the wanconsole package and dependencies. Configure and start ntpd to prevent clock de-synchronization issues. debian:~# apt-get update debian:~# apt-get install wanconsole debian:~# service ntp start debian:~# update-rc.d ntp defaults Step 3. Configure the MySQL service By default, MySQL is bound to the loopback interface so you must comment the bind-address parameter. If you deploy the Sensor or the Filter on remote systems, make sure that the MySQL server is accessible by opening port tcp/3306 in the firewall. debian:~# nano /etc/mysql/my.cnf #comment any "bind-address" directive, set "max_connections=1000", "max_allowed_packet=200M", "open_files_limit=5000" and add "skip-name-resolve", all in the [mysqld] section debian:~# service mysql restart Step 4. Restart the Apache service Reload the PHP configuration by restarting the Apache service. debian:~# service apache2 restart Step 5. Install the Console's database Finish installing the Console by running the /opt/andrisoft/bin/install_console script. Enter the MySQL root password, and provide a new password for the Console's database. debian:~# /opt/andrisoft/bin/install_console Step 6. Configure the Supervisor The WANsupervisor daemon must be installed and started on all systems. You have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password you set on step 5. debian:~# /opt/andrisoft/bin/install_supervisor
debian:~# service WANsupervisor start debian:~# update-rc.d WANsupervisor defaults 99 Step 7. Access the Console The Console web interface is accessible by pointing your web browser to http://<hostname>/wanguard or http://<hostname>/wansight, where <hostname> is the name of the server running the Console. The default username is "admin" with the password "changeme". Step 8. Install InfluxDB It is highly recommended to install influxdb from https://portal.influxdata.com/downloads and to switch the default graphing engine from rrdtool to influxdb. debian:~# wget https://dl.influxdata.com/influxdb/releases/influxdb_1.8.0_amd64.deb
debian:~# dpkg -i ./influxdb_1.8.0_amd64.deb debian:~# cp /etc/influxdb/influxdb.conf /etc/influxdb/influxdb.conf.backup debian:~# cp /opt/andrisoft/etc/influxdb.conf /etc/influxdb/influxdb.conf debian:~# service influxdb restart |
SENSOR INSTALLATION STEPS: |
Step 1. Install the Andrisoft repository Add the repository to APT if it's not already being used. debian:~# apt-get install apt-transport-https wget
debian:~# wget --no-check-certificate -O - https://www.andrisoft.com/andrisoft.gpg.key | apt-key add - debian:~# echo "deb https://www.andrisoft.com/files/debian7 wheezy main" > /etc/apt/sources.list.d/andrisoft.list Step 2. Install the packages Install the wansensor package and dependencies. Configure and start ntpd to prevent clock de-synchronization issues. debian:~# apt-get update debian:~# apt-get install wansensor debian:~# service ntp start debian:~# update-rc.d ntp defaults Step 3. Install, configure and start the Supervisor This step is required if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. debian:~# /opt/andrisoft/bin/install_supervisor debian:~# service WANsupervisor start debian:~# update-rc.d WANsupervisor defaults 99 Step 4. Setup the Sensor Log into the Console to setup the Sensor(s). Sensors are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |
FILTER INSTALLATION STEPS: |
Step 1. Install the Andrisoft repository Add the repository to APT if it's not already being used. debian:~# apt-get install apt-transport-https wget debian:~# wget --no-check-certificate -O - https://www.andrisoft.com/andrisoft.gpg.key | apt-key add - debian:~# echo "deb https://www.andrisoft.com/files/debian7 wheezy main" > /etc/apt/sources.list.d/andrisoft.list Step 2. Install the packages Install the wanfilter package and dependencies. Configure and start ntpd to prevent clock de-synchronization issues. debian:~# apt-get update debian:~# apt-get install wanfilter debian:~# service ntp start debian:~# update-rc.d ntp defaults Step 3. Install, configure and start the Supervisor This step is required if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. debian:~# /opt/andrisoft/bin/install_supervisor debian:~# service WANsupervisor start debian:~# update-rc.d WANsupervisor defaults 99 Step 4. Setup the Filter Log in to the Console to set up Filter(s). Filters are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |