I need to provide a remote access VPN service. I'd like very much to use JumpCloud.com to do the user database management. I'm trying to achieve the following:
- Provide l2tp+ipsec VPN service to users, hosted on Ubuntu 14.04 on AWS.
- Mac OSX clients seem to limit me to MSCHAPv2 authentication over the ipsec tunnel.
- Authenticate the users who's password is provided using MSCHAPv2 against the database hosted with JumpCloud. Either using LDAP (prefered) or RADIUS.
The problem I hit is basically that pppd for Linux doesn't seem to support all the required protocols:
- pppd 2.4.5 doesn't support LDAP authentication. It has a RADIUS plugin.
- JumpCloud tell me that I must use PEAP in order to authenticate with their RADIUS service.
- From looking at the sources of the pppd package, it doesn't seem to support PEAP.
The closest I found to supporting LDAP for pppd is this repo on github: https://github.com/dkruchinin/pppd-ldap but I'm hitting problems in compiling it.
Has anyone here managed to authenticate pppd users with MSCHAPv2 + LDAP/RADIUS+PEAP?