VPNRemoteIP Property
      
 

Description

Holds IP address of remote peer for VPN.

Property type

A String value.  

Syntax

object.VPNRemoteIP [= value]

The VPNRemoteIP Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type wodVPN.
valueA String value. New VPNRemoteIP to be used with wodVPN connection.

Remarks

VPNRemoteIP contains IP address of remote peer when full network traffic is routed through wodVPN. It is neccessary for proper redirection because Windows sockets needs remote's IP address (together with his MAC address) so raw packets are sent to correct destination.

Usually you will leave this property empty, since it will be filled when VPNRequest event fires. However, wodVPN uses this information to answer Windows sockets ARP requests, so you can even speed up packet exchange startup if you fill this value by yourself - just make sure correct IP is entered here.

In order to obtain local IP for each adapter, you should check VPNInterface's LocalIP property.