Overview
ZStack Cloud provides VM instances with multiple network resources, including VPC firewall, security group, virtual IP address (VIP), elastic IP address (EIP), port forwarding, IPsec tunnel, load balancing, and flow monitoring.
- Flat network
- vRouter network
- VPC
Network Service Module
Network Service Module provides a group of network services. Note that this module has been hidden on the UI.
- Virtual Router Network Service Module (Not recommended)
Provides various network services: DNS, SNAT, load balancing, port forwarding, EIP, and DHCP.
- Flat Network Service Module (Flat Network Service Provider)Provides the following network services:
- User Data: Customizes some parameters, such as
ssh-keyinjection. By runningcloud-init, these parameters will be loaded and injected into your VM instance when the VM instance is started. - EIP: Is realized by distributed EIP to access private networks through public networks.
- DHCP: Is realized by distributed DHCP to dynamically obtain an
IP address.
Note: The DHCP service includes the DNS
feature. - VIP QoS: Adjusts the upstream bandwidth and downstream bandwidth, and can only be applied to EIPs.
- User Data: Customizes some parameters, such as
- vRouter Network Service ModuleProvides the following network services:
- IPsec: Achieves VPN connections.
- vRouter route table: Manages custom routes.
- Centralized DNS: Is provided when the DHCP service is enabled.
- VIP QoS: Adjusts the upstream bandwidth and downstream bandwidth.
- DNS: Uses vRouters to provide the DNS service.
- SNAT: Enables VM instances to access directly the Internet.
- Load balancing: Distributes inbound traffics from a VIP to a group of backend VM instances. Then, unavailable VM instances will be detected and isolated automatically.
- Port forwarding: Forwards port traffics of specified public IP addresses to the ports of corresponding VM instances according to specified protocols.
- EIP: Uses vRouters to access private networks of VM instances through public networks.
- DHCP: Provides the centralized DHCP service.
- Security Group Network Service ModuleProvides the following network service:
- Security group: Manipulates securities of VM instance firewalls by using iptables.
Flat Network Practice
- Flat Network Service Module
- User Data: Customizes some parameters, such as
ssh-keyinjection. By runningcloud-init, these parameters will be loaded and injected into your VM instance when the VM instance is started. - EIP: Is realized by distributed EIP can access private networks through public networks.
- DHCP: Is realized by distributed DHCP to dynamically obtain an IP
address.
Note: The DHCP service includes the DNS
feature.
- User Data: Customizes some parameters, such as
- Security Group Network Service Module
- Security group: Manipulates securities of VM instance firewalls by using iptables.
vRouter Network Practice
- Flat Network Service Module
- User Data: Customizes some parameters, such as
ssh-keyinjection. By runningcloud-init, these parameters will be loaded and injected into your VM instance when the VM instance is started. - DHCP: DHCP allows you to dynamically obtain an IP address.
- User Data: Customizes some parameters, such as
- vRouter Network Service Module
- DNS: Uses vRouters to provide the DNS service.
- SNAT: Allows VM instances to access directly the Internet.
- vRouter route table: Manages custom routes.
- EIP: Uses vRouters to access private networks of VM instances through public networks.
- Port forwarding: Forwards port traffics of specified public IP addresses to the ports of corresponding VM instances according to specified protocols.
- Load balancing: Distributes inbound traffics from a VIP to a set of backend VM instances. Then, unavailable VM instances will be detected and isolated automatically.
- IPsec: Achieves VPN connections.
- Security Group Network Service Module
- Security group: Manipulates securities of VM instance firewalls by using iptables.
VPC Network Practice
- Flat Network Service Module
- User Data: Customizes some parameters, such as
ssh-keyinjection. By runningcloud-init, these parameters will be loaded and injected into your VM instance when the VM instance is started. - DHCP: Is realized by distributed DHCP to dynamically obtain an IP address.
- User Data: Customizes some parameters, such as
- vRouter Network Service Module
- DNS: Uses VPC vRouters to provide DNS services.
- SNAT: Allows VM instances to access directly the Internet.
- vRouter route table: Manages custom routes.
- EIP: Uses VPC vRouters to access private networks of VM instances through public networks.
- Port forwarding: Forwards port traffics of specified public IP addresses to the ports of corresponding VM instances according to specified protocols.
- Load balancing: Distributes inbound traffics from a VIP to a set of backend VM instances, and unavailable VM instances will be detected and isolated automatically.
- IPsec: Achieves VPN connections.
- Security Group Network Service Module
- Security group: Manipulates securities of VM instance firewalls by using iptables.
Advanced Network Services
- Dynamic routing: Uses the Open Shortest Path First (OSPF) routing protocol to distribute routing information within a single autonomous system. This service applies to VPC network scenarios.
- Multicast routing: Forwards the multicast information sent by the multicast source to VM instances, achieving one-to-multi-point communication in the transmission side and receiving side. This service applies to VPC network scenarios.
- VPC firewall: Filters the south-north traffic on the VPC vRouter ports, effectively protecting the VPC communication security and VPC vRouter security. This service applies to VPC network scenarios.
- Port mirroring: Copies and sends network traffics of VM NICs from a port to another port, and analyzes the business packets on the ports, better monitoring and managing the network data. This service applies to flat network, vRouter network, and VPC network scenarios.
- Netflow: Monitors and analyzes the inbound and outbound traffics of the VPC vRouter NICs. Currently, the following two types of data-flow output formats are supported: Netflow V5 and Netflow V9. This service applies to VPC network scenarios.
VPC Firewall
A firewall is an access control policy that monitors ingress and egress traffic of VPC vRouters and decides whether to allow or block specific traffic based on the associated rule sets and rules.
Concepts
- Firewall rule set: A firewall rule set is a set of rules that a firewall uses
to defend against network attacks. You need to associate a rule set with the egress
or ingress flow direction of VPC vRouter NICs to make the rule set take
effect.
- You can associate a rule set with the egress or ingress flow direction
of VPC vRouter NICs:
- Ingress: applies to the traffic that flows into the specified VPC vRouter via a network.
- Egress: applies to the traffic that flows out of the specified VPC vRouter via a network.
- You can associate a rule set with the egress or ingress flow direction
of VPC vRouter NICs:
- Firewall rule: A firewall rule is an access control entry associated with
the egress or ingress flow direction of VPC vRouter NICs to defend against network
attacks. A firewall rule includes rule priority, match condition, and
behavior.
- You can associate a rule with the egress or ingress flow direction of
VPC vRouter NICs:
- Ingress: applies to the traffic that flows into the specified VPC vRouter via a network.
- Egress: applies to the traffic that flows out of the specified VPC vRouter via a network.
- Firewall rules can be categorized into custom rules and system rules:
- Custom rules: rules that you customize. You can select the
ingress or egress direction that the rules take effect and
configure the rule priorities, match conditions, and
behaviors.
- Rule priority: the priority of a rule to be matched and
take effect when compared with other firewall rules.
Valid values: 1001 to 2999.
- Generally, a rule with a higher priority is primarily matched when compared to a rule with a lower priority. Priorities are represented by using numbers. A smaller number indicates a higher priority.
- Generally, the more specific the match condition that you configure for a rule is, the higher priority you shall configure for the rule.
- Match condition: the condition based on which traffic
flowing into or out of a VPC network is matched. It
includes source IP address, destination IP address,
source port, destination port, packet status, and
protocol.
- You can specify one or more source and destination IP addresses. These IP addresses can be static IP addresses, IP ranges, CIDR blocks, or a mix of the three.
- If you specify multiple entries, which include one or more CIDR blocks, the netmask of the CIDR block must be 24. If you specify only one CIDR block, the netmask of the CIDR block is not limited.
- You can enter a maximum of ten entries, with each entry separated by a comma (,).
- Behavior: the action to be applied to traffic that meets
the match condition. Valid values: accept, drop, and
reject.
- Accept: accepts the traffic that flows in or out of the specified VPC vRouter.
- Drop: drops the traffic that flows in or out of the specified VPC vRouter and does not respond to the client.
- Reject: rejects the traffic that flows in or out of the specified VPC vRouter and responds to the client.
- Rule priority: the priority of a rule to be matched and
take effect when compared with other firewall rules.
Valid values: 1001 to 2999.
- System rules: rules predefined to support system services. The
system predefines the direction that the rules take effect, and
the priority, match condition, and behavior of the rules.
- The priority of system rules ranges from 1 to 1000 or from 4000 to 9999.
- ZStack Cloud has predefined the
following system rules:
- Firewall rules that take effect on the ingress
direction of VPC vRouter NICs:
- Rule 1: The priority is 4000, and the behavior and match condition combination determines to allow established or related data packets from any IP address/port, with any protocol, or to any IP address/port, to flow into the specified VPC vRouter via a network.
- Rule 2: The priority is 9999, and the behavior and match condition combination determines to allow new data packets from any IP address/port, with any protocol, or to any IP address/port, to flow into the specified VPC vRouter via a network.
- Rule 3: the default rule with a priority of 10000. The behavior and match condition combination determines to reject data packets from any IP address/port, with any protocol, in any status, or to any IP address/port, from flowing into the specified VPC vRouter via a network. You can modify the behavior of the rule. Valid values: accept, drop, and reject.
- Firewall rules that take effect on the egress
direction of VPC vRouter NICs:
- Rule 1: the default rule with a priority of 10000. The behavior and match condition combination determines to reject data packets from any IP address/port, with any protocol, in any status, or to any IP address/port, from flowing into the specified VPC vRouter via a network. You can modify the behavior of the rule. Valid values: accept, drop, and reject.
- System rules cannot be modified, except the behavior of the default rule.
- System rules cannot be created or deleted.
- Firewall rules that take effect on the ingress
direction of VPC vRouter NICs:
- Custom rules: rules that you customize. You can select the
ingress or egress direction that the rules take effect and
configure the rule priorities, match conditions, and
behaviors.
- You can associate a rule with the egress or ingress flow direction of
VPC vRouter NICs:
- Rule template: A rule template is a template that you can select when you add rules to a rule set or a firewall.
- IP/Port set: An IP or port set is a set of IP addresses or ports that you can select when you add rules to a rule set or a firewall.
Fundamentals
ZStack Cloud allows you to associate rule sets and rules with the ingress and egress direction of VPC vRouter NICs. Then traffics that flow in or out of the VPC vRouter NICs are filtered based on the rule priority, match condition, behavior, and the effect direction. This ensures the security of data communications across VPC networks, of VPC vRouters, and of user business operations.

