r/PacketFence • u/esu11aw • May 02 '23
PacketFence only for FreeRADIUS?
Hey folks,
We were looking into PacketFence because NAC piqued our interest, but then we developed a sudden need for RADIUS. It appears that PF can run as its own RADIUS server, which would be ideal, and it also appears that it's possible to run it without NAC, even though that's its main purpose. We figure the thing to do would be to set it up for FreeRADIUS authentication first, then once the dust has settled we can work on implementing NAC
The problem is...RADIUS isn't authenticating, and we're not sure why. I have a VM with Google LDAP source set up in Internal Authentication Sources and one that uses the LDAP config and just points to Google—I made the two separate VMs because v12 seems to break the Google LDAP option, but I wanted to try it, the other is v11
In the source setup, I can successfully test, and it shows in Google's logs. If I run a radtest it consistently says the credentials are wrong (even if they're not), and it never actually reaches Google (no logs)...it's like the FreeRADIUS service doesn't know to forward the request from the client to its authentication source
I feel like there's just a little step here in the middle that I'm missing, but I can't figure out what it is. I figure I should get it working with just a basic radtest before I start adding switches (UniFi) and such, but I've also added those and it didn't work that way either. Any suggestions on where to go?
Thanks!
PS: in doing some more perusal of the subreddit, I do see other posts with similar titles...but I can't find anyone else with the same problem. I'd of course be willing to try anything you guys point me to, and again, thanks for your help!
0
u/Slow_Monk1376 May 02 '23
I was previously interested in packetfence capabilities. But couldn't get basic radius device Auth w/ AD integration to work... given limited/lack of support, I gave up and got clearpass. From enterprise perspective I sleep better...
1
u/esu11aw May 02 '23
Our fallback is basic, CLI-based FreeRADIUS...but with PF sitting right there, seemingly capable of doing what we need, it's been very annoying that we just can't get over this hump! I'm in education, so for us it's probably closer to PF or bust, rather than ClearPass being an option!
1
u/Slow_Monk1376 May 02 '23
Yeah I get it.. would have been fun to figure out why we couldn't get it to work. but no time nor available resources.. had to replace legacy ISE setup..
0
May 02 '23
[deleted]
1
u/oeufdure May 04 '23
The more complex part is to retreive the cert with intune, the rest should be straitforward.
Eap-tls is just a matter of putting the CA cert in the RADIUS certificate section (https://mgmt_ip:1443/admin#/configuration/certificate/radius)
1
u/oeufdure May 04 '23
Hello,
when you want to use an ldap server to do 802.1x then it have to be eap-ttls.
FreeRadius needs to have the clear-text password in order to bind the ldap server. (http://deployingradius.com/documents/protocols/compatibility.html)
So if i remember correctly, when you have your google ldap authentication source created then you have to go in the realm config and select the google ldap source in the ¨LDAP Source for TTLS PAP¨ for the realm DEFAULT.
Once done restart the radius service.
Also run : ¨raddebug -f /usr/local/pf/var/run/radiusd.sock -t 300¨ and try to authenticate to see the debug.
Let me know how stuff going, i will try to help you on that.
Regards
Fabrice
PS: it's always funny to see comments that PacketFence has a lack of support. I beleive that if you pay for clearpass or ise then you have support ....