PoPToP Daemon in the Year 2024: Difference between revisions

mNo edit summary
mNo edit summary
Line 25: Line 25:
**After the above Configuration Files are done
**After the above Configuration Files are done
***systemctl enable pptpd
***systemctl enable pptpd
***...before starting the PPTPD Service;
****By default, when compiling the PPTPD from source, the pptpd binary file will be located here: /usr/local/sbin/pptpd, not in the 'usual RPM location' of : /usr/sbin/pptpd, so;
*****ln -s /usr/local/sbin/pptpd /usr/sbin/pptpd (this will keep things as simple as possible if recompiling PPTPD, unlikely for many reasons including the fact the version 1.4.0 is 11 years old as of 2024, but just in case, do it this way)
***systemctl start pptpd
***systemctl start pptpd
**Issues or Errors?
**Issues or Errors?
***Enable "debug" in  
***Enable "debug" in
***Check /var/log/messages
***Check /var/log/messages
**Do additional stuff if desired;
**Do additional stuff if desired;
Line 184: Line 187:
#remoteip 192.168.1.234-238,192.168.1.245
#remoteip 192.168.1.234-238,192.168.1.245


</syntaxhighlight>For options.pptp, sometimes options.pptpd (in /etc/ppp)<syntaxhighlight lang="text">
</syntaxhighlight>For options.pptp, sometimes options.pptpd (in /etc/ppp): REMEMBER: For some reason, either because of the compiled PPTPD binary or the PPP RPM that comes with modern versions of Linux, the options.pptpd or options.pptp File is completely ignored, so, put the below options into /etc/ppp/options;<syntaxhighlight lang="text">
###############################################################################
###############################################################################
# $Id: options.pptpd,v 1.11 2005/12/29 01:21:09 quozl Exp $
# $Id: options.pptpd,v 1.11 2005/12/29 01:21:09 quozl Exp $