Implementing PEAP/MSCHAP-v2 at an application level

Scott Neugroschl scott_n at
Thu Apr 8 00:05:31 CEST 2021

Hi all,

I've had a request to implement a PEAP/MSCHAP-v2 RADIUS client.   I've been looking at FreeRADIUS and radcli libraries.

My understanding is that PEAP and EAP are MAC level protocols, as opposed to Layer 3 or higher.  Is this correct?   My problem is that the supplicant is a wired connection that already has an IP address.

Are there suggestions for how one would go about implementing this?  Or would you recommend using something like stunnel at both ends, and then just implementing the MSCHAPv2 RADIUS protocol using that tunnel?

Scott Neugroschl | XYPRO Technology Corporation
4100 Guardian Street | Suite 100 |Simi Valley, CA 93063 | Phone 805 583-2874|Fax 805 583-0124 |

More information about the Freeradius-Users mailing list