Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::VPC::SslVpnServer

Última atualização: Jun 27, 2026

Cria um servidor SSL-VPN.

Sintaxe

{
  "Type": "ALIYUN::VPC::SslVpnServer",
  "Properties": {
    "Name": String,
    "Proto": String,
    "ClientIpPool": String,
    "Compress": Boolean,
    "LocalSubnet": String,
    "Cipher": String,
    "VpnGatewayId": String,
    "Port": Integer,
    "EnableMultiFactorAuth": Boolean,
    "IDaaSRegionId": String,
    "IDaaSInstanceId": String,
    "IDaaSApplicationId": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

Name

String

Não

Sim

Nome do servidor SSL-VPN.

O nome deve ter de 2 a 128 caracteres e pode conter letras, dígitos, pontos (.), sublinhados (_) e hifens (-). Deve começar com uma letra e não pode iniciar com http:// ou https://.

Proto

String

Não

Sim

Protocolo do servidor SSL-VPN.

Valores válidos: UDP e TCP. Valor padrão: UDP.

ClientIpPool

String

Sim

Sim

Bloco CIDR usado para alocar endereços IP à placa de interface de rede (NIC) virtual do cliente. Esse bloco CIDR não deve se sobrepor a nenhum bloco CIDR privado existente no cliente.

Quando o cliente se conecta via SSL-VPN, o gateway VPN atribui um endereço IP desse bloco CIDR. O bloco CIDR ClientIpPool não pode entrar em conflito com o bloco CIDR LocalSubnet.

Compress

Boolean

Não

Sim

Define se a compactação de dados está ativada.

Nenhuma.

LocalSubnet

String

Sim

Sim

Bloco CIDR acessível pelo cliente pela conexão SSL-VPN.

O valor pode ser o bloco CIDR de uma VPC, de um vSwitch, de um data center conectado a uma VPC por meio de um circuito Express Connect ou de um serviço em nuvem como ApsaraDB RDS ou Object Storage Service (OSS).

Cipher

String

Não

Sim

Algoritmo de criptografia da conexão SSL-VPN.

Valores válidos: AES-128-CBC, AES-192-CBC, AES-256-CBC e none. Valor padrão: AES-128-CBC.

VpnGatewayId

String

Sim

Não

ID do gateway VPN.

Nenhuma.

Port

Integer

Não

Sim

Porta do servidor SSL-VPN.

Valor padrão: 1194. Não é possível usar as seguintes portas: 22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500 e 4500.

EnableMultiFactorAuth

Boolean

Não

Sim

Define se a autenticação de dois fatores está ativada.

Valores válidos:

  • true: ative a autenticação de dois fatores.

  • false (padrão)

IDaaSRegionId

String

Não

Sim

ID da região da instância do IDaaS Employee Identity and Access Management (EIAM).

Nenhuma.

IDaaSInstanceId

String

Não

Sim

ID da instância IDaaS EIAM.

Nenhuma.

IDaaSApplicationId

String

Não

Sim

ID do aplicativo IDaaS.

Nenhuma.

Valores de retorno

Fn::GetAtt

SslVpnServerId: o ID do servidor SSL-VPN.

Exemplos

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "SslVpnServer": {
      "Type": "ALIYUN::VPC::SslVpnServer",
      "Properties": {
        "Name": {
          "Ref": "Name"
        },
        "Proto": {
          "Ref": "Proto"
        },
        "ClientIpPool": {
          "Ref": "ClientIpPool"
        },
        "Compress": {
          "Ref": "Compress"
        },
        "Port": {
          "Ref": "Port"
        },
        "Cipher": {
          "Ref": "Cipher"
        },
        "VpnGatewayId": {
          "Ref": "VpnGatewayId"
        },
        "LocalSubnet": {
          "Ref": "LocalSubnet"
        }
      }
    }
  },
  "Parameters": {
    "Name": {
      "MinLength": 2,
      "Type": "String",
      "Description": "The name of the SSL-VPN server. The length is 2-128 characters and must start with a letter or Chinese. It can contain numbers, periods (.), underscores (_), and dashes (-). But it can't start with http:// or https://.",
      "MaxLength": 128
    },
    "Proto": {
      "Default": "UDP",
      "Type": "String",
      "Description": "The protocol used by the SSL-VPN server. Allowed values: UDP (default) | TCP.",
      "AllowedValues": [
        "UDP",
        "TCP"
      ]
    },
    "ClientIpPool": {
      "Type": "String",
      "Description": "It is the address segment that assigns the access address to the client virtual NIC. It does not refer to the existing intranet segment of the client. When the client accesses the local end through an SSL-VPN connection, the VPN gateway allocates an IP address to the client from the specified client network segment. The network segment cannot conflict with the LocalSubnet address segment."
    },
    "Compress": {
      "Default": false,
      "Type": "Boolean",
      "Description": "Whether it is compressed.",
      "AllowedValues": [
        "True",
        "true",
        "False",
        "false"
      ]
    },
    "Port": {
      "Default": 1194,
      "Type": "Number",
      "Description": "The port used by the SSL-VPN server. The default value is 1194. Cannot use the following ports: 22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500"
    },
    "Cipher": {
      "Default": "AES-128-CBC",
      "Type": "String",
      "Description": "The encryption algorithm used by SSL-VPN. Value: AES-128-CBC (default) | AES-192-CBC | AES-256-CBC | none",
      "AllowedValues": [
        "AES-128-CBC",
        "AES-192-CBC",
        "AES-256-CBC",
        "none"
      ]
    },
    "VpnGatewayId": {
      "Type": "String",
      "Description": "ID of the VPN gateway."
    },
    "LocalSubnet": {
      "Type": "String",
      "Description": "Is the address segment that the client wants to access through an SSL-VPN connection. The local network segment can be the network segment of the VPC, the network segment of the switch, the network segment of the IDC interconnected by the leased line and the VPC, and the network segment of the cloud service such as RDS/OSS."
    }
  },
  "Outputs": {
    "SslVpnServerId": {
      "Description": "ID of the SSL-VPN server.",
      "Value": {
        "Fn::GetAtt": [
          "SslVpnServer",
          "SslVpnServerId"
        ]
      }
    }
  }
}