Skip to content

@pumpkin-plugins/upnpumpkin-api API / protocol / NetworkInfo

Interface: NetworkInfo ​

Defined in: tools/upnpumpkin-api/src/protocol.ts:38

What UPnPumpkin knows about the network.

Properties ​

externalAddress? ​

optional externalAddress?: string

Defined in: tools/upnpumpkin-api/src/protocol.ts:44

The router's address on the internet side.


gateway? ​

optional gateway?: object

Defined in: tools/upnpumpkin-api/src/protocol.ts:42

The router that opens ports.

address ​

address: string

kind ​

kind: "upnp" | "nat-pmp"


localAddress? ​

optional localAddress?: string

Defined in: tools/upnpumpkin-api/src/protocol.ts:40

This machine's address toward the internet.

Pumpkin Plugins documentation