HAProxy Listen Block
-
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!
-
@Giganic
Maybe it becomes more clear if you explain, what you try to achieve exactly. -
@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.
-
@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.