Friday, December 23, 2011

Config HAPROXY with PFSENSE version 2.0.1


Merry Christmas and Happy New Year





I/Intro

As the previous Document about Haproxy , I have explained how to configure a command line .Now with version 2.0.1 pfsense support config haproxy lastest version(1.4.8) via web interface( config easier).although it can not configure advanced features of haproxy through the web interface.

II/Install

1/Install pfsense 2.0.1
2/Install haproxy (The package is available to install from System -> Packages)
3/After Install done We configure Haproxy(Services -> Haproxy)click tab Setting and configure as image
4/Config with ip info:192.168.44.150(Haproxy),192.168.44.130(apache),192.168.44.131(nginx)

III/Config Haproxy

1/config Frontend for haproxy




2/Config Backend for haproxy

a/config server A

b/config server B

3/Check status HAPROXY with URL:http://192.168.44.150/haproxy?stats

NOTE: You must add a firewall rule permitting access to frontend!

Thanks and Best Regards

quan.hoa@conheotiensinh.co.cc

No comments:

Post a Comment