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

    Single domain ip for CIFS to multiple backend domain ip in pfsense with HAPROXY

    HA/CARP/VIPs
    1
    1
    120
    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.
    • W
      wakson005
      last edited by wakson005

      Hello All,

      Always appreciate all the forum help here. I use haproxy to load balance before just not for this specific condition. I might be missing something on the frontend but can't figure what setting I still need.

      Summary:

      domain name:
      localstorage.local
      10.0.100.10

      load balance to:
      10.0.100.11 thru 10.0.100.16

      I am trying to set the following up so a single domain ip can be used and load balance to multiple cifs storage server on the network.
      localstorage.local (IP = 10.0.100.10) set by resolver so the ip and domain is correlated locally.
      Next I would like that to be a VIP=10.0.100.10 so i did the following:
      1a354a32-fe99-4e40-b087-0f8bbd66163a-image.png

      After that I set the backend to 6 ip listed 10.0.100.11 thru 10.0.100.16:
      a7c8072a-9a53-43e4-8961-3ca22b01ed37-image.png

      Think backend is working fine but frontend seem to not redirect properly. As i see all the backend all showing up on port 445 on HAPROXY status page. The frontend is not working when I use the "\localstorage.local" in windows to connect and it doesn't work at all. When pinging i do get a reply on "localstorage.local" but that's it. I can connect to all the 6 ip without issue with "\10.0.100.11". I figure the setup on the frontend is incorrect.

      be4dbdfb-9a4c-46b9-9a2f-d33b22d93855-image.png

      Frontend:
      0993fbeb-d030-49df-8f8d-a69e1be8a528-image.png

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