Process route via VPN
Last updated
Was this helpful?
Last updated
Was this helpful?
The Unified SDK provides a powerful feature which allows you to selectively route specific processes through the VPN tunnel while keeping all other traffic unaffected. This is the opposite of the feature.
When you enable the "Process route via VPN" option and specify a list of processes, only the network traffic from those processes will be sent through the VPN tunnel. All other processes will communicate normally, outside the VPN. This gives you fine-grained control over which applications use the VPN and which don't.
Additional info about common mistakes can be found on the page .
To configure the processes to route through the VPN, use the ConfigureRouteViaVpnProcesses
or ConfigureRouteViaVpnProcessesAsync
method of the SDK. Here's an example:
In this example, we create a new RouteViaVpnProcessesRequest
and specify the list of processes to route via VPN in the Processes
property. Then we pass this request to the ConfigureRouteViaVpnProcessesAsync
method.
Process route via VPN requires the full path to the process file.
After configuring the processes, you can start the VPN with the "Process route via VPN" feature enabled:
Please note the following limitations of the "Process route via VPN" feature:
It cannot be enabled or disabled while the VPN tunnel is active. You must configure it before starting the VPN.
Defense features (Killswitch, Prevent IP Leaks and Block LocalNetwork) should be disabled with enabling the Route via VPN feature (pass corresponding parameters in the StartVpnRequest with enabling the Route via VPN).