HAProxy example

Publié le

Here is my config: global         log /dev/log    local0         log /dev/log    local1 notice         chroot /var/lib/haproxy         stats socket /run/haproxy/admin.sock mode 660 level admin         stats timeout   30s         maxconn       … Lire la suite HAProxy example

Squid transparent AD authentication

Publié le

This article describes how to make transparent squid authentication against active directory. Prerequisite: your linux box has joined the domaine, see article: Debian active directory authentication Just remember to check your DNS config in resolv.conf: domain unknown.local search unknown.local nameserver 10.10.22.30 nameserver 10.10.22.100 Make a reverse check with # dig -x <nameserver ip> Ensute time … Lire la suite Squid transparent AD authentication

iproute2 multiple gateway

Publié le

Workstation has ip 172.16.11.12 and gateway 172.16.11.254 Linux router has 4 nics with the following IP: 172.16.11.254 eth1 172.16.22.254 eth2 100.64.0.254 eth3 195.101.99.99 eth0 The default gw to reach internet is 195.101.99.99 Internet can also be reache through 100.64.0.254 All the traffic coming to the linux router uses the default gw 195.101.99.99 eth0 to reach … Lire la suite iproute2 multiple gateway