UPnPMapping Event
    
 

Description

Fires when new UPnP port mapping was created.

Syntax

Private Sub object_UPnPMapping(InternalIP, InternalPort, ExternalIP, ExternalPort)

The UPnPMapping Event syntax has these parts:

PartDescription
objectA wodVPN object.
InternalIPA String value. IP address of internal interface where UPnP device redirects incoming packets.
InternalPortA Long value. Port on local computer where UPnP device redirects incoming packets.
ExternalIP A String value. IP address of external interface on UPnP device, where remote peer will try to connect to.
RemotePort A Long value. Port on UPnP device.

Remarks

UPnPMapping event is fired when wodVPN maps external port on UPnP device (usually firewall or router device) so that remote peer can connect to that device to establish connection with your wodVPN instance. You do not need to make any special setup on your that device - as long as UPnP service is provided, wodVPN will know how to use it.

 

This event can only be fired when UseUPnP property is set to True.