CreatePATRuleRequest: {
    gatewayId: string;
    privateIp: string;
    privatePort: number;
    protocol?: PATRuleProtocol;
    publicPort: number;
    zone?: Zone;
}

Type declaration

  • gatewayId: string

    ID of the Gateway on which to create the rule.

  • privateIp: string

    Private IP to forward data to.

  • privatePort: number

    Private port to translate to.

  • Optionalprotocol?: PATRuleProtocol

    Protocol the rule should apply to.

  • publicPort: number

    Public port to listen on.

  • Optionalzone?: Zone

    Zone to target. If none is passed will use default zone from the config.