@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
23 lines • 1.06 kB
TypeScript
import { Ipv4 } from '../../Ipv4';
import { Ip } from '../../Ip';
import { ProtocolTypeEnum } from '../xdslModemConfig/ProtocolTypeEnum';
/** PortMapping Configuration for Modem Template */
export interface PortMapping {
/** An ip which will access to the defined rule. Default : no restriction applied */
allowedRemoteIp?: Ipv4;
/** Description of the Port Mapping */
description?: string;
/** The last port of the interval on the External Client that will get the connections */
externalPortEnd?: number;
/** External Port that the modem will listen on. List of externalPorts not available for now in the API : 8, 21, 68, 5060, 21800-21805, 51005 */
externalPortStart: number;
/** IP address (e.g., 192.0.2.0) */
internalClient: Ip;
/** The port on the Internal Client that will get the connections */
internalPort: number;
/** Name of the port mapping entry */
name: string;
/** Type of protocol for the Port Mapping */
protocol: ProtocolTypeEnum;
}
//# sourceMappingURL=PortMapping.d.ts.map