○
○
○
○
○
A- Commonly Used Commands
A-34
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
A.7
PPTP Commands
A.7.1
Console object types
The PPTP process provides a number of PPTP connection tunnels. A tunnel consists
of a control connection between the local PAC and a PNS, and a data connection
(known as a call) through which a number of PPP connections or channels may be
multiplexed.
The current state of each tunnel is saved by
config save
.
A.7.2
Console Examples
These examples are for configuration of the PPTP Access Concentrator (PAC).
Obviously the PPP client or server and the PNS must also be configured.
Dial-Out
The PPTP module uses functionality provided by the PPP module. Configure
PPP channel 2 for an outgoing PPTP connection, using PPTP tunnel 1, and
using PVC 800.
ppp 2 pvc 800
ppp 2 interface 0
ppp 2 tunnel 1 pptp out
ppp 2 enable
Next, configure the PPTP module to bind to an Ethernet interface with an IP
address of, for example 192.168.10.1, and set up tunnel 1 to listen (waiting
for the PNS to initiate the connection):
pptp bind 192.168.10.1
pptp 1 create listen