Add static route after establishing vpn connection

Add static route after establishing vpn connection

avatar

Hi,

i have the following setup:
- RDP Session configured to dial a vpn connection(Mircosoft VPN) if the host is not reachable

My problem is, that the used subnet in the vpn network is the same which is used locally. Thus i have to add some static routes to be able to connect to the host after the vpn connection has been established. I did not find any possibility to add some static routes and therefore I tried to use a batch script for that. As I did not find any option with the vpn configuration to run a script after establishing the conneciton i tried to create a subconnection to run the batch script. However it seems that the subconnection is executed before establishing the vpn connection. Is there any other possibility for me to add the static routes automatically?

Regards,
vbo
edited by vbo on 4/25/2012

All Comments (4)

avatar

Hi,
I have a project that I had to postponed. This should resolve this issue and I hope to get back to it soon.

David Hervieux

avatar

Great. As far as I know there is currently no tool available that is able to open a vpn connection and then set some static routes. Having this feature in remote desktop manger would be great. Please keep me informed.

avatar

openvpn could do it with custom scripts.
I had it running in earlier versions until I decided to set the routes on the server side and push it to the clients.
edited by stevecharon on 5/1/2012

RDM 10.5.2.0 Enterprise
RDMS 2.2.7.0

avatar

openVPN would be nice but I have to use a normal WindowsVPN (PPTP). Thus there is no way to use openvpn. Moreover the VPN Server is not under my control.