Note: This configuration will also change your default route to the VPN. Now you only need start the pppd daemon with the following command and that’s it. These settings include the VPN server address, account name, and any authentication settings, such as a password or a certificate you received from the network administrator. This file will contain the configuration that pppd daemon will reference and try to connect. To connect to a virtual private network (VPN), you need to enter configuration settings in Network preferences. The procedure is quite simple, you first need to create a file in /etc/ppp/peers with a name that represent your domain, or company, so in my case I will call it. It’s based on my own configuration ( MPPE-128), so you might have to adapt it to your need. The following procedure will show how you can create a PPTP VPN on macOS Sierra.
I know that PPTP VPN has become outdated and is less secure than other protocols, but in a corporate world you sometimes don’t have a choice.
Apple stopped the support for it’s builtin PPTP VPN client on macOS Sierra, but they kept their libraries, so it’s still possible to create a PPTP VPN connection over command line without using any 3rd party clients, like FlowVPN or Shimo.