Pfsense: Inbound Load Balancing https with sticky connection

5,765

What you want to do is install a more traditional load-balancing software such as HAProxy(it is a package in pfSense or can be a separate server). There you should be able to configure sticky sessions.

Share:
5,765

Related videos on Youtube

Zeux
Author by

Zeux

Updated on September 18, 2022

Comments

  • Zeux
    Zeux over 1 year

    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...