Hi,
I followed this tutorial
https://www.howtoforge.com/tutorial/how-to-install-openvpn-on-centos-7/ to install and config openvpn server, but when I type systemctl start openvpn@server and then status, it gives me this
openvpn@server.service - OpenVPN Robust And Highly Flexible Tunneling Application On server
Loaded: loaded (/usr/lib/systemd/system/openvpn@.service; enabled)
Active: [color=#FF0000]failed [/color](Result: exit-code) since Wed 2015-12-16 16:53:01 EST; 13s ago
Process: 2569 ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf [color=#FF0000](code=exited, status=1/FAILURE)[/color]
Dec 16 16:53:01 vps-small-fcz systemd[1]: Starting OpenVPN Robust And Highly Flexible Tunneling Application On server...
Dec 16 16:53:01 vps-small-fcz systemd[1]: openvpn@server.service: control process exited, code=exited status=1
Dec 16 16:53:01 vps-small-fcz systemd[1]: [color=#FF0000]Failed to start OpenVPN Robust And Highly Flexible Tunneling Application On server.[/color]
Dec 16 16:53:01 vps-small-fcz systemd[1]: Unit openvpn@server.service entered failed state.
my /etc/openvpn/server.conf
dev tun
proto tcp
port 8080
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/dh2048.pem
server 10.8.0.0 255.255.255.0
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 3
client-to-client
push "redirect-gateway def1"
push "dhcp-options DNS 8.8.8.8"
push "dhcp-options DNS 8.8.4.4"
duplicate-cn
keepalive 20 60
daemon
log-append /var/log/openvpn/openvpn.log
Can you help me with it please?