You can also use OpenVPN's scripting system for running scripts requiring elevation, you can find more information on this in our Preventing Network Leaks Documentation. Instead of having a Before Connected Script in Viscosity, you can instead run your script directly, elevating it if required, and then instruct Viscosity to connect a specified connection. The simplest method is to run Viscosity elevated, however we do not recommend this and doing so is at your own risk as it gives Viscosity more access to your system than it otherwise needs.Īlternatively, you may wish to use Viscosity's Scripting System. If you wish to run scripts which require elevation to function correctly, you have a few options. Viscosity runs as a standard user on your system, this means scripts or commands that require elevation or administrator rights to run will not work. Before Connect will run a script right when you click to connect a connection.Ĭonnected will run a script when the connection is connected and active, and Disconnected will run a script when the connection has completed it's disconnect procedures. Viscosity offers three times to run a script during the connection cycle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |