Add server IP and client IP at the end of the file. You can add like below:

1

2

localip192.168.67.1

remoteip192.168.67.100-200

This sets up the PPTP server to use IP 192.168.67.1 while distributing the IP range 192.168.67.100 to 192.168.67.200 to PPTP clients. Change these as you wish as long as they are private IP addresses and do not conflict with IP addresses already used by your server.

Make sure you have already installed following packages on your server.

Shell

1

2

3

4

5

6

7

8

9

10

11

12

13

yum install gcc

yum install make

yum install openssl-devel

yum install apr-devel

yum install wget

yum install expat-devel

Yum install pcre-devel

Then, we will choose the latest version from Apache website. and download it.

If you are using this article on CentOS 7, the APR version on yum won’t work for you, and you should compile the apr, and apr-util from source, so please remove it from your server if you installed it via yum, `and try following: