Enabling a Virtual Private Network (VPN)
A Virtual Private Network (VPN) provides a secure and encrypted connection between your on-premises network and the IBM Cloud Virtual Private Cloud (VPC) environment. This allows seamless communication across both environments as if they are part of the same private network.
Once the VPN gateway is provisioned through automation, you must configure the necessary VPN connections to establish the actual data path between the networks. In addition, review and update any required security group rules or routing settings to ensure proper traffic flow and access control. For more information, see the IBM Cloud VPC documentation on Adding connections to a VPN gateway.
Creating VPN gateway (Automation)
During the automation process, a VPN gateway is created in your IBM Cloud VPC. This gateway serves as the termination point for VPN tunnels coming from your on-prem network. For more information, see Creating a VPN gateway.
Steps (After creating VPN gateway)
Below are the steps after creating the VPN gateway:
-
Creating VPN connections - Define the actual VPN tunnels by creating connections under the VPN gateway. This includes specifying peer IP addresses, pre-shared keys, and IKE/IPSec policies.
-
Configuring routing - Ensure that appropriate routes are added to route tables in the VPC subnet(s) to forward traffic to the VPN gateway.
-
Updating Security Group rules - Modify or add security group rules to allow traffic from your on-premises IP ranges to the required VPC resources (for example, port 22 for SSH, port 443 for HTTPS).
-
Network ACLs and Firewall Rules - If network ACLs or additional firewalls (on-prem or in-cloud) are in use, ensure that they are configured to permit VPN traffic.