LocalPort Property
      
 

Description

Holds destination port accessible from local wodVPN instance.

Property type

A Long value.  

Syntax

object.LocalPort

The LocalPort Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type VPNChannel.

Remarks

Together with the LocalAddress property, LocalPort defines where wodVPN will listen for incoming connections.

In fact, LocalPort has two purposes. First is when you define TCPLocalListen/UDPLocalListen in channel type, in which case wodVPN listens on this port and accepts new connections. Second, when you define TCPRemoteListen/UDPRemoteListen in channel type, in which case wodVPN forwards remotely initiated connections to this port.