Demo Application; Nortel Vpn Gateway; User Guide - Nortel NN46120-104 User Manual

Vpn gateway
Table of Contents

Advertisement

274 Using the Port Forwarder API

Demo Application

The Demo application is, in a simple way, showing how the Port Forwarder
API is used. It can be run both as a regular application and by using the
Java Web Start technology. It takes a couple of parameters needed to
point out the Portal and link to use.
-vpnurl
-linktype
-vpn
-linkset
-link
When run as a regular application, the arguments are simply passed on
the command line:
java com.nortel.nvg.demo.PortForwarderDemo -vpnurl
https://vpn.example.com -linktype custom -vpn 1 -linkset 1
-link 1
For Java Web Start, parameters are passed through the jnlp file. A templat
e jnlp file is provided along with a corresponding html file. For information
about Java Web Start, refer to http://java.sun.com/products/javawebstart.
A correct jnlp file corresponding to the preceding example look like this:
Copyright © 2007-2008 Nortel Networks
.
The URL to the portal, e.g. https://vpn.example.com.
The type of the link to use, for example "custom". The link
type should be the same as defined in the CLI/BBI.
The number of the VPN in the Portal, for example 1.
The number of the linkset in the VPN, for example 1.
The number of the link in the linkset, for example 1.

Nortel VPN Gateway

User Guide

NN46120-104 02.01 Standard
14 April 2008

Advertisement

Table of Contents
loading

Table of Contents