Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ AC_CONFIG_FILES([
pppd/plugins/pppoe/Makefile
pppd/plugins/pppoatm/Makefile
pppd/plugins/pppol2tp/Makefile
pppd/plugins/pptp/Makefile
pppd/plugins/radius/Makefile
pppd/plugins/dhcpv6relay/Makefile
pppdump/Makefile
Expand Down
2 changes: 1 addition & 1 deletion pppd/plugins/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ winbind_la_LDFLAGS = $(PLUGIN_LDFLAGS)
winbind_la_SOURCES = winbind.c

if !SUNOS
SUBDIRS = pppoe pppoatm pppol2tp radius dhcpv6relay
SUBDIRS = pppoe pppoatm pppol2tp pptp radius dhcpv6relay
endif
9 changes: 9 additions & 0 deletions pppd/plugins/pptp/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pppd_plugin_LTLIBRARIES = pptp.la
pppd_plugindir = $(PPPD_PLUGIN_DIR)

noinst_HEADERS = pptp_callmgr.h pptp_ctrl.h pptp_msg.h pptp_options.h \
util.h vector.h

pptp_la_CPPFLAGS = -I${top_srcdir} -DPPPD_RUNTIME_DIR='"@PPPD_RUNTIME_DIR@"'
pptp_la_LDFLAGS = -module -avoid-version
pptp_la_SOURCES = pptp.c pptp_callmgr.c pptp_ctrl.c util.c vector.c
82 changes: 82 additions & 0 deletions pppd/plugins/pptp/pppd-pptp.8
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
.\" manual page [] for ACCEL-PPTP plugin for pppd 2.4
.\" $Id: pppd-pptp.8,v 1.0 2007/10/17 13:27:17 kad Exp $
.\" SH section heading
.\" SS subsection heading
.\" LP paragraph
.\" IP indented paragraph
.\" TP hanging label
.TH PPPD-PPTP 8
.SH NAME
pptp.so \- PPTP VPN plugin for
.BR pppd (8)
.SH SYNOPSIS
.B pppd
[
.I options
]
plugin pptp.so
.SH DESCRIPTION
.LP
The PPTP plugin for pppd performs interaction with the pptp kernel module
and has built-in call manager (client part of PPTP).
It passes necessary parameters from \fIoptions\fR into the kernel module
to configure ppp-pptp channel. If it runs in client mode, then additionally
call manager starts up. PPTPD daemon automaticaly invokes this plugin
in server mode and passes necessary options, so additional configuration
is not needed.

.SH OPTIONS for client mode
The PPTP plugin introduces additional pppd options:
.TP
.BI "pptp_server " server " (required)"
Specifies IP address or hostname of the pptp server.
.TP
.BI "pptp_window " packets " (optional)"
The size of the sliding window.
Set to 0 to turn off sliding window.
to 3-10 for low speed connections.
to >10 for hi speed connections.
.TP
.BI "pptp_phone " phone " (optional)"
The phone string sent to the pptp server.
.TP
.BI "pptp_timeout " milliseconds " (optional)"
Specifies timeout for waiting for an "ack" packet from server.

.SH OPTIONS for server mode (intended to be run by pptpd)
.TP
.BI "pptp_client " client " (required)"
Specifies the IP address or hostname of the pptp client.
.TP
.BI "pptp_sock " socket " (required)"
The socket to communicate with the client.


.SH USAGE
Sample client configuration file:
.nf
plugin "pptp.so"
pptp_server 192.168.0.1
pptp_window 50
name myname
remotename pptp
noauth
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
novj
novjccomp
require-mppe-128
lcp-echo-interval 20
lcp-echo-failure 3
.fi

.SH SEE ALSO
.BR pppd (8) " " pptpd (8) " " pptpd.conf (5)

.SH AUTHORS
xeb xeb@mail.ru

[anp/hsw] sysop@880.ru
Loading
Loading