I have been trying to install the OpenVPN Access Server on my CentOS 7 VPS. However, I have been running into a number of problems.
Initially, I had followed this DigitalOcean guide, but after I had problems using that, I later found out that I meant to install the Access Server. I found this DigitalOcean guide for CentOS 6.5, and just adapted it to CentOS 7.
I'm beginning to wonder if following the instructions of the two different guides is what has caused my problems. I am able to start the service via command line, but I am not able to start it via the web interface.
$ sudo systemctl status openvpn@server.service
openvpn@server.service - OpenVPN Robust And Highly Flexible Tunneling Application On server
Loaded: loaded (/usr/lib/systemd/system/openvpn@.service; enabled)
Active: active (running) since Thu 2015-03-05 08:12:53 EST; 3s ago
Process: 1738 ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf (code=exited, status=0/SUCCESS)
Main PID: 1745 (openvpn)
CGroup: /system.slice/system-openvpn.slice/openvpn@server.service
└─1745 /usr/sbin/openvpn --daemon --writepid /var/run/openvpn/server.pid --cd /etc/openvpn/ --config server.conf
Mar 05 08:12:53 arguru systemd[1]: Failed to read PID from file /var/run/openvpn/server.pid: Invalid argument
Mar 05 08:12:53 arguru openvpn[1745]: GID set to nobody
Mar 05 08:12:53 arguru openvpn[1745]: UID set to nobody
Mar 05 08:12:53 arguru openvpn[1745]: UDPv4 link local (bound): [undef]
Mar 05 08:12:53 arguru openvpn[1745]: UDPv4 link remote: [undef]
Mar 05 08:12:53 arguru openvpn[1745]: MULTI: multi_init called, r=256 v=256
Mar 05 08:12:53 arguru openvpn[1745]: IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Mar 05 08:12:53 arguru openvpn[1745]: IFCONFIG POOL LIST
Mar 05 08:12:53 arguru openvpn[1745]: Initialization Sequence Completed
Mar 05 08:12:53 arguru systemd[1]: Started OpenVPN Robust And Highly Flexible Tunneling Application On server.
However, from the web panel, I receive this error.
I have tried searching multiple different resources about this, and some said the issue was that the web interface was not starting the VPN as root, which is why the ifconfig error occurred, and the second error regarding the binding failed only happens when I start OpenVPN via command line.
I realize I probably made some mistakes setting this up, but I want to know how I can fix this now without reinstalling my entire operating system (this VPS is for my own learning and experimentation). Any help is appreciated!