Step 10: Add VPN to Route Tables

After creating the VPN connection, you must update your route tables to direct traffic destined for your local network through the Virtual Private Gateway.

Update the Public-Server Route Table

  1. Navigate to VPC Dashboard and select Route Tables.
  1. Select PUBLIC ROUTE 10.0.1.x.
  1. Click the Routes tab.
  1. Click Edit and select Add Another Route.
  1. Enter the following:
Destination Target
192.168.1.0/24 My-Company-VGW
  1. Click Save.
  1. Click the Route Propagation tab.
  1. Click Edit and check the box to enable route propagation.
  1. Click Save.

Update the Private-Server Route Table

  1. Select PRIVATE ROUTE 10.0.2.x.
  1. Click the Routes tab.
  1. Click Edit and select Add Another Route.
  1. Enter the following:
Destination Target
192.168.1.0/24 My-Company-VGW
  1. Click Save.
  1. Click the Route Propagation tab.
  1. Click Edit and check the box to enable route propagation.
  1. Click Save.

Expected Route Table Configuration

After configuration, your route tables should display:

Public route table

Destination Target Status Propagated
10.0.0.0/16 local Active No
0.0.0.0/0 My-Company-IGW Active No
192.168.1.0/24 My-Company-VGW Active Yes

Private route table

Destination Target Status Propagated
10.0.0.0/16 local Active No
192.168.1.0/24 My-Company-VGW Active Yes

Note: The private route table may also show a route to 0.0.0.0/0 through a NAT gateway if you configured one. NAT configuration is optional and not covered in this documentation.


Related Topics

← Back to Index