Monthly Archives: September 2014

VPN PPTP Client

yum install pptp
vi /etc/ppp/chap-secrets
my_username vpn.linux4yyou.tk “my_password” *
[username][space][server name][space][password][space][ip address allowed]

vi /etc/ppp/peers/vpn.linux4yyou.tk
pty “pptp vpn.linux4yyou.tk –nolaunchpppd”
name my_username
remotename vpn.linux4yyou.tk
require-mppe-128
file /etc/ppp/options.pptp
ipparam vpn.linux4yyou.tk

modprobe ppp_mppe

vi /etc/ppp/options.pptp
lock
noauth
refuse-pap
refuse-eap
refuse-chap
nobsdcomp
nodeflate
require-mppe-128

pppd call vpn.linux4yyou.tk

ip a | grep ppp
tail -f /var/log/message | grep ppp