VPN Client Routing: Send Only Google Domains Through VPN with Multi-MWAN

My VPN client was slowing down every site I opened. I only needed a handful of services to go through the tunnel, but my setup was sending everything. If you have ever wanted to route specific domains through a VPN without dragging your whole browsing session along, the Multi-MWAN rules in this VPN client workflow are the part to learn.

1. The Pain Point: Full-Tunnel Everything

A VPN client is often treated as an all-or-nothing switch. Turn it on, and every request takes the same path. That is fine for privacy, but it is frustrating when you only need a few domains to use the VPN. In my case, I wanted Google traffic to go through the VPN while ordinary browsing stayed on the normal connection. The fix was not a new VPN client feature. It was a routing rule in Multi-MWAN.

2. Before You Build the Rule

You first need the VPN client added and its information visible in the interface. The wiki covers Add VPN Client and View VPN Information as the starting points. Once the client is there, you can move to Multi-MWAN and build a rule that uses it. Do not skip this step; the policy you create later needs a VPN path to point to.

3. Create a Multi-MWAN Solution for the VPN

Inside Multi-MWAN, create a new solution. Think of the solution as the route you want traffic to take. In this case, the solution represents your VPN client. Give it a clear name so you can recognize it when you add policies later. This is the structural piece that makes domain-based routing possible.

Creating a Multi-MWAN solution for the VPN client

4. Add a Policy That Uses That Solution

Next, create a new policy and select the solution you just made. The policy is where you define what should match. Instead of matching all traffic, you match only the domains you care about. That is the key difference between a full tunnel and a targeted rule. You get the VPN path for selected destinations without forcing every other request through it.

5. Real Example: Routing Google Domains

The wiki example is simple and practical. Visit Google, open the browser Network Panel, and look at the domains being requested. You will see the pattern *.google.com. Add that domain pattern to the Multi-MWAN policy. From then on, requests that match the Google domains can use the VPN solution, while the rest of your browsing does not need to follow the same route.

Adding Google domain pattern to a Multi-MWAN policy

6. Why This Workflow Is Worth It

This approach solved my original pain point: I stopped treating the VPN client as a blanket switch. I could send only the domains I needed through the tunnel and keep the rest of my traffic on the normal path. The workflow is easy to repeat, too. Analyze the domains for a site, add them to a policy, and let Multi-MWAN handle the routing. For anyone who wants more control without a complicated setup, this is a clean way to use the VPN client.

Source: http://wiki.wfilterngf.com/Vpnclient