rpm -e rp-pppoe-3.5-32.1
rpm -e wvdial-1.54.0-5.2.2.1.i386
rpm -e --nodeps ppp-2.4.4-1.el5
################################################################
tar zxvf ppp-2.4.3.tar.gz
cd ppp-2.4.3
./configure
make
make install
cp /usr/local/sbin/pppd /usr/sbin/
tar zxvf pptpd-1.3.4.tar.gz
cd pptpd-1.3.4
./configure
make
make install
cd samples/
cp pptpd.conf /etc/
cp options.pptpd /etc/ppp/
cp chap-secrets /etc/ppp/
mkdir -p /usr/lib/pptpd
cp ./plugins/pptpd-logwtmp.so /usr/lib/pptpd/
##############################################################
vi /etc/pptpd.conf
localip 10.0.0.1
remoteip 10.0.0.20-200
netmask 255.0.0.0
--------------------------------------------------------------
vi /etc/ppp/options.pptpd
ms-dns 8.8.8.8
--------------------------------------------------------------
vi /etc/ppp/chap-secrets
test pptpd test *
----------------------------------------------------------------
echo "daemon.debug /var/log/pptpd.log" >> /etc/syslog.conf
----------------------------------------------------------------
/usr/local/sbin/pptpd 本文出自 “Mark's Blog” 博客,请务必保留此出处http://freeloop.blog.51cto.com/120275/702118
|