User manual

A- Commonly Used Commands
A-36
A.7.4 <tunnel> create
Syntax
<tunnel> create <ipaddress>|listen
Description
Create a tunnel object.
If ipaddress is specified, the tunnel is associated with a remote PNS (PPTP Network
Server) at that IP address. The control connection is not actually established until
the use of tunnel is requested by PPP, or an explicit connect is issued.
If listen is specified, the tunnel is allocated for use by an incoming control connection
from a remote PNS. At least one such tunnel must exist if any incoming connections
are to be accepted at all.
Incoming connections are mapped to the first available listening tunnel object. It is
not currently possible to use properties of the incoming connection (such as its IP
address, or information supplied in the fields of the PPTP control messages) to map
the connection to a specific tunnel.
Configuration saving saves this information. By default, no tunnels are created.
Example
To connect Tunnel 1 to PNS at 192.168.1.2, enter:
ptp 1 create 192.168.1.2