How-To: Set up a L2TP over IPSec VPN using a Radius backend — page 3
Posted by chantra on June 18th, 2010
- How-To: Set up a L2TP over IPSec VPN using a Radius backend
- How-To: Set up a L2TP over IPSec VPN using a Radius backend — page 2
- How-To: Set up a L2TP over IPSec VPN using a Radius backend — page 3
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:
localhost testing123
and finally, we tell ppp to use the radius plugin by adding at the end of /etc/xl2tpd/ppp-options.xl2tpd :
plugin radius.so
And that should be it!


