HAProxy in front of KWTS [Kaspersky Web Traffic Security]
To use HAProxy as a load balancer in front of KWTS (iso installation and built-in proxy used) we recommend the following:
-
HAProxy configuration:
globallog127.0.0.1local2chroot /var/lib/haproxypidfile /var/run/haproxy.pidmaxconn4000user haproxygroup haproxydaemonstats socket /var/lib/haproxy/statsdefaultsmode tcplog globalretries3timeout queue 1mtimeout connect 10stimeout client 1mtimeout server 1mtimeout check 10smaxconn30000frontend kwts_proxybind *:3128mode tcpdefault_backend kwts_proxy_poolbackend kwts_proxy_poolbalance leastconnmode tcpserver kwts_node110.10.1.42:3128check send-proxyserver kwts_node210.10.1.43:3128check send-proxywhere 10.10.1.42 and 10.10.1.43 are KWTS IP addresses;
3128 is the port where KWTS built-in proxy is listening (Settings → Built-in proxy server → Common → Port);
8080 is the port of the load balancer. - Configure KWTS to use PROXY protocol header (Settings → Built-in proxy server → Common → Load balancing → Mode);
- Make sure HAProxy IP address is in trusted list on KWTS (Settings → Built-in proxy server → Common → Load balancing → Trusted load balancers);
- If Kerberos proxy authentication is used, make sure keytab contains SPN record of FQDN address of the load balancer;
- Make sure that browser is configured to use FQDN and port of load balancer.
0 Comments
Recommended Comments
There are no comments to display.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now