- When VM-1 attempts to access VM-3: The traffic from VM-1 will match the inbound rule set of the public NIC on the VPC vRouter. If malicious traffics are detected, the access is denied.
- When VM-2 attempts to access VM-4: The traffic from VM-2 will match the inbound rule of the public NIC on the VPC vRouter, and then will match the outbound rule set of the private NIC on the VPC vRouter. If trusted traffics are detected, the access is allowed.
- When Server-2 attempts to access Server-1: The traffic from Sever-2 will match the inbound rule set of the private NIC on the VPC vRouter, and then will match the outbound rule set of the public NIC on the VPC vRouter. If trusted traffics are detected, the access is allowed.
Firewall vs Security
| Item | Security Group | Firewall |
|---|---|---|
| Application scope | VM NIC | The entire VPC network |
| Deployment mode | Distributed | Centralized |
| Deployment location | VM instance | VPC vRouter |
| Configuration policy | Supports only Allow policies | Allows you to customize Accept, Drop, or Reject policies as needed |
| Priority | Takes effect based on the predefined rule sequence | Allows you to customize priorities |
| Match condition | Source IP address, source port, and protocol | Source IP address, source port, destination IP address, destination port, protocol, and packet status |
Security Group
A security group provides security control services for VM NICs. It filters the ingress or egress TCP, UDP, and ICMP packets of VM NICs based on the specified security rules.
Characteristics
Security Group and Security Rule
- Security rules filter flows based on the flow source or flow destination.
They can be categorized into the following two types based on the direction
of flows they control:
- Ingress Rule: Ingress rules take effect on flows accessing VM NICs. They are responsible for filtering ingress flow sources.
- Egress Rule: Egress rules take effect on flows out of VM NICs. They are responsible for filtering egress flow destinations.
- You can set IP addresses or other security group as flow
sources/destinations of security rules.
- IP address as source: A source IP is filtered by ingress rules. The rules may allow or reject the flows from this IP address to access VM NICs.
- Security group as source: A source security group is filtered by ingress rules. The rules may allow or reject the flows from this security group to access VM NICs.
- IP address as destination: A destination IP is filtered by egress rules. The rules may allow or reject VM NICs to access this IP address.
- Security group as destination:A destination security group is filtered by egress rules. The rules may allow or reject VM NICs to access this security group.
- You can set priorities for rules on the same direction. The highest rule take effect when a conflict occurs in such a scenario as you set more than one rule, especially an allow rule and a reject rule, on the same source or destination.
- By default, mutual communications among NICs in the same security group are allowed and the system automatically add corresponding ingress/egress rules to the security group to ensure these mutual communication. These default rules cannot be modified or deleted. If you want to cancel the mutual communications, just disable these rules.
Security Group and VM NIC
- If you attach more than one security groups to a VM NIC, you can set
priorities for these groups. The NIC matches the rules of the group with the
highest priority first, and then the group of lower priorities.
Note: By
default, all admin security group have higher priority than user
security groups. - After attached to security groups, you need to set a default flow policy to process the flows that are not stipulated by security group rules. By default, all ingress rules that are not stipulated are rejected and all egress rules that are not stipulated are allowed.
Security Group and Permission
- A tenant/sub-account can view and manage security groups owned by itself.
- The administrator can view and manage all security group. When attach security groups to NICs, note that an admin security group can be attached to any NIC, while To a tenant/sub-account security group can be attached to only NICs owned by the same tenant/sub-account.
Considerations
- If you use a security group along with other network services, such as load balancing and route table, make sure that the security group rules required by these network services are added to the security group.
- Public networks, flat networks, and VPC networks support the security group service. It is provided by the security group network service module, which uses iptables to implement security control.
- A security group is a distributed firewall. Each security rule change, NIC association or disassociation will cause the security group rule to be updated on all associated VM instances.
Virtual IP
- VIPs created from a public network can provide network services such as EIP and load balancing for flat networks.
- VIPs created from a public network can provide network services, such as EIP, port forwarding, load balancing, and IPsec tunnel, for VPC networks.
- VIPs created from a VPC network can provide load balancing services for VPC networks.
- VIPs created from a flat network can provide network services, such as EIP and load balancing, for flat networks.
You can use a VIP to provide performance-shared load balancing services. A performance-shared load balancer uses a VPC vRouter to provide load balancing services. Traffic is distributed to backend servers by the VPC vRouter. If the VPC vRouter is providing multiple services, the load balancing service shares the performance of the VPC vRouter along with other services.

