System: CentOS 7 x86_64 (VPS -->OpenVZ)
I have strange issue connected with my VPN server. I was able to configure it according to one of the VPN tutorial and after typing 'systemctl start email@example.com' it starts (Status: Active (running)) but after one minute it turns off and when I am checking the openvpn logs there is something like this:
Tue Mar 13 16:34:39 2018 OpenVPN 2.4.4 x86_64-redhat-linux-gnu [Fedora EPEL patched] [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 26 2017
Tue Mar 13 16:34:39 2018 library versions: OpenSSL 1.0.2k-fips 26 Jan 2017, LZO 2.06
Tue Mar 13 16:34:39 2018 Diffie-Hellman initialized with 2048 bit key
Tue Mar 13 16:36:09 2018 ERROR: Failed retrieving username or password
Tue Mar 13 16:36:09 2018 Exiting due to fatal error
Here is my server config:
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 18.104.22.168"
push "dhcp-option DNS 22.214.171.124"
keepalive 10 120
Thank you so much for your help.