After the IPsec connection is configured and the negotiation succeeds, you can download the IPsec connection configuration and configure the local gateway.
- Log on to the VPC console.
- In the left-side navigation pane, choose .
- Select a region.
On the IPsec Connections page, find the target IPsec-VPN connection, and click Download Configuration in the Actions column.
Note The RemoteSubnet and LocalSubnet in the downloaded configuration are opposite to the local network and the remote network when you create an IPsec-VPN connection. From the perspective of VPN Gateway, the remote network is the on-premises data center and the local network is the VPC, whereas from the perspective of the on-premises data center, the remote network is the VPC and the local network is the on-premises data center.