The network host that this gateway is accessible on
A unique identifier for this gateway
The port that this gateway uses
Find the external network IP address, usually an IPv4 class address.
Optional
options: AbortOptionsMap a local host:port pair to one on the external network interface
If the mapping is successful, the external port number that was mapped is returned - this may be different from the requested port number if that port was not free.
Optional
options: MapPortOptionsTry mapping the passed port using all eligible network interfaces on the current machine.
Yields successful host:port pairs and will throw if no successful mapping occurs.
Optional
options: MapPortOptionsStop all network transactions and unmap any mapped ports
Optional
options: AbortOptionsUnmap a previously mapped port. If the port was not mapped this is a no-op.
Optional
options: AbortOptions
If
IPv4
, this gateway is capable of mapping IPv4 addresses, otherwise it will map IPv6 addresses