Hello everyone.
I’m trying to set up a lab with Remote Access authentication scheme where a user will enter his credentials as exist in Active Directory, and then use google authenticator for the second factor.
First, I set up AD on SmartConsole and tested the Endpoint Client with only AD auth. It works fine.
Then I set up FreeRADIUS on a linux machine so that I can use google-authenticator-libpam in the next step (where I haven’t arrived yet). I configured FreeRADIUS to authenticate against AD. Then I checked if it works using the command:
radtest username password localhost 0 testing123
This command returns Access-Accept and I can see the traffic between FreeRADIUS and AD in fw monitor output on port 389. All looked OK.
After making sure that authentication against AD works, I went further and created the RADIUS server on SmartConsole, selected NEW-RADIUS that uses port 1812 as service, and defined it as authentication method under VPN Clients in gateway properties.
Right at this point I go to the Endpoint Client machine and try to connect. No matter what I try I get “Access denied - wrong username or password”. I made sure that there are necessary access rules and also observed traffic during the connection attempt. I definitely see that the GW sends packets on port 1812 to FreeRADIUS, and FreeRADIUS sends packets to AD on port 389.
I know for a fact that the username and password is correct. I triple checked. So I’m confused as to why I’m getting that error when trying to connect. I can’t even move further to google-auth because I’m stuck at this step.
I’d love to receive your recommendations for how to fix this. It feels like I’m missing something somewhere, but can’t put my finger on it. This is a lab, so I can share all the information you may ask.
Cheers!