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

    Services: LoadBalancer (relayd )

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    3 Posts 2 Posters 713 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.
    • E Offline
      effemac
      last edited by

      Hello,
      not sure if this is the correct section to post question about load balancer service .
      I am using a cluster of two pfsense (release 2.3.4) .

      I know load balancing work in inbound direction , virtual server address defined on wan interface , forwarding sessions to internal pool/s.

      Is it possible to do load balancing on the lan side of the pfsense ?
      I have two internal smtp servers, and would like some  devices to use to as smarthost the "balanced" address , to have failover in case of primary smtp maintenance.

      Thanks you
      Federico

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        It is possible but tricky. If the servers are on a different local segment than the clients it would be OK, works the same as if it were remote. Setup the relay VS on the LAN with a VIP and so on.

        If the servers and the clients are in the same subnet, then you have to mask the client address with outbound NAT so the replies return to the correct location. In that case something fancier like haproxy would be a better bet as it's a true proxy.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • E Offline
          effemac
          last edited by

          Thanks jimp for the answer.
          I am gonna investigate haproxy ;-)

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