9.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 upper limits of several parameters may be configured using the config resource console command. These are listed in the section entitled Resources and limits in the ATMOS PPTP Functional Specification,
The current state of each tunnel is saved by config save.
9.1.1 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.
ppp2 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
Dial-In
The PPTP module uses functionality provided by the PPP module. Configure PPP channel 2 for an incoming PPTP connection, using PPTP tunnel 1, and using PVC 800.
ppp2 pvc 800 listen ppp 2 interface 0
ppp 2 tunnel 1 pptp in
ppp 2 enable
Next, configure the PPTP module to bind to an Ethernet interface with an IP address, for example 192.168.10.1, and set up tunnel 1 with the PAC initiating the connection: to a PNS with IP address, for example, 192.168.10.2
pptp 1 bind 192.168.10.1
pptp 1 create 192.168.10.2