I was trying to setup the vpn for static key. I generated one via openvpn –genkey –secret static.key, SFTP copied it to both end points.
I tried both command arguments in the “parameter” field and the use of a config file (also sftped to the endpoints), and they both get in the log:
12:31:31 Options error: specify only one of –tls-server, –tls-client, or –secret
12:31:31 Use –help for more information.
If I type the whole argument at the bash shell from the console, it seems to work. Why can’t I do this through the config file or the command line?