You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

2 Factor Authentication?

Im currently looking for a solution to make my mac VPN server support 2 factor quthentication. Anyone got ideas?


Preferbly something open source or cheap as I am a small company.

Mac mini, OS X Server

Posted on Apr 22, 2013 7:22 AM

Reply
4 replies

Nov 4, 2014 5:45 AM in response to justin105

Arguably using a username/password and the pre-shared-key counts (just about) as two factors but I would agree this is generally regarded as inadequate. The next step up normally is to use an SSL certificate and again the username/password however Apple's VPN server does not support using certificates. I have successfully setup StrongSwan5 in a Linux VM and connected it via LDAP to Open Directory and been able to do SSL certificate authentication and username/password to Open Directory accounts. StrongSwan uses a PAM to do the LDAP authentication.


If you want to use something like a hardware token then most of these will require using commercial solutions as they require support at both the client end and the server end, e.g. RSA SecurID.


Have a look at this https://developers.yubico.com/yubico-pam/ it implements a PAM module that can authenticate users using a Yubikey, see also https://www.yubico.com/products/yubikey-hardware/ in theory you could use this with Strongswan.

2 Factor Authentication?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.