Exclude Traffic from the VPN Tunnel with scripts (GP 2.3)


ATTENTION Customers, All Partners and Employees: The Customer Support Portal (CSP) will be undergoing maintenance and unavailable on Saturday, November 7, 2020, from 11 am to 11 pm PST. Please read our blog for more information.

L4 Transporter

Exclude Traffic from the VPN Tunnel with scripts (GP 2.3)

Dear community,


have you ever tried to exclude IPs from the VPN tunnel using the GP 2.3 feature:



In Windows "route add" or "netsh" commands requires elevation (run as Administrator). Even to be logged in with a admin account doesn't help.


I tried to run a powershell script (regkey command: powershell.exe C:\temp\routing.ps1) instead of a batch file with GP 2.3. . GP-Service logs looks good.


So my question: How GP can run scripts which requires elevation???



Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!