On 16/02/18 13:30, Selva Nair wrote:
> Hi,
> 
> On Fri, Feb 16, 2018 at 12:05 AM, Илья Шипицин <chipits...@gmail.com> wrote:
>> It might be only configured using gui/registry, right?
>>
>> Conditional configuring using ovpn files is not possible ? (Like "use those
>> scripts only on windows)
> 
> The scripts I am referring to are run by the Windows GUI and are not
> specified in the config file at all. See the README file for how they
> are named etc. The timeouts can be changed in the settings menu.
> 
> Windows GUI uses .bat files as scripts and runs them as user who
> starts the GUI. (Tunnelblick uses .sh files, I believe). In any case
> openvpn.exe only runs scripts specified in the config so no harm in
> distributing windows scripts to non-windows users. Those will just get
> ignored.

As happening in the windows and macOS GUI, this definitely looks like
something that should be implemented "outside" of the openvpn core. It
would only add more complexity to the wrong place otherwise.

On linux, for example, it could be the init script's role to run some
scripts and launch openvpn only if the script succeeds.

After all, all this logic is really platform dependent. OpenVPN already
provides the management interface for "slightly more complex" features.

My 2 cents.

Regards,


-- 
Antonio Quartulli

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to