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

    Haproxy / virtual ip

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 4 Posters 4.9k 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.
    • J Offline
      jst
      last edited by

      Hi,

      tnx for pfsense, i'm loving it more & more, having 3 nice 5570xeon based pfsense servers doing a great job.

      Anyone knows if we can use a virtual ip as a HAProxy listner?
      I don't seem to get it working.

      The docs (http://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses%3F)
      say 'Can not be used by the firewall itself but can be forwarded'
      would this include HAProxy?

      tnx in advance,
      have fun!
      jst.

      1 Reply Last reply Reply Quote 0
      • B Offline
        blak111
        last edited by

        Yep, because HAproxy is running as a program on the firewall.

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG Offline
          GruensFroeschli
          last edited by

          Is there anything preventing you from using CARP type VIPs?

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • R Offline
            rkelleyrtp
            last edited by

            You must use a CARP VIP interface to get haproxy working properly on pfSense.  I setup my 3rd pfSense/haProxy install yesterday and definitely had to use a CARP VIP.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jst
              last edited by

              tnx a lot!

              indeed, when using HAProxy with virtual ip the virtual ip type shoud be carp
              this works! great!

              have fun!
              jst.

              1 Reply Last reply Reply Quote 0
              • R Offline
                rkelleyrtp
                last edited by

                NP - glad to help.

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