@pumpkin-plugins/port-mapping API / gateway / MappingRequest
Interface: MappingRequest
Defined in: tools/port-mapping/src/gateway.ts:11
What to open on the router.
Properties
description
description:
string
Defined in: tools/port-mapping/src/gateway.ts:13
Shown in the router's list of forwarded ports.
externalPort
externalPort:
number
Defined in: tools/port-mapping/src/gateway.ts:15
The port to ask for on the router's public side. The router may give another one.
internalPort
internalPort:
number
Defined in: tools/port-mapping/src/gateway.ts:17
The port on this machine.
leaseSeconds
leaseSeconds:
number
Defined in: tools/port-mapping/src/gateway.ts:19
How long the router keeps the mapping without a renewal. 0 asks for one that doesn't expire.