Ubuntu Dapper / Edgy

Install OpenVPN

apt-get install openvpn

Install PAM Radius authentication module

apt-get install libpam-radius-auth

Link the OpenVPN radius plugin to the PAM module folder

ln -s /usr/lib/openvpn/openvpn-auth-pam.so /lib/security

Create the PAM configuration file for OpenVPN

#/etc/pam.d/openvpn
#%PAM-1.0
auth sufficient pam_radius_auth.so debug
account sufficient pam_permit.so
session sufficient pam_permit.so

Create the OpenVPN configuration and add the call to the Radius plugin

#/etc/openvpn/server.conf
plugin /lib/security/openvpn-auth-pam.so openvpn

Add server information to the Radius config file

#/etc/pam_radius_auth.conf
{server-ip-address} {shared-secret}

Configure the “Internet Authentication Service (IAS)” on your windows server.
(configuration guide soon)