Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Step 2: Configuring a Server

Updated on 2025-02-06 GMT+08:00

Prerequisites

The server certificate has been hosted by the CCM. For details about how to host a server certificate, see Using the CCM to Manage a Server Certificate.

Procedure

  1. Configure a server.
    1. On the P2C VPN Gateways page, locate the target VPN gateway and click Configure Server in the Operation column.
    2. Set parameters as prompted and click OK.
      The following table only lists the key server parameters. For more information, see Configuring a Server.
      Table 1 Server parameters

      Area

      Parameter

      Description

      Example Value

      Basic Information

      Local CIDR Block

      Specify the destination CIDR block that clients need to access.

      You can select a subnet or enter a CIDR block.

      192.168.1.0/24

      Client CIDR Block

      Specify the CIDR block for assigning addresses to virtual NICs of clients.

      172.16.0.0/16

      Authentication Information

      Server Certificate

      Click Upload in the drop-down list box.

      Upload the certificate. For details, see Using the CCM to Manage a Server Certificate.

      cert-server

      Client Authentication Mode

      • Select Password authentication (local).
      • Select Certificate authentication.

        Click Upload Client CA Certificate, use a text editor (such as Notepad++) to open the CA certificate file in PEM format, and copy the certificate content to the Content text box in the Upload Client CA Certificate dialog box.

        After clicking OK, you can manage users and configure access policies.

      Password authentication (local)

      Advanced Settings

      Protocol

      Currently, only TCP is supported.

      TCP

      Port

      The options include 443 and 1149.

      443

      Encryption Algorithm

      The options include AES-128-GCM and AES-256-GCM.

      AES-128-GCM

      Authentication Algorithm

      The options include SHA256 and SHA384.

      SHA256

      Domain Name Access

      Determine whether to enable domain name access.

      • Enabling domain name access
        • Valid DNS server addresses:
        • Not 0.0.0.0
        • Non-loopback address. The loopback address range is 127.0.0.0 to 127.255.255.255.
        • Non-multicast address. The multicast address range is 224.0.0.0 to 239.255.255.255.
        • Address not starting or ending with 0
        • Enter two different DNS server addresses.
        • Not 255.255.255.255
      • Disabling domain name access

      By default, domain name access is disabled.

      Disabled

  2. Create a user group.
    1. On the P2C VPN Gateways page, locate the target VPN gateway and click View Server in the Operation column.
    2. Click the User Management and User Groups tabs in sequence, and click Create User Group.
    3. Set parameters as prompted and click OK.

      The following table describes only key parameters.

      Table 2 Key parameter for creating a user group

      Parameter

      Description

      Example Value

      Name

      Enter a user group name.

      Testgroup_01

  3. Create an access policy.
    1. On the P2C VPN Gateways page, locate the target VPN gateway and click View Server in the Operation column.
    2. Click the Access Policies tab, and click Create Policy.
    3. Set parameters as prompted and click OK.

      The following table describes only key parameters.

      Table 3 Key parameters for creating a policy

      Parameter

      Description

      Example Value

      Name

      Only letters, digits, underscores (_), and hyphens (-) are allowed.

      Policy_01

      Destination CIDR Block

      Enter one or more CIDR blocks. You need to separate multiple CIDR blocks with commas (,). Examples are as follows:

      • Single destination CIDR block: 192.168.1.0/24
      • Multiple destination CIDR blocks: 192.168.1.0/24,192.168.2.0/24

      192.168.1.0/24

      User Group

      Select a user group.

      Testgroup_01

  4. Create a user.
    1. On the P2C VPN Gateways page, locate the target VPN gateway and click View Server in the Operation column.
    2. Click the User Management tab. On the Users tab page, click Create User.
    3. Set parameters as prompted and click OK.
      The following table describes only key parameters.
      Table 4 Key parameters for creating a user

      Parameter

      Description

      Example Value

      Name

      The value can contain a maximum of 64 characters, including letters, digits, periods (.), underscores (_), and hyphens (-).

      NOTE:

      Do not use the following usernames that are reserved in the system:

      • L3SW_ (prefix)
      • link
      • Cascade
      • SecureNAT
      • localbridge
      • administrator (case-insensitive)

      Test_01

      Password

      • The value contains 8 to 32 characters.
      • The value must contain at least two types of the following characters: uppercase letters, lowercase letters, digits, and special characters including `~!@#$%^&*()-_=+\|[{}];:'",<.>/? and spaces.
      • The password cannot be the username or the reverse of the username.

      Set this parameter based on the site requirements.

      Confirm Password

      Reenter the password.

      Set this parameter based on the site requirements.

      User Group

      Select the user group to which the user belongs.

      NOTE:

      A user that is not added to any user group cannot access resources on the cloud.

      Testgroup_01

      Specify Client IP Address

      Toggle off this option.

      Disabled

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback