Hi Technet
From a long term project we have developped a more or less RFC 2865 compliant RADIUS Server. It supports challenge/response in order to check an OTP sent by text message. For any RADIUS capable client (e.g. firewalls, SSL VPN, Direct Access) we may use our
RADIUS Server to protect those appliances with a 2FA/MFA.
Now we would like to test our RADIUS Server with RDS 2012 R2.
We have set up a Demo LAB with a DC and a member server holding all the RDS roles (RD Web Access, Connection Brocker RD Session Host, RD Gateway). This setup works as expected.
There are a lot of partly documentations about NPS and RADIUS and RD Gateway Manager and RADIUS. But there is no how to implement a custom RADIUS Server.
So: which steps do we need to protect the RD Gateway with our RADIUS Server?
And it does look like our RADIUS Server does not respond correctly to the NPS request:
This is what we receive:
Code : 1 Access-Request
Identifier: 28
Length : 156
------------------------------------------
1 User-Name : lab\user1
6 Service-Type : 12
26 Vendor-Specific : Vendor-ID: 311 (Microsoft)
Data: 2F 06 00 00 00 01
30 Called-Station-Id : UserAuthType:PW
33 Proxy-State : ?? ?2??+??
61 NAS-Port-Type : 5 Virtual
80 Message-Authenticator : 3F 13 3F 3F 3F 56 3F 01 3F 3F 25 2A
------------------------------------------
And what we respond:
Code : 2 Access-Accept
Identifier: 28
Length : 40
------------------------------------------
18 Reply-Message : Welcome lab\user1
------------------------------------------
For every Firewall, Appliance, Direct Access, Citrix NetScaler our response works. But why won't it work with RD Gateway? It is resending its Access-Request 5 times and we are responding always with Access-Accept. But no Access to the RDP.
BTW: We have no information about RADIUS Service Type 12. RFC 2865 has values from 1-11, but MS RD Gateway sends 12?
Any Ideas?