The rest of this section details the individual console commands provided.
9.2bind
9.2.1Syntax:
bind <ipaddress>anynone
9.2.2 Description:
Specify which local interface to bind a listener to for incoming control connections. If ipaddress is specified, PPTP will listen on port 1723 on that interface only for incoming control connections. Typically this will be the IP address of the local side network interface.
If any is specified, PPTP will accept control connections on any interface.
If none is specified, no incoming control connections will be accepted; in this case, tunnels may only be established via the local create and connect commands. Configuration saving saves this information. The default is none.
9.2.3 Example
To listen for incoming control connections on local interface 192.168.1.1 only, enter:
pptp bind 192.168.1.1
9.2.5 Notes
An incoming connection can only be accepted if the listener has a free tunnel object allocated to it. (Such objects are allocated with the <tunnel> create listen command.) The tunnel object used will be freed for use again when the tunnel is closed by either end.
9.3 <tunnel> connect
9.3.1 Syntax
<tunnel> connect
9.3.2 Description:
Explicitly connect a tunnel (that was created using create <ipaddress>) to the remote PNS that create specified, establishing the control connection.
9.3.3 Example
To connect tunnel 1 to configured PNS, enter:
pptp 1 connect
9.3.5 Notes
This command is meaningless if applied to a tunnel object that is allocated to the listener (as created with the <tunnel> create listen command); in this case it will