Linux as a PPTP VPN Client - Configuration - CentOS,Fedora
# rpm -Uvh pptp-1.7.2-17.fc19.x86_64.rpm pptp-setup-1.7.2-17.fc19.x86_64.rpm
# vi /etc/ppp/chap-secrets
1
2
3
# Secrets for authentication using CHAP
# client server secret IP addresses
user1 PPTP password123 *
# vi /etc/ppp/peers/vpnoffice
1
2
3
4
5
6
7
pty "pptp myoffice1.dtdns.net --nolaunchpppd"
name user1
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam vpnoffice
1
# pppd call vpnoffice
# tail -f /var/log/messages
1
2
3
4
5
Aug 14 11:05:39 localhost pppd[7957]: CHAP authentication succeeded
Aug 14 11:05:39 localhost kernel: [69644.839818] PPP MPPE Compression module registered
Aug 14 11:05:39 localhost pppd[7957]: MPPE 128-bit stateless compression enabled
Aug 14 11:05:39 localhost pppd[7957]: local IP address 192.168.1.205
Aug 14 11:05:39 localhost pppd[7957]: remote IP address 192.168.1.1
# sudo route add default dev ppp0
This post is licensed under CC BY 4.0 by the author.