vpn server : vpn.mybox.tw
username: user001
password: p@ssw0rd
1. yum -y install pptp
2. edit /etc/ppp/chap-secrets
user001 PPTP p@ssw0rd *
3. vi /etc/ppp/peers/vpn.mybox.tw
pty "pptp vpn.mybox.tw --nolaunchpppd"
name user001
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam vpn.myserver.org
4. modprobe ppp_mppe
5. review /etc/ppp/options.pptp
lock
noauth
refuse-pap
refuse-eap
refuse-chap
nobsdcomp
nodeflate
require-mppe-128
6. connect to vpn server
pppd call vpn.mybox.tw
7. check logs , /var/log/messages
8. check ifconfig and route
9. disconnect
killall pppd
文章標籤
全站熱搜
留言列表