The Gateway + Client Corner case

Current Solution

  1. Whenever we are updating the default route, check if the default route we are going to be deleting routes over wg_exit, if not, store that as a router to the internet.
  2. Do our own dns resolution using trust-dns, this lets us check which servers we are using to do the resolving without parsing system config files
  3. Add manual routes for these servers so they always go over the direct route to the internet instead of going over exit tunnels.
2 Likes