Skip to main content

Create a VPN connection

This tutorial guides you through the basic steps to create a VPN (Virtual Private Network) connection between your corporate network and a VPC (Virtual Private Cloud) in the Numspot Cloud.

Prerequisites

  • A Numspot account with the required permissions
  • A VPC created in the Numspot Cloud
  • A router or firewall in your corporate network that will act as a client gateway

Step 1: Create a client gateway

The client gateway represents your network device (router or firewall) located in your corporate network.

  1. Go to the Numspot console
  2. Navigate to Connectivity > VPN
  3. Click Client Gateways > Create a client gateway
  4. Fill in the following information:
    • Name: A descriptive name for your client gateway
    • Public IP address: The public IP address of your router/firewall
    • BGP type (Border Gateway Protocol): The type of routing to use

Step 2: Create a virtual gateway

The virtual gateway is the gateway on the Numspot side that will be attached to your VPC.

  1. In the console, click Virtual Gateways > Create a virtual gateway
  2. Select the VPC to which you want to attach the gateway
  3. Give your virtual gateway a name
  4. Click Create

Step 3: Create the VPN connection

The VPN connection establishes the secure tunnel between the client gateway and the virtual gateway.

  1. Click VPN Connections > Create a VPN connection
  2. Select your client gateway
  3. Select your virtual gateway
  4. Configure the tunnel parameters:
    • Routing type: Static or dynamic (BGP)
    • CIDR range (Classless Inter-Domain Routing): The networks on your side (for example, 192.168.1.0/24)
  5. Click Create

Step 4: Configure your network device

Once the connection is created, download the configuration for your router/firewall:

  1. Select the VPN connection you created
  2. Click Download the configuration
  3. Choose the device type (Cisco, Juniper, etc.)
  4. Apply the configuration on your router/firewall

Step 5: Verify the connection

  1. Make sure that your router generates traffic towards the VPC
  2. Check that the tunnel switches to the Up state in the console
  3. Test connectivity by pinging a VM in the VPC from your corporate network
tip

The VPN tunnel becomes active only when traffic is generated from your side (the client gateway). Make sure to initiate traffic to establish the connection.

Next steps

  • Configure the security groups to allow traffic between your networks
  • Set up a second VPN connection for high availability
  • See the documentation on VPN concepts