I/Intro
Monday, August 23, 2010
Query Recipient Windows Active Directory directly
I/Intro
Friday, August 20, 2010
Config Mail Gateway LINUX less than 5 minutes (Anti-spam, Mail Anti-virus,Greylisting).
Friday, August 13, 2010
Config cluster Load balancer layer 7 support SSL with Heatbeat,Nginx and Haproxy
Friday, August 6, 2010
LOADBALANCE WITH MULTI PPPoE INTERFACE IN PFSENSE 2.0
Tuesday, June 1, 2010
Setting Up A High-Availability Load Balancer HTTPS(With Failover and Session Support) With HAProxy/Keepalived/Stunnel
Friday, May 14, 2010
Setting Up A High-Availability Load Balancer(With Failover and Session Support) With HAProxy/Keepalived
For this howto I set up four Centos systems (minimal installation without gui etc.) with the following configuration:
Load Balancer 1
IP: 192.168.236.128(eth0) and 192.168.127.128(eth1) Shared IP: 192.168.236.130
Load Balancer 2
IP: 192.168.236.129 192.168.127.129(eth1) Shared IP: 192.168.236.130
Web Server 1
IP: 192.168.127.130
Web Server 2
IP: 192.168.127.132
Tuesday, April 6, 2010
Deploy iptables Cluster using Fwbuilder and Heartbeat
Firewall Builder is packaged with most Linux distributions. If the package is not available in the base distribution, it usually can be found in "extras". You need to install package that has supporting API library libfwbuilder and package fwbuilder that contains Firewall Builder GUI and policy compilers. You can use your favorite package management tool sucn as yum, apt-get or aptitude to find and install them. On FreeBSD and OpenBSD Firewall Builder is part of ports, you can find it in /usr/ports/security/fwbuilder. Now The new version comes with support for high availability firewall configurations, including heartbeat, vrrpd, keepalived, conntrackd on Linux, CARP and pfsync on OpenBSD and PIX failover configuration. It can generate configuration scripts to manage ip addresses, VLAN, bridge and bonding interfaces on the firewall. Drop-in support for OpenWRT firewall script is now available, as well as experimental integration with IPCOP firewall appliances. The GUI has supports undo/redo of unlimited depth and was generally streamlined and has many other improvements.you can prefer:http://www.fwbuilder.org/
2/Install
Step 1:config IP for 2 firewall as image
Step 2:install heartbeat
yum -y install heartbeat
Step 3:copy file configure default.It's necessary to do this on both systems
cp /usr/share/doc/heartbeat-2.1.3/authkeys /etc/ha.d/authkeys
cp /usr/share/doc/heartbeat-2.1.3/ ha.cf etc/ha.d/ha.cf
cp /usr/share/doc/heartbeat-2.1.3/haresources etc/ha.d/haresources
Step 4 :Edit /etc/ha.d/authkeys It's necessary to do this on both systems
auth 3
Step 5:edit etc/ha.d/ha.cf.It's necessary to do this on both systems
keepalive 2 #line 52
deadtime 10 # line 60
mcast eth0 225.0.0.1 694 1 0 #line 117
mcast eth1 225.0.0.1 694 1 0 #line 118
step 6:edit etc/ha.d/haresources
fw1.test.vn IPaddr::192.168.10.145/24/eth0/192.168.10.255
fw1.test.vn IPaddr::172.16.1.3/16/eth1/172.16.255.255
shutdown fw1 test again
start fw1 test again
beside you can use vrrp,carp.... for cluster.
if you need file template for config .Please send mail to quan.hoa@conheotiensinh.co.cc.I Will send it to you
Thanks