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

    HAProxy Listen Block

    Scheduled Pinned Locked Moved Cache/Proxy
    4 Posts 2 Posters 403 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.
    • G
      Giganic
      last edited by

      Hey,

      I'm hoping someone will be able to assist with my query. I'm trying to get Authentik working, however due to a limitation with the haproxy-auth-request lua script I need to create another listen block, which I cannot seem to be able to.

      I have tried searching a fair bit before creating this post, am seeking help as I've run out of options of what to try.

      This is the configuration lines that I'm looking to add somehow through the pfsense GUI.

      backend auth_request_backend
        mode http  
        server proxy 127.0.0.1:8080
      
      listen auth_request_proxy
        mode http
        bind 127.0.0.1:8080
      
        server example example.com:443 ssl
      

      Grateful for any advice or information that can be shared with how I can accomplish this.

      Thank you!

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @Giganic
        last edited by

        @Giganic
        Maybe it becomes more clear if you explain, what you try to achieve exactly.

        G 1 Reply Last reply Reply Quote 0
        • G
          Giganic @viragomann
          last edited by

          @viragomann I would like to be able to authenticate a few services using a Forward auth provider in Authentik, since a number of applications I am hosting don't provide any form of authentication natively.

          I wasn't trying to dig too deep since based on the research I've done, if I can add a secondary listen block it should resolve my problem, but happy to hear if there is an alternative.

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @Giganic
            last edited by

            @Giganic
            I'm sadly not familiar with Authentik, so I don't know another way.

            I'd think, that there isn't any possibility to add an additional listen section to the HAproxy configuration in pfSense. All settings are generated from the GUI and there is no option for doing that.

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