Help Center> Virtual Private Network> FAQ> General Questions> What Are the Impacts of a VPN on an On-premises Network? What Are the Changes to the Route for Accessing an ECS?

What Are the Impacts of a VPN on an On-premises Network? What Are the Changes to the Route for Accessing an ECS?

When you configure a VPN, configure the following on the gateway of the on-premises data center.

  1. Configure IKE/IPsec policies.
  2. Specify interesting traffic (ACL rules).
  3. Check the route of the gateway in the on-premises data center to ensure that traffic destined for the HUAWEI CLOUD VPC is routed to the correct egress interface (the interface with IPsec policy bound).

After the VPN configuration is complete, only the traffic matching the ACL rules enters the VPN tunnel.

For example, before a VPN is created, on-premises users access the ECS through the EIP bound to the ECS. After the VPN is created, data flows matching the ACL rules access the private IP address of the ECS through the VPN tunnel.