UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

29 lines 1.27 kB
import { Ipv4 } from '../Ipv4'; import { Ip } from '../Ip'; import { ProtocolTypeEnum } from './xdslModemConfig/ProtocolTypeEnum'; /** Port Mappings */ 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; /** ID of the port mapping entry */ id: number; /** IP address (e.g., 192.0.2.0) */ internalClient: Ip; /** The port on the Internal Client that will get the connections */ internalPort: number; /** The last port of the interval on the Internal Client that will get the connections */ internalPortEnd?: number; /** Name of the port mapping entry */ name: string; /** Type of protocol for the Port Mapping */ protocol: ProtocolTypeEnum; /** ID of the ongoing todo (NULL if none) */ taskId?: number; } //# sourceMappingURL=PortMapping.d.ts.map