PPTPD(8)

πŸ’– PPTPD(8) β€” the System Manager's Manual glow-up πŸ’–

okay bestie, sit down, hydrate, and let me tell you about pptpd β€” it's the Poptop PPTP daemon, and it's literally the main character of tunnelled VPN life. It manages tunnelled PPP connections encapsulated in GRE using the PPTP VPN protocol. ✨

And depending on how it got compiled, it may also contain features like IP address management and TCP wrappers β€” if they were compiled in. No promises, just vibes and build flags. 🫢


🌸 SYNOPSIS 🌸

pptpd [ options ]

that's it. that's the whole thing. a daemon and its options, slaying. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So pptpd is the Poptop PPTP daemon (yes, "Poptop", iconic name, no notes). It manages tunnelled PPP connections that are encapsulated in GRE using the PPTP VPN protocol. πŸŽ€

If it was compiled with them, it may contain features like IP address management and TCP wrappers. iykyk. 🌈


✨ OPTIONS ✨

okay so here's where we document the command line options. But listen β€” for configuration directives, IP address allocation, routing, and firewall rules, you want pptpd.conf(5). Different page, different vibe. πŸ“–

  • -b, --bcrelay internal-interface β€” says that broadcasts received on the server's internal network interface should be relayed to the clients. spreading the gossip, respectfully. πŸ“£
  • -c, --conf conf-file β€” picks the configuration file for pptpd (default is /etc/pptpd.conf).
  • -d, --debug β€” turns on debugging mode, which means more debugging messages get sent to syslog. chatterbox era. πŸ—£οΈ
  • -e, --ppp pppd-program β€” use pppd-program instead of the default pppd(8).
  • -f, --fg β€” run in the foreground instead of detaching from the terminal. clingy in the best way. πŸ«‚
  • -h, --help β€” display program usage.
  • -i, --noipparam β€” do NOT send the client's IP address to ip-up scripts. This one is required if you're using the pppd(8) ipparam option for some other purpose, so don't skip it or things get messy. πŸ™ˆ
  • -l, --listen x.x.x.x β€” specifies the local interface IP address to listen on.
  • -o, --option ppp-conf-file β€” says pptpd should specify an alternate configuration file for the ppp daemon. (The default is normally /etc/ppp/options, but ngl it may vary depending on your ppp daemon.)
  • -p, --pidfile pid-file β€” specifies an alternate location to store the process ID file (default /var/run/pptpd.pid).
  • -s, --speed baud β€” says the speed baud should be passed to the ppp daemon as the tty speed to use. heads up though: in some cases this is ignored by the ppp daemon. 😭
  • -t, --stimeout seconds β€” specifies how many seconds to wait for the first packet before dropping the connection. It's a denial of service protection feature, so it's lowkey a bodyguard. πŸ‘‘
  • -w, --logwtmp β€” update wtmp(5) as users connect and disconnect. See wtmp(1).
  • -C, --connections n β€” limits the number of client connections that may be accepted. This corresponds to the connections option in pptpd.conf. And psst β€” if pptpd is allocating IP addresses (like, when --delegate is not used) then the number of connections is also limited by the remoteip option in pptpd.conf. double limit, double the drama. πŸ’€
  • -D, --delegate β€” delegates the allocation of client IP addresses to pppd(8). Without this option (and that's the default, btw), pptpd manages the list of IP addresses for clients and passes the next free address to pppd. With this option, pptpd doesn't pass an address, so pppd may use radius or chap-secrets to allocate one. delegating like a true girlboss. πŸ‘‘
  • -V, --vrf vrf-name β€” specifies the VRF to be used for listening in.
  • -v, --version β€” displays the current version of the pptp daemon.

πŸŽ€ FILES πŸŽ€

  • /etc/pptpd.conf
  • /var/run/pptpd.pid

πŸ”₯ DEBUGGING πŸ”₯

To turn on debugging, add debug to /etc/pptpd.conf and your PPP options file, then restart pptpd. both places, bestie, don't half-do it. πŸ’…

Typically the PPP options file is options.pptpd in /etc/ppp, though on some distributions it may be pptpd-options. Use your package manager to find it, like:

rpm -ql pptpd | grep options

or

dpkg --listfiles pptpd | grep options

You may need to configure syslogd to catch debug messages. e.g. edit /etc/syslog.conf and add something similar to the example below, then restart syslogd.

# debug logging
*.debug;mail.none                                       /var/log/debug

This will log all debug information, except mail, to the file /var/log/debug. Note that this is a lot of information and might flood your disks. 😭 If performance is an issue, you can try turning off sync during your debugging by prefixing the destination with -:

# debug logging
*.debug;mail.none                                       -/var/log/debug

Disable this line and restart syslog after you are done debugging. See the syslog man pages for more details.


πŸ’œ AUTHORS πŸ’œ

Poptop is written by Matthew Ramsay <matthewr@moreton.com.au>, David Luyer <luyer@ucs.uwa.edu.au>, Kevin Thayer <tmk@netmagic.net>, Peter Galbavy <Peter.Galbavy@knowledge.com> and others. Development has been moved to SourceForge and worked on by Richard de Vroede <r.devroede@linvision.com> since June 26, 2002. absolute legends, all of them. 🫢


Copyright Β© 1999 Matthew Ramsay and others.

Poptop is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

Poptop is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Poptop; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


⭐ AVAILABILITY ⭐

The most recent version of Poptop is available for download from SourceForge at http://sourceforge.net/projects/poptop.


πŸ‘‘ SEE ALSO πŸ‘‘

pppd(8), pptpd(8), pptpd.conf(5).


and that's the whole page, bestie!! πŸŽ€ this one's from the System Manager's Manual, dated 29 December 2005 β€” yes, we know, vintage, but she still eats πŸ’… β€” and you can find her filed under PPTPD(8). go forth and tunnel responsibly. πŸ’–βœ¨

πŸ“¦ where this page comes from