Install pptp and radius on lenny

1,install all packages
#apt-get install pptpd freeradius radiusclient1

2,configure pptp
#vim /etc/pptpd.conf


#vim /etc/ppp/pptpd-options

plugin /usr/lib/pppd/2.4.4/
radius-config-file /etc/radiusclient/radiusclient.conf

3,configure radius
#vim /etc/freeradius/client.conf

client {
 secret  = mysecret
 nastype     = other

#vim /etc/freeradius/users

myusername Cleartext-Password := “mypassword”
 Service-Type = Framed-User,
 Framed-Protocol = PPP,
 Framed-IP-Address =,
 Framed-IP-Netmask =,
 Framed-Routing = Broadcast-Listen,
 Framed-Filter-Id = “std.ppp”,
 Framed-MTU = 1500,
 Framed-Compression = Van-Jacobsen-TCP-IP
4,configure radclient
#vim /etc/radiusclient           mysecret
#vim /etc/radiusclient/

add content from

#vim /etc/radiusclient/dictionary

INCLUDE /etc/radiusclient/
INCLUDE /etc/radiusclient/dictionary.merit
5,test radius
#radtest myusername mypassword 0 mysecret

6,if OS not exist /dev/ppp device,creat it
#mknod /dev/ppp c 108 0

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.