nat-upnp-wrapper
This is a wrapper for the nat-upnp module.
Script Usage
Map port
const mapper = ;mapper;
Options:
"port": 80 // or [public,private] "ports": 8044380818082 // takes priority "protocol": "UDP" // defaults to "TCP"
Unmap port
mapper;
Options
"port": 80 "ports": 804438081 "protocol": "UDP"
Get Mappings
mapper;
Set to true
for local results. Defaults to false
.
Get Public IP Address
mapper;