RemotePort Property
      
 

Description

Holds destination port accessible from remote wodVPN peer.

Property type

A Long value.  

Syntax

object.RemotePort

The RemotePort Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type VPNChannel.

Remarks

The RemotePort property defines where all accepted connections will be forwarded, in association with the RemoteAddress property.

If you create a TCPLocalListen/UDPLocalListen tunnel, RemotePort defines where remote wodVPN peer will connect at the other end. If you create a TCPRemoteListen/UDPRemoteListen tunnel, RemotePort defines where will remote peer listen for connections that will subsequently be forwarded to the local wodVPN instance.