After creating the VPN policies, configure static routes on the SonicWall NSv firewall to route traffic destined for the SMA networks through the VPN tunnels.
Step 1 Create Network Objects
Create a network object named ApplianceVpcCidr. For step-by-step instructions, refer to Adding Address Objects.
Enter the SMA appliance VPC CIDR subnet information.
Click Save.
Create another network object named StaticPoolCidr.
Enter the SMA static pool CIDR subnet information.
Click Save.
Step 2 Configure Static Routes for the SMA Appliance VPC
Add static routes for the SMA appliance VPC CIDR (ApplianceVpcCidr) through each VPN tunnel interface. Assign a lower metric to the preferred tunnel interface.
Navigate to POLICY | Rules and Policies > Routing Rules.
Click + Add to create a new static route.
Configure the following settings:
Save the route.
Create a second static route for the same destination:
Save the route.
Step 3 Configure Static Routes for the SMA Static Pool
Add static routes for the SMA static pool CIDR (StaticPoolCidr) through each VPN tunnel interface. Assign a lower metric to the preferred tunnel interface.
Navigate to POLICY | Rules and Policies > Routing Rules.
Click + Add to create a new static route.
Configure the following settings:
Save the route.
Create a second static route for the same destination:
Save the route.
If BGP is configured on the NSv using the ASN specified in SiteToSiteRemoteGatewayBgpAsn, the AWS Transit Gateway automatically advertises the applicable routes, reducing the need for manual route configuration.