Configure pptp-client with static IP on Centos 7
/etc/sysconfig/network-scripts/ifcfg-pptpserver ONBOOT=yes USERCTL=yes TYPE=Modem PEERDNS=no DEVICE=ppp0 /etc/ppp/peers/pptpserver #pty "pptp 31.31.31.31 --nolaunchpppd" name site #require-mppe-128 #persist holdoff 10 maxfail 0 lcp-echo-interval 15 lcp-echo-failure 4 pty "/usr/sbin/pptp 31.31.31.31 --nolaunchpppd" #usepeerdns nodefaultroute persist holdoff 30 noauth file /etc/ppp/options.pptp /etc/ppp/option.pptp ############################################################################### # $Id: options.pptp,v 1.3 2006/03/26 23:11:05 quozl Exp $ # # Sample PPTP PPP options file /etc/ppp/options.pptp # Options used by PPP when a connection is made by a PPTP client. # This file can be referred to by an /etc/ppp/peers file for the tunnel. # Changes are effective on the next connection. See "man pppd". # # You are expected to change this file to suit your system. As # packaged, it requires PPP 2.4.2 or later from htt...