Changes between Version 1 and Version 2 of Ticket #1058, comment 6


Ignore:
Timestamp:
07/05/18 21:08:45 (4 years ago)
Author:
Selva Nair
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1058, comment 6

    v1 v2  
    11No, I don't have any docs on the legacy service or its .NET replacement.
    22
    3 Its settings are determined by the following registry keys:
     3Its settings are determined by the following registry keys all of which have reasonable defaults as installed:
    44{{{
    5 exe_path   -- which executable to start
    6 config_ext -- extension of config files
     5exe_path   -- which executable to start (install-path\bin\openvpn.exe by default)
     6config_ext -- extension of config files (.ovpn by default)
    77config_dir -- where configs live (this directory and its immediate subdirectories are scanned).
    88           -- This also becomes the working directory for openvpn.exe
    9 log_dir    -- where to create log files
    10 log_append -- append to log or not
    11 priority   -- for openvpn.exe process
     9              (install-path\config by default)
     10log_dir    -- where to create log files (install-path\log\ by default)
     11log_append -- append to log or not (0 by default)
     12priority   -- for openvpn.exe process (NORMAL by default)
    1213}}}
    1314
     15So a simple instruction would be to name the config with extension {{{.ovpn}}} and copy it to {{{install-path\config}}} or one of its subdirectories. Then set the OpenVPNService to start automatically and start it:
     16
     17{{{
     18sc config OpenVPNService start= auto
     19sc start OpenVPNService
     20}}}
     21Note: the above commands should be run from an elevated command prompt and the space after start= is required.