Following are the steps I took to overcome the problem. Unfortunately, I can not tell you exactly which one was the solution.
# stop all vpn logins, ie close down all client access # now, do the following cat /var/run/ovpnserver.log cat /var/var/ovpnserver.log # one of these is likely an empty file openvpnctrl -k # kill the openvpn service rm /var/run/ovpnserver.log rm /var/var/ovpnserver.log # make sure the configuration option is correct grep ovpnserver.log /var/ipfire/ovpn/server.conf openvpnctrl -s # start the openvpn service cat /var/run/ovpnserver.log cat /var/var/ovpnserver.log # one of the above should have the headers in it, hopefully /var/run # if /var/run/ovpnserver.log has the headers, you should be good # now, make a vpn connection, let it get established, then cat /var/run/ovpnserver.log # you should see the new vpn connection. If you do, stats and connection # will show.
An empty ovpnserver.log file looks as follows. This is with no connections to it. This appears to be the file that all stats and displays come from.
---------------------------------------------------------------- OpenVPN CLIENT LIST Updated,Mon Apr 27 14:15:56 2015 Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since ROUTING TABLE Virtual Address,Common Name,Real Address,Last Ref GLOBAL STATS Max bcast/mcast queue length,0 END ----------------------------------------------------------------
Rod
On 04/27/2015 11:37 AM, robert wrote:
Thanks Rod On 27.04.2015 17:40, Rod Rodolico wrote:
Hi Robert,
Do you have access to the command line? I so, edit /var/ipfire/ovpn/server.conf
and look for the line which says status /var/log/ovpnserver.log 30
If it says /var/log, change that to status /var/run/ovpnserver.log 30
i had seen that email of yours allreadi. And did change that line before.
(ovpnserver.log was moved from /var/log to /var/run)
Now, restart the OpenVPN Server.
Let us know if that fixes it.
unfortunately no
any more ideas? thanks robert
Rod
On 04/27/2015 06:19 AM, robert wrote:
Hi there, I have updated my ipfire box to core89. Now all the vpn connections in the
Connection Status and -Control screen
always show the status:disconnected
even when there is a connection active.
What could be the reason? How to fix?
thanks robert _______________________________________________ Development mailing list Development@lists.ipfire.org http://lists.ipfire.org/mailman/listinfo/development