Changes between Version 1 and Version 2 of Ticket #1058, comment 6
- Timestamp:
- 07/05/18 21:08:45 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1058, comment 6
v1 v2 1 1 No, I don't have any docs on the legacy service or its .NET replacement. 2 2 3 Its settings are determined by the following registry keys :3 Its settings are determined by the following registry keys all of which have reasonable defaults as installed: 4 4 {{{ 5 exe_path -- which executable to start 6 config_ext -- extension of config files 5 exe_path -- which executable to start (install-path\bin\openvpn.exe by default) 6 config_ext -- extension of config files (.ovpn by default) 7 7 config_dir -- where configs live (this directory and its immediate subdirectories are scanned). 8 8 -- 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) 10 log_dir -- where to create log files (install-path\log\ by default) 11 log_append -- append to log or not (0 by default) 12 priority -- for openvpn.exe process (NORMAL by default) 12 13 }}} 13 14 15 So 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 {{{ 18 sc config OpenVPNService start= auto 19 sc start OpenVPNService 20 }}} 21 Note: the above commands should be run from an elevated command prompt and the space after start= is required.