openvpnas web interface unavailable iptables_web issue
Posted: Tue May 11, 2021 8:06 pm
I've installed OpenVPN As on RHEL 7.6. Installation completed and I verified system is running using systemctl status openvpnas, however the web interface is not available on port 443 or 943. The server where openvpn is installed has multiple network interfaces so I ran ovpn_init and bound it to the public interface on the 192 network. HAProxy is running on the private 100 network. No errors are in /var/log/openvpnas.log but using sacli to start the server indicates iptables_web error: service failed to start due to unresolved dependencies: set(['web']). This results in the web service being off. Any ideas on how to resolve this issue? Note that this is a STIG RHEL 7.6 image.
./sacli start
RunStart warm None
{
"errors": {
"iptables_web": [
[
"error",
"service failed to start due to unresolved dependencies: set(['web'])"
]
],
"openvpn_0": [
[
"info",
"process started successfully on 172.27.224.1"
]
],
"openvpn_1": [
[
"info",
"process started successfully on 172.27.226.1"
]
],
"openvpn_2": [
[
"info",
"process started successfully on 172.27.228.1"
]
],
"openvpn_3": [
[
"info",
"process started successfully on 172.27.230.1"
]
],
"openvpn_4": [
[
"info",
"process started successfully on 172.27.232.1"
]
],
"openvpn_5": [
[
"info",
"process started successfully on 172.27.234.1"
]
],
"openvpn_6": [
[
"info",
"process started successfully on 172.27.236.1"
]
],
"openvpn_7": [
[
"info",
"process started successfully on 172.27.238.1"
]
],
"web": [
[
"error",
"process started and then immediately exited: "
],
[
"error",
"service failed to start or returned error status"
]
]
},
"last_restarted": "Tue May 11 16:01:49 2021",
"service_status": {
"api": "on",
"auth": "on",
"bridge": "on",
"client_query": "on",
"crl": "on",
"daemon_pre": "on",
"db_push": "on",
"ip6tables_live": "on",
"ip6tables_openvpn": "on",
"iptables_live": "on",
"iptables_openvpn": "on",
"iptables_web": "off",
"log": "on",
"openvpn_0": "restarted",
"openvpn_1": "restarted",
"openvpn_2": "restarted",
"openvpn_3": "restarted",
"openvpn_4": "restarted",
"openvpn_5": "restarted",
"openvpn_6": "restarted",
"openvpn_7": "restarted",
"subscription": "on",
"user": "on",
"web": "off"
}
}
WILL_RESTART ['openvpn']
./sacli start
RunStart warm None
{
"errors": {
"iptables_web": [
[
"error",
"service failed to start due to unresolved dependencies: set(['web'])"
]
],
"openvpn_0": [
[
"info",
"process started successfully on 172.27.224.1"
]
],
"openvpn_1": [
[
"info",
"process started successfully on 172.27.226.1"
]
],
"openvpn_2": [
[
"info",
"process started successfully on 172.27.228.1"
]
],
"openvpn_3": [
[
"info",
"process started successfully on 172.27.230.1"
]
],
"openvpn_4": [
[
"info",
"process started successfully on 172.27.232.1"
]
],
"openvpn_5": [
[
"info",
"process started successfully on 172.27.234.1"
]
],
"openvpn_6": [
[
"info",
"process started successfully on 172.27.236.1"
]
],
"openvpn_7": [
[
"info",
"process started successfully on 172.27.238.1"
]
],
"web": [
[
"error",
"process started and then immediately exited: "
],
[
"error",
"service failed to start or returned error status"
]
]
},
"last_restarted": "Tue May 11 16:01:49 2021",
"service_status": {
"api": "on",
"auth": "on",
"bridge": "on",
"client_query": "on",
"crl": "on",
"daemon_pre": "on",
"db_push": "on",
"ip6tables_live": "on",
"ip6tables_openvpn": "on",
"iptables_live": "on",
"iptables_openvpn": "on",
"iptables_web": "off",
"log": "on",
"openvpn_0": "restarted",
"openvpn_1": "restarted",
"openvpn_2": "restarted",
"openvpn_3": "restarted",
"openvpn_4": "restarted",
"openvpn_5": "restarted",
"openvpn_6": "restarted",
"openvpn_7": "restarted",
"subscription": "on",
"user": "on",
"web": "off"
}
}
WILL_RESTART ['openvpn']