NAME
ppp, pppoe, pptp, pptpd – point–to–point protocol |
SYNOPSIS
ip/ppp [ –CPSacdfuy ] [ –b baud ] [ –k keyspec ] [ –m mtu ] [ –M chatfile
] [ –p dev ] [ –x netmntpt ] [ –t modemcmd ] [ –U duid ] [ local [
remote ] ] ip/pppoe [ –PdcCr ] [ –A acname ] [ –S srvname ] [ –U duid ] [ –k keyspec ] [ –m mtu ] [ –b baud ] [ –x pppnetmntpt ] [ ether ] ip/pptp [ –dP ] [ –k keyspec ] [ –w window ] [ –x pppnetmntpt ] server
ip/pptpd [ –d ] [ –p pppnetmtpt ] [ –w window ] [ –D fraction ] tcp–dir |
DESCRIPTION
The Point–to–Point Protocol is used to encapsulate Internet Protocol
packets for transfer over serial lines or other protocol connections.
Ppp can run either as a client or, with the –S option, as a server.
The only differences between a client and a server is that the
server always initiates the authentication of the client. With no option, ppp communicates with the remote system via standard input and output. This is useful if a program wants to use ppp in a communications stream. However, the normal mode is to specify a communications device, usually a serial line with a modem.
Ppp supports the following options: If both the local and remote addresses are specified, don't ask the other end for either or believe it if it supplies one. If either is missing, get it from the remote end.
Pppoe is a PPP over ethernet (PPPoE) client. It invokes ppp to
start a PPP conversation which is tunneled in PPPoE packets on
the ethernet device mounted at etherdir (default /net/ether0).
The pppoe–specific options are: The other options are relayed to ppp. Pptp is a client for a PPTP encrypted tunnel. Server is the name of the server to dial. Pptp takes the same options as pppoe, except for the lack of a –m option and the addition of a –w option. The –w option specifies the local send window size (default 16) in packets.
Pptpd is the server side of a PPTP encrypted tunnel. Tcpdir is
the directory of a TCP connection to the client. The TCP connection
is used to control the tunnel while packets are sent back and
forth using PPP inside of GRE packets. The options are: |
SOURCE
/sys/src/cmd/ip/ppp /sys/src/cmd/ip/pptpd.c /sys/src/cmd/ip/pppoe.c |
SEE ALSO
ipconfig(8), gre in ip(3) |