I have a scenario where almost all traffic for a location needs to go to a single VPC. There will be some minimal amount of traffic that needs to go to the internet though that will be coming over the site to site tunnel. Is it possible to route to the internet traffic that is coming over a site to site VPN? The thread below mentions it, but doesn’t have the specifics on the routing and I think that is my issue.
https://www.reddit.com/r/aws/comments/elxqux/help_with_routing_all_traffic_from_ipsec_through/
I didn’t understand very well your scenario. You want to route a location (A) over site to site vpn to your VPC (B), and you need mostly A->B, but also route internet over your VPC instead of a split tunnel?
OK, so you have your users at Location A (which I take to be off of AWS) and all the applications they need are at Location B (which is an AWS VPC). They also need access to the internet.
You have set up a site-to-site VPN connection between A and B and want to know if you can route internet traffic to Location B and serve it to Location A.
The first question would be why? If you are using a site-to-site VPN connection it means that both sites have access to the internet, so if a user at Location A wants access to the internet, just route it right from Location A to the Internet instead of routing it to Location B and then routing it out there.
Remember that you are charged for the amount of outbound bandwidth you use. So if you are routing traffic through Location B, you will be charged for every byte that comes out of there. So keeping the traffic to only the stuff at Location B is more cost-effective and efficient.
Hope this helps. If the scenario is different than what I described let us know.