Is it possible to use "route ADD ... MASK ..." command to exclude an application or website from VPN connection?
Following this question, I was pointed out to this page, where it suggests using the
route ADD <destination_network> MASK <subnet_mask> <gateway_ip> <metric_cost>
command to "Add a Static TCP/IP Route to the Windows Routing Table". However, I don't know how to use this command to exclude certain software (e.g., Skype for Business, Microsoft Teams, Microsoft Outlook, Citrix CVViewer ...) and certain websites from the VPN connection. I would appreciate it if you could help me know how to do it on a Windows machine where I don't have admin privileges.
My environment is Windows 10 version 1803 and my VPN software appears to be F5
Routing works based on the destination IP address, it doesn't care or even know which application is trying to reach it.
You can add routes to specific target IP addresses or networks, but you will need to know which destination a software will try to reach; otherwise there is no way to do what you are asking.