Concepts
- Public VIP: VIPs created from a public network. You can manually create a
public VIP or use a public VIP automatically created after a VPC vRouter
creation.
- A public VIP can provide network services, such as EIP and load balancing, for flat networks. A public VIP can also provide network services, such as EIP, port forwarding, load balancing, and IPsec tunnel, for VPC networks.
- You can use a public VIP to simultaneously provide port forwarding, load balancing, and IPsec tunnel services. You can also use a public VIP to provide one service for multiple VM instances. However, you cannot specify the same port number for different services.
- A public VIP supports QoS, monitoring data, performance TOP 5, performance analysis, alarm, and other features.
- VPC VIP: VIPs created from a VPC network. A VPC VIP can only be manually
created.
- A VPC VIP can provide load balancing services for VPC networks.
- VPC VIPs do not support QoS, monitoring data, performance TOP 5, performance analysis, and alarm features.
- Flat network VIP: VIPs created from a flat network. You can manually create
a flat network VIP or use a flat network VIP automatically created after a
VPC vRouter creation.
- A flat network VIP provides network services, such as EIP and load balancing, for flat networks.
- A flat network VIP supports QoS, monitoring data, performance TOP 5, performance analysis, alarm, and other features.
- Custom VIP: manually created VIPs. You can customize a public VIP, VPC VIP,
and flat network VIP based on your needs.
- One custom public VIP can only be applied to one EIP instance.
- Custom VIPs cannot be used across VPC vRouters.
- When you use the EIP, port forwarding, load balancing, or IPsec tunnel services, you can select Create VIP to create a new VIP, or you can select Use Existing VIP to provide the services.
- System VIP: VIPs automatically created by using the L3 network attached to
VPC vRouters after the VPC vRouter creation. System VIPS can be categorized
into public VIPs and flat network VIPs.
- A system VIP belongs to only one VPC vRouter. When you attach a public network to a VPC vRouter, the Cloud will automatically create a system VIP. This VIP is the default IP address of the vRouter in the network.
- By default, the system VIPs created from public networks are used to provide the source network address translation (SNAT) service.
- When you use the EIP, port forwarding, load balancing, or IPsec tunnel service, you can select Use Existing VIP to provide the services.
Elastic IP
An elastic IP address (EIP) functions based on the NAT technology. IP addresses in a private network are translated into an EIP that is in another network. This way, private networks can be accessed from other networks by using EIPs.
Concepts
- Public EIP: The EIP service provided by a virtual IP address (VIP) created
from a public network.
- The private network is an isolated network that cannot be directly accessed from other networks or the Internet. A public EIP can directly associate the access to a public network with the VM IP of the private network.
- A public EIP can be associated with or disassociated from a VM instance dynamically.
- A public EIP can be associated with VM instances created from
private networks, such as flat networks and VPC networks.
- The public EIP realized by a distributed EIP can access flat networks through public networks.
- A VPC vRouter can be used to access VPC networks through public networks.
- Flat EIP: The EIP service provided by a VIP created from a flat network.
- L3 isolations exist between flat networks of different network ranges. Therefore, these flat networks cannot be accessed directly. A flat EIP can be used to associate the access to one flat network with the VM IP created from another flat network.
- A flat EIP can be associated with or disassociated from a VM instance dynamically.
- A flat EIP can be associated with VM instances created from other flat networks.
Scenarios
- EIP usage in a flat network scenario:
The following diagram shows how an EIP is used in a flat network scenario.
Figure 3. EIP Usage in Flat Network Scenario 
- Public networks can connect to the Internet through firewalls.
- Flat networks provide IP addresses for VM instances in each compute node. Notice that these IP addresses cannot connect to the Internet by default.
- A distributed EIP is deployed on each compute node, and can be associated with public networks or private networks separately.
- EIP usage in a VPC network scenario:
The following diagram shows how an EIP is used in a VPC network scenario.
Figure 4. EIP Usage in VPC Network Scenario 
Considerations
- An instance can have only one EIP associated at a time.
- The EIP association and disassociation operations take effect in real time.
- Associating or disassociating an EIP does not affect the running of an instance.
Port Forwarding
Port forwarding functions based on the layer-3 forwarding service of VPC vRouters. This service forwards traffic flows of the specified IP addresses and ports in a public network to specified ports of VM instances by using the specified protocol. If your public IP addresses are insufficient, you can configure port forwarding for multiple VM instances by using one public IP address and port.
- VM instances in a private network for which SNAT is enabled can access external networks. However, the VM instances in a private network are inaccessible to external networks. You can use a port forwarding rule to allow the access to specified ports of the VM instances from external networks.
- You can associate a port forwarding rule with a VM NIC and disassociate a port forwarding rule from a VM NIC based on your business needs.
- Port forwarding services are provided only by VPC vRouters.Port forwarding rules are applied to a public network associated with a VPC vRouter and a private network where VM instances reside, as shown in the following figure.
Figure 5. Port Forwarding 
- Port forwarding is achieved by using a virtual IP address (VIP).
- A VIP is an available IP address in a public network.
- You can use an existing VIP or create a VIP to provide port forwarding services.
- Two port forwarding methods are supported: port-to-port mapping and port range-based mapping.
Figure 6. VIP-Port Forwarding 
Limits
- The firewall policy of a VM instance must open the port specified for port forwarding.
- The ports used for port forwarding by the same VIP must be unique.
- You can use a VIP to provide port forwarding services for different ports of multiple VM NICs in the same L3 network.
- You can use only one VIP to provide port forwarding services for a VM instance.
- If you disassociate a VIP from a VM instance and then associate the VIP with the VM instance, you can select VM NICs that reside in the same L3 network as the previously disassociated VM instance.
- The source port range and target port range used for port forwarding must be consistent. For example, if you set the source port range to 22-80, the target port range must also be 22-80.
Load Balancing
A load balancer distributes traffic flows of a virtual IP address to backend servers. It automatically inspects the availability of backend servers and isolates unavailable servers during traffic distribution. This way, the load balancer improves the availability and service capability of your business. ZStack Cloud supports multiple NIC teaming for NIC redundancy and load-balancing capabilities.
- Shared-performance load balancing: uses a VPC vRouter to provide load balancing services. Traffic is distributed to backend servers by the VPC vRouter. If the VPC vRouter is providing multiple services, the load balancing service shares the performance of the VPC vRouter with other services.
- Dedicated-performance load balancing: uses a load balancer instance to provide load balancing services. Traffic is distributed to backend servers by the load balancer instance. A load balancer instance is a custom VM instance dedicated to providing load balancing services.
Concepts
- Frontend network: A frontend network is a type of network that is associated
with a load balancer. Requests from the network are distributed by the load balancer
to backend servers based on a specified policy.
- Shared-performance load balancer: You can specify a public network or VPC network as a frontend network.
- Dedicated-performance load balancer: You can specify a public network, flat network, or VPC network as a frontend network.
- Backend network:A backend network is a type of network that is associated
with a load balancer. Requests from frontend networks are distributed by the load
balancer to servers in the backend network.
- Shared-Performance Load Balancer:
- If you specify a public network as the frontend network, you can specify any one of the VPC networks of the VPC vRouter to which the public network is attached as the backend network.
- If you specify a VPC network as the frontend network, you can specify any one of the VPC networks of the VPC vRouter to which the VPC network is attached as the backend network.
- Dedicated-Performance Load Balancer:
- If you specify a public network as the frontend network, you can specify a flat network or any one of the VPC networks of the VPC vRouter to which the public network is attached as the backend network.
- If you specify a flat network as the frontend network, you must specify the same network as the backend network.
- If you specify a VPC network of a VPC vRouter as the frontend network, you must specify the same network as the backend network. If you need to associate the load balancer with more backend networks, you can attach more NICs to the load balancer instance. Note that the backend networks that you associate are among the other VPC networks of the VPC vRouter.
- Shared-Performance Load Balancer:
- Load balancer instance: A load balancer instance is a custom VM instance used to
provide load balancing services.
- The network where the default NIC of a load balancer instance resides is the frontend network of the load balancer instance. The default NIC cannot be detached from a load balancer instance.
- The networks of the NICs of a load balancer instance, except the default NIC, are the backend networks of the load balancer.
- The management NIC (if any) cannot be detached.
- LB image: A dedicated-performance load balancer (LB) image
encapsulates dedicated-performance load-balancing services and can be used to create
load balancer instances. However, a dedicated-performance load balancer image cannot
be used to create VM instances.
- An LB image is a custom image. You can download the image from the Cloud official website and add the image to the platform.
- Load balancer instance: A load balancer (LB) instance offering defines the CPU, memory, image, and management network configuration settings used to create LB instances. LB instances provide load balancing services for the public network, flat network, and VPC network.
- Listener: A listener monitors the frontend requests of a load
balancer and distributes the requests to a backend server based on the specified
policy. In addition, the listener performs health checks on backend
servers.
- Listeners support the TCP, HTTP, HTTPS, and UDP protocols.
- A load balancer can be associated with multiple listeners while a listener can be associated with only one load balancer.
- If the listener uses the weighted round-robin load-balancing algorithm, you can set the weight value for each individual backend server on the backend server group details page.
- Forwarding rule: A forwarding rule forwards the requests from different
domain names or URLs to different backend server groups.
- A forwarding rule is composed of a domain name and URL.
- A listener can have up to 40 forwarding rules.
- You can configure a domain-based or URL-based forwarding rule for a load balancer. You can add multiple forwarding rules to a listener and associate these rules with different backend server groups.
- A forwarding rule is matched by using the exact match and fuzzy match mechanisms. If multiple forwarding rules are matched, the forwarding rule matched through the exact match mechanism is used.
- Certificate: If you select HTTPS for a listener, associate it with a certificate to make the listener take effect. You can upload either a certificate or certificate chain.
- Backend server group: A backend server group is a group of backend servers that
handles requests distributed by load balancers. It is the basic unit for traffic
distribution by load balancer instances.
- A load balancer can be associated with multiple backend server groups, while a backend server group can be associated with only one load balancer.
- A backend server group can be associated with multiple listeners in the same load balancer.
- Creating a load balancer will automatically create an empty backend server group.
- Backend server: A backend server handles requests distributed by a load balancer. You can add a VM instance on the Cloud or a server on a third-party cloud as a backend server.
IPsec Tunnel
An IPSec tunnel encrypts and verifies IP packets that transmit over a virtual private network (VPN) from one site to another.
- IPsec negotiation mode:
For security reasons, we only support the Main mode. The Aggressive mode is not supported.
- IPsec security protocol:
We support only the Encapsulating Security Payload (ESP) protocol.
- IPsec encapsulation mode:
We support the Tunnel mode. The Transport mode is not supported.
- IPsec routing model:
We support only policy-based IPSec VPN. Route-based IPSec VPN is not supported. Therefore, the tunnel supports only unicast data, and does not support multicast and broadcast.
- Prepare two isolated ZStack Cloud and set up two VPC environments in these two clouds respectively. In each VPC environment, create two VPC networks respectively and make sure that these VPC networks cannot communicate with each other. Then, you can use an IPsec tunnel to achieve communication between these VPC networks.
