So I’ve gotten a tunnel established between my AWS VPC and the corporate datacenter, and traffic is flowing! However, there are two different CIDR blocks I need to route to over the tunnel and it doesn’t seem obvious how to set this up without establishing a completely separate tunnel, so I’m looking for a pointer or two. Here’s what I’m looking for:
Apparently SonicWall devices just allow you to put in 10.0.0.0/8 and if there is a more specific subnet for traffic, it will send the packets there. I believe AWS will do the same, but I want to see if there’s a “proper” way to do this.
In my experience setting up multiple tunnels between SonicWalls and VyOS you are better off using an ipsec vti routed tunnel. The configuration you have here results in only one tunnel active at a time while with a vti interface you can route the subnets you need.