yum install -y pptp-setup pptpsetup --create vpn1 --server 地址 --username xxx --password xxx vim /etc/ppp/peers/vpn1 require-mppe-128 refuse-pap refuse-chap refuse-eap refuse-mschap cp /usr/share/doc/ppp-2.4.5/scripts/poff /usr/sbin/ cp /usr/share/doc/ppp-2.4.5/scripts/pon /usr/sbin/ chmod +x /usr/sbin/pon /usr/sbin/poff pon vpn1 route add -net 0.0.0.0 dev ppp0
CentOS 拨PPTP服务
Categories: