This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
PPTPServer -- Click element; Handles PPTP-over-TCP connections.
Ports: any number of inputs, any number of outputs
Handles PPTP-over-TCP connections. The number of tunnels supported is equal to the number of input/output pairs. PPPControlProtocol elements such as IPCP and LCP should feedback from the outputs of PPTPServer to its inputs. IP packets destined for remote peers should be PPP encapsulated (see PPPEncap) and routed to the appropriate input. IP packets from the remote peer are pushed out the appropriate output and should be PPP decapsulated (see Strip). Keyword arguments are:
The following snippet enables a single PPTP tunnel with local address 10.0.0.1 and remote address 10.0.0.100. Shared IP input path and routing table ip :: CheckIPHeader(INTERFACES 10.0.0.1) rt :: StaticIPLookup( 10.0.0.1 0, 10.0.0.100 1 ) PPTP server pptpd :: PPTPServer(VERBOSE 1) ppp0 pptpd -> ppp0 :: Classifier(2/0021, 2/8021, -) IP from remote peer 0 ppp0
Local delivery rt -> Print(toh) -> Discard IP to remote peer 0 rt
Generated by 'click-elem2man' from 'ppp/pptpserver.hh:37' on 17/Jan/2012.