yum install -y ppp pptp pptp-setup
pptpsetup --create your-vpn-name --server your-vpn-server-ip --username your-username --password your-password --encrypt --start
Using interface ppp0 Connect: ppp0 <--> /dev/pts/2 CHAP authentication succeeded MPPE 128-bit stateless compression enabled local IP address 192.168.1.98 remote IP address 192.168.1.254
#ip addr 8: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1448 qdisc pfifo_fast state UNKNOWN group default qlen 3 link/ppp inet 192.168.1.98 peer 192.168.1.254/32 scope global ppp0 valid_lft forever preferred_lft forever
route add default dev ppp0
pkill pptp