I used OpenVPN before on my Fritzbox with Freetz in version 2.3.2 (see
http://freetz.org/wiki/packages/openvpn). I do not want to use that setup anymore because I do not want to "freetz" my Fritzbox again.
Now I want to use my Raspberry with DietPI for OpenVPN. DietPI is based on Raspbian (which is based on Debian Jessie) and the latest version of OpenVPN Server in the stable package repository is 2.3.4-5+deb8u1
(see here:
http://archive.raspbian.org/raspbian/dists/jessie/main/binary-armhf/Packages)
I do not know a way to get a newer version of OpenVPN Server.
Could the version of OpenVPN Server probably the reason for my problem?
Thank you for the advice about "tls-auth". I will tried it with
Server:
tls-auth /etc/openvpn/easy-rsa2/keys/ta.key 0
If I understand the "tls-auth" and "secret" section of the posted link correct I think I need to change the client config, too?
Client:
key-direction 0
Now I have tried all possible combinations of key-directions and I do not get a connection. I even tried "tls-crypt" instead of "tls-auth" because there is no key direction necessary. For me it would be much enough to have one very simple example which works and on which I could build on. Unfortunately all the supposed to be simple examples do not work on my setup.
My biggest problem to solve is where to get a hint to the error. The client log ends with
Tue Mar 28 21:41:17 2017 MANAGEMENT: >STATE:1490730077,WAIT,,,,,,
and no error.
In the server log (/var/log/openvpn.log) I do not find any recent entrys. There are only some older entry which I could not assign to a special config version. I wonder why there are no log entrys even if I switch to
verb 5
in the server config.