Changing PC IP address on connection/disconnection

Changing PC IP address on connection/disconnection

avatar

Hello,

i'm trying to set the ip address of the pc during a VPN connection to another network.

On the "Events" section of the VPN properties I set a .vbs script to change ip address on "Before connect" and another .vbs script on "After disconnect"

The "Before connect" script works correctly setting the ip address of the pc, then connection to VPN occurs.
When I click the "Close Connection" button the other script does not works, it seems like nothing happens.

RDM Enterprise Edtion 11.0.14.0

Any suggestion is appreciated

Thanks in advance

2.png

1.png

All Comments (7)

avatar

Hi,
What type of connection it is? Is it a VPN or it's another connection containing a VPN?

David Hervieux

avatar

Hi,

it's a WAN Miniport (PPTP).

On RDM I choosed Microsoft VPN on VPN Type.

avatar

I will test this tomorrow and see what is missing.

David Hervieux

avatar

Updated to version 11.0.16.0, the issue still remains.

avatar

This is not fixed yet. The bug was entered after the 11.0.16.0 planning.

David Hervieux

avatar

Hello,
This will be fixed in the next update.

David Hervieux

avatar

I can confirm that the bug is fixed , disconnection script now works correctly.

Thank you