Skip to content

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

Interface: MappingSpec ​

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

What to keep open.

Properties ​

description ​

description: string

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

Shown in the router's list of forwarded ports.


externalPort? ​

optional externalPort?: number

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

The public port to ask for. Defaults to port; the router may give another one.


port ​

port: number

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

The port on this machine.

Pumpkin Plugins documentation