Hello,
after hours and hours of searching the internet i gave up finding a solution. So i try to get an answer here.
I have a working openVPN Server, based on pi OS.
For the Installation, i used the Nyr install Script: https://github.com/Nyr/openvpn-install
I am using the latest openvpn Connect v3 version for Windows 10/11 to connect to the server.
That works flawlessly.
So, i am trying to set up the service daemon, following the OFFICIAL instruction:
The Service installs, i can set the config parameters as specified, but it fails to start:
The windwos event log shows a "file not found" Error, but the details show the following event Data:
The profile works, but nonetheless...i deleted the "unsupported Options", just to end up with the same Error, just less detailed:
The Log is written correctly and shows:
I tried this on different machines, without any different outcome, its completely reproduceable.
What am i doing wrong? What file is the service looking for? It obviously reads the config without problems.
Greetings
Michael
after hours and hours of searching the internet i gave up finding a solution. So i try to get an answer here.
I have a working openVPN Server, based on pi OS.
For the Installation, i used the Nyr install Script: https://github.com/Nyr/openvpn-install
I am using the latest openvpn Connect v3 version for Windows 10/11 to connect to the server.
That works flawlessly.
So, i am trying to set up the service daemon, following the OFFICIAL instruction:
The Service installs, i can set the config parameters as specified, but it fails to start:
Code:
C:\Program Files\OpenVPN Connect>ovpnconnector.exe start Service start pending... Service not started. Current State: 1 Exit Code: 0
Code:
OVPNConnectorService UNUSED_OPTIONS_ERROR: Ignored by option 'ignore-unknown-option': block-outside-dns UNKNOWN/UNSUPPORTED OPTIONS: ? Unsupported option (ignored): resolv-retry,persist-key,persist-tun
Code:
OVPNConnectorService UNUSED_OPTIONS_ERROR: UNKNOWN/UNSUPPORTED OPTIONS: ?
Code:
Thu Nov 28 15:18:31 2024 OpenVPN core 3.10.1 win x86_64 64-bit OVPN-DCO Thu Nov 28 15:35:33 2024 OpenVPN core 3.10.1 win x86_64 64-bit OVPN-DCO Thu Nov 28 15:38:44 2024 OpenVPN core 3.10.1 win x86_64 64-bit OVPN-DCO Thu Nov 28 15:38:44 2024 Frame=512/2112/512 mssfix-ctrl=1250 Thu Nov 28 15:38:44 2024 NOTE: This configuration contains options that were not used: Thu Nov 28 15:38:44 2024 Ignored by option 'ignore-unknown-option' Thu Nov 28 15:38:44 2024 0 [block-outside-dns] Thu Nov 28 15:38:44 2024 UNKNOWN/UNSUPPORTED OPTIONS Thu Nov 28 15:38:44 2024 0 [?] Thu Nov 28 15:38:44 2024 Unsupported option (ignored) Thu Nov 28 15:38:44 2024 0 [resolv-retry] [infinite] Thu Nov 28 15:38:44 2024 1 [persist-key] Thu Nov 28 15:38:44 2024 2 [persist-tun] Thu Nov 28 15:42:15 2024 OpenVPN core 3.10.1 win x86_64 64-bit OVPN-DCO Thu Nov 28 15:42:15 2024 Frame=512/2112/512 mssfix-ctrl=1250 Thu Nov 28 15:42:15 2024 NOTE: This configuration contains options that were not used: Thu Nov 28 15:42:15 2024 UNKNOWN/UNSUPPORTED OPTIONS Thu Nov 28 15:42:15 2024 0 [?] Thu Nov 28 15:42:15 2024 Unsupported option (ignored) Thu Nov 28 15:42:15 2024 0 [resolv-retry] [infinite] Thu Nov 28 15:42:15 2024 1 [persist-key] Thu Nov 28 15:42:15 2024 2 [persist-tun] Thu Nov 28 15:43:21 2024 OpenVPN core 3.10.1 win x86_64 64-bit OVPN-DCO Thu Nov 28 15:43:21 2024 Frame=512/2112/512 mssfix-ctrl=1250 Thu Nov 28 15:43:21 2024 NOTE: This configuration contains options that were not used: Thu Nov 28 15:43:21 2024 UNKNOWN/UNSUPPORTED OPTIONS Thu Nov 28 15:43:21 2024 0 [?] Thu Nov 28 15:51:00 2024 OpenVPN core 3.10.1 win x86_64 64-bit OVPN-DCO Thu Nov 28 15:51:00 2024 Frame=512/2112/512 mssfix-ctrl=1250 Thu Nov 28 15:51:00 2024 NOTE: This configuration contains options that were not used: Thu Nov 28 15:51:00 2024 UNKNOWN/UNSUPPORTED OPTIONS Thu Nov 28 15:51:00 2024 0 [?] Thu Nov 28 15:52:04 2024 OpenVPN core 3.10.1 win x86_64 64-bit OVPN-DCO Thu Nov 28 15:52:04 2024 Frame=512/2112/512 mssfix-ctrl=1250 Thu Nov 28 15:52:04 2024 NOTE: This configuration contains options that were not used: Thu Nov 28 15:52:04 2024 UNKNOWN/UNSUPPORTED OPTIONS Thu Nov 28 15:52:04 2024 0 [?]
What am i doing wrong? What file is the service looking for? It obviously reads the config without problems.
Greetings
Michael
Comment