Pfsense: Inbound Load Balancing https with sticky connection
Posted
by
Zeux
on Server Fault
See other posts from Server Fault
or by Zeux
Published on 2012-04-19T06:21:09Z
Indexed on
2012/11/17
5:03 UTC
Read the original article
Hit count: 547
first of all I'm very sorry for my English...
This is my scenario:
Internet
Firewall+LB: pfsense_1(Active) + pfsense_2(Passive) in CARP
Pool servers: 3 x nginx(PHP5+HTTP+HTTPS)
Pfsense 1 and 2 CARP configured with Virtual IP (pubblic). Nginx servers's ips are all private.
I want to load balance inbound HTTP and HTTPS connections between the 3 nginx web servers. An importat thing is that the HTTPS connections must be "sticky connections": in HTTPS connections, after login by username and password, I setup a php session and therefore when a client starts a HTTPS connection it will be always redirected to the same nginx server, until it disconnects itself, it closes the page/browser or after a timeout (30minutes?) without activity. Is this possible whit the last release(2.0.1) of pfsense?
thank you very much...
© Server Fault or respective owner