Download Exploitation documentation - FusionForge de l`ADULLACT

Transcript
7.8. Managing multiple Internet connections (load balancing)
ALCASAR has a script to distribute requests over a number of gateways to the Internet "alcasarload_balancing.sh start | stop | status".
The parameters are not included in the ACC, it is necessary to modify the global configuration file "alcasar.conf"
located under "/ usr / local / etc".
Associated parameters (virtual networks card, weights, gateway ip address, etc.) must be defined in the
following format: WANx = "active [1 | 0], @ IPx / mask, GWx, Weight, MTUX".
The script creates the interfaces on the fly.
To make it active, the parameter “MULTIWAN” must include the "on" or "On" value; otherwise insert the "Off"
value to enable the "single gateway" mode.
The connection test frequecny is set by default to 30 sec.
Please note:
The parameter "FAILOVER=0" enables the MULTIWAN mode with no connection test to the gateways (no
gateway failure detection).
7.9. Creating an ALCASAR dedicated PC
This chapter presents an example of a dedicated PC ALCASAR (appliance) whose constraints are : miniature
(mini-itx), low noise, low cost and low energy consumption.
The configuration is the following :
•
Case mini ITX (12V powerline);
•
motherboard GigaByte GA-J1900N-D3V (two network cards and Intel 4-core Celeron);
•
4GB of DDR3 SODIMM memory;
•
HDD 2.5' 200GB SATA.
SSD
Memory : 4GB of DDR3
The cost of this configuration is around 250 € (shipping included).
The consumption of this mini-PC is not more then 30W; the cost of the annual electricity consumption in
France is about 30€ (30 * 24 * 365/1000 * 0.1329).
ALCASAR is installed via a USB drive as usual.
Once deployed, the unit requires no keyboard, no mouse and no screen.
7.10. Bypassing the portal
For reasons of maintenance or emergency, a portal by-pass procedure was created.
It disables user authentication and filtering.
Logging network activity remains active.
Network event logging remains active, but ALCASAR does not trace internet connections anymore.
•
Bypass the portal by running the script « alcasar-bypass.sh --on ».
•
To stop it, run the script « alcasar-bypass.sh --off ».
Please note:
Bypass mode is no longer active after restarting the server.
User manual
ALCASAR – 2.9
28/37