52 Chapter 2 Customizing the client
311644-J Rev 00
Controlling the client from a third-party application
You can write an application and then have it establish a tunnel with
command-line switches. For example, you can collect a user name, password, and
destination address in your application, and with that information launch the client
(extranet.exe) to establish a tunnel.
To launch the client from your application, use the call:
ShellExecute() or CreateProcess()
To pass the user name and password that the user supplied to the application in the
command line (the destination is the remote server), use one of the following
commands.
• If you are using an LDAP user name and password for authentication:
Extranet.exe -U username,password,destination
• If you are using a RADIUS user name and password for authentication:
Extranet.exe -R
username,password,destination,groupid,grouppassword
Note: Application Program Interface (API) is a programming interface
that enables applications to create a VPN connection, terminate the
connection, and query the status of the connection. To learn more about
this feature, contact Nortel Support at 1 800 4Nortel.