In this step, we will configure routing between the Transit Gateway and the VPC to allow traffic to flow over the VPN connection.
Access VPC
Select Transit gateway route tables
Choose the Transit gateway route table that was created by default, and confirm that it has two attachments
Switch to the Routes tab
Select Create static route
In the Create static route interface
10.11.0.0/16ActiveVPNℹ️ Information: A static route in a Transit Gateway defines how traffic is routed to specific destination networks through different attachments.
Configure the Route Table for the VPC
In the Edit routes interface
10.11.0.0/16 (the CIDR block of the ASG VPN VPC)Do the same for the Route table - Private
💡 Pro Tip: When configuring route tables, make sure you add a route for every subnet that needs to communicate over the VPN. A missing route can lead to one-way connectivity or no connectivity at all.
🔒 Security Note: Route table configuration is an important part of network access control. Only route the address ranges you actually need, to minimize the potential attack surface.
⚠️ Warning: Make sure there is no overlap between the IP address ranges of the connected networks. Overlapping CIDR blocks can cause routing problems and unstable connectivity.