OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • HAProxy 2FA
« previous next »
  • Print
Pages: [1]

Author Topic: HAProxy 2FA  (Read 5776 times)

5k7m4n

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
HAProxy 2FA
« on: July 19, 2020, 06:28:18 pm »
I am currently using 2FA on opnsense and it is working for the webadmin. I am also successfully using HAProxy and Lets Encrypt for external websites.

I am wondering if it is possible to add user and 2fa password authentication to haproxied websites?

I haven't been able to find any examples yet on doing this, and I see that HAproxy plugin has its own users and groups, so I don't know if the 2fa would even work.

Anyone approached this?
Logged

cmdr.adama

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 3
    • View Profile
Re: HAProxy 2FA
« Reply #1 on: July 20, 2020, 04:08:47 pm »
So... Directly with HAProxy... Not really... However you could use something like this https://github.com/authelia/authelia in conjunction with HAProxy.

Here's a guide on how to use it with HAProxy
https://www.authelia.com/docs/deployment/supported-proxies/haproxy.html
« Last Edit: July 20, 2020, 04:19:32 pm by cmdr.adama »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • HAProxy 2FA
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2