Skip to content

@pumpkin-plugins/port-mapping API / mapper / MapperInfo

Interface: MapperInfo ​

Defined in: tools/port-mapping/src/mapper.ts:27

What the mapper has learned about the network.

Properties ​

externalAddress? ​

optional externalAddress?: Ipv4

Defined in: tools/port-mapping/src/mapper.ts:33

The router's address on the internet side.


gateway? ​

optional gateway?: object

Defined in: tools/port-mapping/src/mapper.ts:31

The router that opens the ports.

address ​

address: Ipv4

kind ​

kind: GatewayKind


identity? ​

optional identity?: RouterIdentity

Defined in: tools/port-mapping/src/mapper.ts:35

What is known about the router's make and model.


localAddress? ​

optional localAddress?: Ipv4

Defined in: tools/port-mapping/src/mapper.ts:29

This machine's address toward the internet.


refused? ​

optional refused?: object

Defined in: tools/port-mapping/src/mapper.ts:37

Set when the router was turned down by the screen: nothing is opened on it and it is not asked again.

identity ​

identity: RouterIdentity

reason ​

reason: string

Pumpkin Plugins documentation