Authenticate locally then proxy
Hi, I'm wondering if I can authenticate users locally and then proxy the request. I'm hoping to authenticate the user on both servers, and if both can, then reply with Access-Accept. I've been searching around and It seems like it's only possible in version 4 because of the way versions up to 3 do proxying. Am I wrong? I'm hoping that it's possible somehow using unlang in version 3. The reason for doing this is I want to continue authenticating users locally (AD as users db) and then proxy the request for MFA/2FA push notifications. Kær kveðja / best regards Júlíus Þór Ríkarðsson Kær kveðja / Best regards Júlíus Þór Bess Ríkharðsson Sérfræðingur / Networking Expert Net- og samskiptalausnir / Network and telecommunication julius.bess@origo.is / www.origo.is Tel.: +354 516 1000 Fyrirvari / Disclaimersig1
On Jun 22, 2020, at 10:22 AM, Júlíus Þór Bess Ríkharðsson <julius.bess@origo.is> wrote:
I'm wondering if I can authenticate users locally and then proxy the request. I'm hoping to authenticate the user on both servers, and if both can, then reply with Access-Accept.
The answer is "it depends". For EAP? No. For PAP? Probably. MS-CHAP? Likely not.
I've been searching around and It seems like it's only possible in version 4 because of the way versions up to 3 do proxying. Am I wrong?
It's certainly a lot easier in v4. i.e. pretty much trivial.
I'm hoping that it's possible somehow using unlang in version 3.
The reason for doing this is I want to continue authenticating users locally (AD as users db) and then proxy the request for MFA/2FA push notifications.
Is the server receiving User-Password attributes? If so, it should be relatively simple. Otherwise, it may be a lot more difficult. Alan DeKok.
participants (2)
-
Alan DeKok -
Júlíus Þór Bess Ríkharðsson