Inbound Load Balancing https with sticky connection



  • Hi to everybody,

    first of all I'm very sorry for my English…

    This is my scenario:

    Internet
                                                                      |
                                                                      |
                pfsense_1Firewall+LB + pfsense_2Firewall+LB
                                                                      |
                                                                      |
    nginx_1(PHP5 HTTP+HTTPS) +  nginx_2(PHP5 HPPT+HTTPS) + nginx_3(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 of pfsense?

    thank you very much…



  • Help me, please….


Log in to reply