Scripting Help

Discussion in 'privacy technology' started by n8chavez, Aug 15, 2015.

  1. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,336
    Location:
    Location Unknown
    I'm using the VPN client viscosity, based on OpenVPN, on my win10 x64 machine. It has the ability to run scripts before connection, during, and in the event of connection disconnect.

    I can't figure out why my disconnect script works, yet my pre-connect script does not. Viscosity is run as admin as best I can tell. It has to be, otherwise the disconnect script wouldn't run. The adapter name is correct. My goal would be to have the adapter disable itself at disconnect, then re-enable itself upon re-connection. Again, my disconnect script works (the adapter disables itself) but the Pre-Connect script does not, so the adapter never re-enables itself. Any thoughts as to what I'm doing wrong?

    disconnect script:

    Pre-Connect script:

    Thanks.

    n8
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.