Understanding Pfsense Load Balancer



  • Hello everyone  ::)

    I would like to understand how does Pfsense LoadBalancer works coz I have tried to set it up but the virtual server IP didn't work for me. I normally use KEMP Load Balancer which turns the Virtual Server/Service IP to a live IP that you can ping, telnet ..etc

    however in the case of Pfsense LB this sounds as if its not the same … I don't know how does the Virtual IP needs to be set?

    I'd appreciate any thoughts.
    Thanks
    M


  • Rebel Alliance Developer Netgate

    It works basically like a fancy port forward. It works entirely in NAT, so the same advice that applies to port forward troubleshooting also applies to the load balancer.

    http://doc.pfsense.org/index.php/Port_Forward_Troubleshooting



  • Also, if you are configuring your firewall rules to permit 'icmp' to 'wan address' it's not going to work because the VIP is not the wan address.  You'll need to specify the VIP directly, or create an alias which includes your wan address and vip address, and permit icmp to the alias.

    -ct


  • Banned

    @cthomas:

    You'll need to specify the VIP directly, or create an alias which includes your wan address and vip address, and permit icmp to the alias.

    … or just make it floating? :D



  • @doktornotor:

    @cthomas:

    You'll need to specify the VIP directly, or create an alias which includes your wan address and vip address, and permit icmp to the alias.

    … or just make it floating? :D

    I have not worked much with the Floating Rules yet, can you elaborate on this setup?