In the previous part, we have configured XL2TP
Using freeradius for authentication
Here I am going to consider that the freeradius server is set up correctly, meaning that you can already authenticate your users with freeradius using radtest utility.
In order to get ppp to use freeradius, we need to install libradius1:
# apt-get install libradius1
No we need to set up the server we use in /etc/radiusclient/servers. Here we use the default password on localhost:
and finally, we tell ppp to use the radius plugin by adding at the end of /etc/xl2tpd/ppp-options.xl2tpd :
And that should be it!