Hi i have configured ovpn but i cant start the service and the start button is greyed out, tried to se the log but it is filled with this message
less /var/log/messages | grep openvpn
when last update time is 1714228804 (minimum one second step)
Apr 27 16:40:33 artemis collectd[20932]: rrdtool plugin: rrd_update_r failed: /var/log/rrd/collectd/localhost/processes-openvpn/ps_cputime.rrd: /var/log/rrd/collectd/localhost/processes-openvpn/ps_cputime.rrd: illegal attempt to update using time 1714228803 when last update time is 1714228804 (minimum one second step)
[root@artemis ~]#
I do suspect something regarding this might be the problem , anyone have any idea what to try ?
The log message shown is about a problem related to creating the data for the openvpn cpu time graph.
The message shown has nothing in it about why openvpn is not starting.
The best approach is first to try and start openvpn and then go to the WUI menu Logs - System Logs. Then in the drop down box labelled Section: select OpenVPN and press the Update button.
Then post the logs using the Preformatted text option on the forum post menu bar, which is the symbol </>
Those logs should give some hint as to what is stopping openvpn from starting.
Thanks, i checked there and there are som entrys from when i rebooted this morning
IPFire diagnostics
Section: openvpn
Date: April 28, 2024
10:41:38 openvpnserver[2525]: DEPRECATED OPTION: ncp-disable. Disabling cipher negotiation is a deprecated debug feature that will be removed in OpenVPN 2.6
10:41:38 openvpnserver[2525]: Options error: --server directive network/netmask combination is invalid
10:41:38 openvpnserver[2525]: Use --help for more information.
Have i configured wrong maybe? This is what my config looks like
Hi thanks, yes i dont use that subnet on any interface , just to be perfectly sure i set it to 172.16.0.0/255.255.0.0 now, but still same problem / message int the log
There is nothing in that server.conf that should cause a problem.
I just tried the subnet of 172.16.0.0/255.255.0.0 on my vm testbed system and OpernVPN started without any problem.
Searching on that log message it is saying that the OpenVPN server has found that the subnet overlaps, however small, with another subnet used somewhere on your IPFire.
Can you please show the output from this command, excluding the lo and red0 results.
ip address show
I am presuming that your red0 interface has a public IP and not a private range IP but can you please confirm this.