Unneeded secret in openvpn config
See original GitHub issueopkg reports I have the following package installed: luci-app-openvpn - git-17.315.61305-a9bddc4-1
I have configured my openvpn instance and the service fails to start. This error shows up in the system log:
Mon Nov 13 22:32:23 2017 daemon.err openvpn(pia_client)[13823]: Options error: specify only one of --tls-server, --tls-client, or --secret
Upon closer inspection, I notice the following line in /var/etc/openvn-pia_client.conf
secret shared-secret.key
This line appears to be written to the file despite the fact I never intentionally add it. Removing the line and attempting to start the openvpn service works but the line is written to the file every time I attempt to start the instance from the LUCI interface.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Reference Manual For OpenVPN 2.4
OpenVPN supports conventional encryption using a pre-shared secret key (Static Key mode) or public key security (SSL/TLS mode) using client & server ......
Read more >How To Guide: Set Up & Configure OpenVPN Client/server VPN
Once running in a command prompt window, OpenVPN can be stopped by the F4 key. Run OpenVPN as a service by putting one...
Read more >Static Key Mini-HOWTO | OpenVPN
Static key configurations offer the simplest setup, and are ideal for point-to-point VPNs or proof-of-concept testing. Read more on how they work here....
Read more >DeprecatedOptions – OpenVPN Community
This can be done on client configuration files on a one-by-one approach. Unmodified clients will be able to connect as before.
Read more >Reference Manual For OpenVPN 2.0
OpenVPN supports conventional encryption using a pre-shared secret key (Static Key mode) or public key security (SSL/TLS mode) using client & server ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Remove the
option secret
from /etc/config/openvpnnot a bug at all.