Microsoft Internet Security and Acceleration Server 2004 SDK

FPCTunnelPortRange

The FPCTunnelPortRange object provides access to a tunnel port range.

A tunnel port allows ISA Server to work as a data pump for communication to particular ports on an External server. Because this effectively bypasses ISA Server protocol rules, the external port ranges for which this is possible are set by default to 443–443 (the single port 443 for SSL) and to 563–563 (the single port 563 for NNTP). You can use the properties of the FPCTunnelPortRange object to change the port range in which a tunnel port can be created.

This object is typically an element of an FPCTunnelPortRanges collection.

Click here to see the ISA Server object hierarchy.

Methods

The FPCTunnelPortRange object defines the following methods.

Method Description
Refresh Reads the values of all of the object's properties from persistent storage, discarding any changes that have not been saved.
Save Writes the current values of all of the object's properties to persistent storage.

Properties

The FPCTunnelPortRange object has the following properties.

Property Description
Name Gets or sets the name of the tunnel port range.
TunnelHighPort Gets or sets the high end of the tunnel port range.
TunnelLowPort Gets or sets the low end of the tunnel port range.

Remarks

This object implements the IFPCTunnelPortRange interface.

Example Code [Visual Basic]

The following Visual Basic example shows how to create a new tunnel port range consisting of a single port.

Dim root As FPC
Dim tpRanges As FPCTunnelPortRanges
Dim newRange As FPCTunnelPortRange

set root = CreateObject("FPC.Root")
set tpRanges = root.GetContainingArray.ArrayPolicy.WebProxy.TunnelPortRanges
set newRange = tpRanges.AddRange("SSL 3520", 3520, 3520)
tpRanges.Save

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

COM Objects