sudo apt-get install pptpd
2:
sudo nano /etc/pptpd.conf
3: Add server IP and client IP at the end of the file. You can add like below:
localip 192.168.2.100 remoteip 192.168.2.101-200
localip is the ip address of the server in the network and remoteip is the range you specify for vpn clients to join your network.