CentOS5.1上安装pptpd VPN

# yum install ppp

# vim /etc/yum.repos.d/Doylenet.repo

[doylenet]
name=Doylenet custom repository for CentOS
baseurl=http://files.doylenet.net/linux/yum/centos/5/i386/doylenet/
gpgcheck=1
gpgkey=http://files.doylenet.net/linux/yum/centos/RPM-GPG-KEY-rdoyle
enabled=1

# yum update
# yum install pptpd
# vim /etc/pptpd.conf
localip 10.0.0.2
remoteip 10.0.0.200-220

# vim /etc/ppp/chap-secrets
username * password *

# /etc/init.d/pptpd start

在windows上拨号,搞定