Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Using PF 2.0 as load-balancer/high-availability only

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tbaror
      last edited by

      Hi All,

      I have been requested to find solution for current situation , there is a need for load-balancer/high-availability for web site only in LAN environment, without the need for firewall and nat.

      my first thought where using LVS(linux virtual server) but i remembered that PF especially ver 2.0 offering a nice load-balancer/high-availability feater but i need to know if its can answer following scenario which is  load-balancer/high-availability for web site only in LAN environment, without the need for firewall and nat , if yes i would prefer using PF.

      If its possible how can it be done in LAN env ?.
      Thanks

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        In general, yes that's doable. How depends on specifics, in typical Internet load balancer scenarios the original source IP is retained and passed onto the internal server, but that may break routing in a LAN environment depending on the location of clients and servers, requiring a different type of config or outbound NAT to translate the source IP (as with the original source IP, the server will probably reply direct back to the client, which will break the TCP connection).

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.