📄 pptp.8
字号:
.\" SH section heading.\" SS subsection heading.\" LP paragraph.\" IP indented paragraph.\" TP hanging label.TH PPTP 8.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection.\" other parms are allowed: see man(7), man(1).SH NAMEpptp \- PPTP driver.SH SYNOPSIS.B pptp.I "<pptp-server-IP> <pptp-options> [ppp-options] ...".SH "DESCRIPTION".LP.B pptpestablishes the client side of a Virtual Private Network (VPN) usingthe Point-to-Point Tunneling Protocol (PPTP). Use this program toconnect to an employer's PPTP based VPN, or to certain cable and ADSLservice providers..LPBy default, \fBpptp\fR establishes the PPTP call to the PPTP server,and then starts an instance of \fBpppd\fR to manage the data transfer.However, \fBpptp\fR can also be run as a connection manager within\fBpppd\fR..SH OPTIONS.LPThe first non-option argument on the \fBpptp\fR command line must be the hostname or IP address of the PPTP server..LPAll long options (starting with "--")are interpreted as pptp options, and a fatal error occurs if an unrecognised option is used..LPAll command-line arguments which do not startwith "-" are interpreted as ppp options, and passed as is to \fBpppd\fR unless\fB--nolaunchpppd\fR is given..TP.B \--phone <number>Pass <number> to remote host as phone number.TP.B \--nolaunchpppdDo not launch.B pppdbut use stdin as the network connection. Use this flag when including.B pptpas a.B pppdconnection process using the.B ptyoption. See EXAMPLES..TP.B \--quirks <quirk>Work around a buggy PPTP implementation, adopts special case handling forparticular PPTP servers and ADSL modems.Currently recognised values are BEZEQ_ISRAEL only.TP.B \--debugRun in foreground (for debugging with gdb).TP.B \--syncEnable Synchronous HDLC (pppd must use it too).TP.B \--timeout <secs>Time to wait for reordered packets (0.01 to 10 secs).TP.B \--nobufferCompletely disables buffering and reordering of packets.Any --timeout specified will be ignored..TP.B \--idle-wait <secs>Time to wait before sending a control connection echo request.The RFC2637 default is 60 seconds..TP.B \--max-echo-wait <secs>Time to wait for an echo reply before closing the control connection.The RFC2637 default is 60 seconds..TP.B \--logstring <name>Use <name> instead of 'anon' in syslog messages.TP.B \--localbind <addr>Bind to specified IP address instead of wildcard.TP.B \--loglevel <level>Sets the debugging level (0=low, 1=default, 2=high).SH "QUIRKS".TP.B BEZEQ_ISRAELmodifies packets to interoperate with Orckit ADSL modems on the BEZEQnetwork in Israel..SH "EXAMPLES".B Connection to a Microsoft Windows VPN Server.BRpppd noauth nobsdcomp nodeflate mppe-40 mppe-128mppe-stateless name domain\\\\\\\\username remotename PPTPrequire-chapms-v2pty "pptp 10.0.0.5 --nolaunchpppd".PPNote that the \fBchap-secrets\fR file used by \fBpppd\fR must include an entry for domain\\\\username.SH "STATISTICS"The pptp process collects statistics when sending and receivingGRE packets. They are intended to be useful for debugging poor PPTPperformance and for general monitoring of link quality. The statisticsare cumulative since the pptp process was started..PPThe statistics can be viewed by sending a SIGUSR1 signal to the"GRE-to-PPP Gateway" process, which will cause it to dump themto the system logs (at the LOG_NOTICE level). A better way to presentthe statistics to applications is being sought (e.g. SNMP?)..PPThe following statistics are collected at the time of writing (April 2003):.TP.B rx acceptedthe number of GRE packets successfully passed to PPP.TP.B rx lostthe number of packets never received, and presumed lost in the network.TP.B rx under winthe number of packets which were duplicates or had old sequence numbers(this might be caused by a packet-reordering network if your reorderingtimeout is set too low).TP.B rx over winthe number of packets which were too far ahead in the sequence to bereordered (might be caused by loss of more than 300 packets in a row).TP.B rx bufferedthe number of packets which were slightly ahead of sequence, and wereeither buffered for reordering, or if buffering is disabled, acceptedimmediately (resulting in the intermediate packets being discarded)..TP.B rx OS errorsthe number of times where the operating system reported an error whenwe tried to read a packet.TP.B rx truncatedthe number of times we received a packet which was shorter than thelength implied by the GRE header.TP.B rx invalidthe number of times we received a packet which had invalid or unsupportedflags set in the header, wrong version, or wrong protocol..TP.B rx acksthe number of pure acknowledgements received (without data). Too manyof these will waste bandwidth, and might be solved by tuning the remote host..TP.B tx sentthe number of GRE packets sent with data.TP.B tx failedthe number of packets we tried to send, but the OS reported an error.TP.B tx shortthe number of times the OS would not let us write a complete packet.TP.B tx acksthe number of times we sent a pure ack, without data.TP.B tx oversizethe number of times we couldn't send a packet because it was overPACKET_MAX bytes long.TP.B round tripthe estimated round-trip time in milliseconds.SH "SEE ALSO".IR pppd (8).PPDocumentation in.IR /usr/share/doc/pptp.SH AUTHORThis manual page was written by James Cameron<james.cameron@hp.com> from text contributed by Thomas Quinot<thomas@debian.org>, for the Debian GNU/Linux system.The description of the available statistics was written by Chris Wilson<chris@netservers.co.uk>.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -