PPTP Cheatsheet
pptp
尽管在运营商网络中限制较多,但仍不失为一个简单方便的vpn手段。下面是我的学习笔记。
客户端
http://pptpclient.sourceforge.net/howto-diagnosis.phtml#lcp_timeout
安装
yum install pptp modprobe nf_conntrack_pptp echo 'guest02 PPTP <password> *' >> /etc/ppp/chap-secrets vi /etc/ppp/peers/linuxconfig
pty "pptp 183.239.170.26 --nolaunchpppd" name guest02 remotename PPTP require-mppe-128 file /etc/ppp/options.pptp ipparam linuxconfig
启动
pppd call linuxconfig ip a s tail -f /var/log/messages
route add -net 192.168.0.0/16 dev ppp0
停止
killall pppd