@achingbrain/nat-port-mapper
Version:
Port mapping with UPnP and NAT-PMP
30 lines • 1.47 kB
TypeScript
export declare const DEFAULT_PORT_MAPPING_TTL = 3600000;
export declare const DEFAULT_AUTO_REFRESH = true;
export declare const DEFAULT_REFRESH_TIMEOUT = 10000;
export declare const DEFAULT_REFRESH_THRESHOLD = 60000;
export declare const ONE_MINUTE = 60000;
export declare const ONE_HOUR: number;
export declare const NS_SOAP = "http://schemas.xmlsoap.org/soap/envelope/";
/**
* @see https://upnp.org/specs/gw/UPnP-gw-WANIPv6FirewallControl-v1-Service.pdf
*/
export declare const DEVICE_WAN_IPV6_FIREWALL_CONTROL = "urn:schemas-upnp-org:service:WANIPv6FirewallControl:1";
/**
* @see https://upnp.org/specs/gw/UPnP-gw-WANIPConnection-v1-Service.pdf
*/
export declare const DEVICE_WAN_IP_CONNECTION_1 = "urn:schemas-upnp-org:service:WANIPConnection:1";
/**
* @see https://upnp.org/specs/gw/UPnP-gw-WANIPConnection-v2-Service.pdf
*/
export declare const DEVICE_WAN_IP_CONNECTION_2 = "urn:schemas-upnp-org:service:WANIPConnection:2";
/**
* @see https://upnp.org/specs/gw/UPnP-gw-InternetGatewayDevice-v1-Device.pdf
*/
export declare const DEVICE_INTERNET_GATEWAY_SERVICE_1 = "urn:schemas-upnp-org:device:InternetGatewayDevice:1";
/**
* @see https://upnp.org/specs/gw/UPnP-gw-InternetGatewayDevice-v2-Device.pdf
*/
export declare const DEVICE_INTERNET_GATEWAY_SERVICE_2 = "urn:schemas-upnp-org:device:InternetGatewayDevice:2";
export declare const MIN_IPV6_PORT_LEASE = 3600;
export declare const MAX_IPV6_PORT_LEAST = 86400;
//# sourceMappingURL=constants.d.ts.map