Section: Maintenance Commands (8)Updated: 29 December 2005Local indexUp
pptpd - PPTP VPN daemon
is the Poptop PPTP daemon, which manages tunnelled PPP connections
encapsulated in GRE using the PPTP VPN protocol. It may contain
features like IP address management and TCP wrappers if compiled in.
Here we document the command line options. See
for configuration directives, IP address allocation, routing, and
specifies that broadcasts received on the server's internal
network interface should be relayed to the clients.
specifies the configuration file for
turns on debugging mode, causing more debugging messages to be sent
run in the foreground instead of detaching from terminal
display program usage.
do not send the client's IP address to ip-up scripts (required if you are using the
option for some other purpose).
specifies the local interface IP address to listen on.
specifies that pptpd should specify an alternate configuration file
for the ppp daemon (the default is normally
but may vary depending on your ppp daemon).
specifies an alternate location to store the process ID file (default
specifies that the speed
should be passed to the ppp daemon as the tty speed to use (in some
cases this is ignored by the ppp daemon).
specifies the number of seconds to wait for the first packet before
dropping the connection. This is a denial of service protection
as users connect and disconnect. See
limits the number of client connections that may be accepted. Corresponds to the
If pptpd is allocating IP addresses (e.g.
is not used) then the number of connections is also limited by the
delegates the allocation of client IP addresses to
Without this option, which is the default, pptpd manages the list of
IP addresses for clients and passes the next free address to pppd.
With this option, pptpd does not pass an address, and so pppd may use
radius or chap-secrets to allocate an address.
displays the current version of the pptp daemon.
To turn on debugging, add 'debug' to /etc/pptpd.conf and your
PPP options file, and restart pptpd.
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, e.g. '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
# debug logging
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
Disable this line and restart syslog after you are done debugging.
See the syslog man pages for more details.
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
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.