Hello everybody!
I am pulling my hair out because of some problem with OpenVPN-AS and sincerely hope (after quite some Google research) that someone here might help me out...
Prologue:
For some strange reason, I always miserably failed if installing OpenVPN (not AS) by hand. No matter which guide I followed, it simply never worked out as expected. And if it worked somehow, then it was quite some hassle to provide that access to a friend. Then I came across OpenVPN-AS. Installation was more than easy, it is providing 2 users as default and worked out of the box perfectly for me and my friend who is sharing the VPN with me.
But:
There is one problem that drives me crazy: Periodically, I would say daily, the VPN becomes unreachable. I receive a "Could not establish connection with VPN server" message on my home PC and that was it then. Same with my friend at the other side of the country. Looking at the VPS, the service is running fine at those times. Even the log in /var/log/ shows no entry at all. Even the Web-Interface is showing the server as "running". If I restart the server (via console), it starts working again immediately. I thought: "Well, let's go the easy way and just set a cron to restart the server twice a day". But that does not work. I have no idea when it stops working (there is no pattern) and so I am confronted with that "problem" on a daily basis.
I have tried it on two different VPS which are both OpenVZ, by the way. One is running CentOS 6.3, the other Debian Squeeze. They both use the official packages from the OpenVPN site and they both have the same issue.
I am at my wit's end. Really. Please. Help! :)
Kind regards and thanks in advance!
Amitz