Establishing a VPN connection using Remote Desktop Manager is easy. Unfortunately, adding routes has to be done manually. Wait for the adapter to connect, find the IP and add the desired routes. Even if you use a script (such as a Power Shell script), it’s still a redundant time consuming task – and one you can certainly live without.
This feature is part of a larger concept called Post/Pre VPN Commands, and allows you to run any type of script or executable post-VPN-connect and pre-VPN-disconnect.
1.Configure the VPN to wait until the adapter connects and gets assigned an IP (we'll be using the adapter’s IP to define the routes).
2.Click on Add to display the Custom Pre/Post Connect VPN Commands dialog.
3.Create a route definition by selecting “Route (Add/Remove)” radio item. Finally, set the IP and any other required information.