Page 1 of 1

Issues with remote connectivity on OpenVPN (Ubuntu). Help!

Posted: Thu Mar 10, 2011 1:08 pm
by MMegaTron
Hi Guys,

I'm doing freelance IT Support for a small company. They have approx 6 users in the office and 3 connecting from home. The previous IT support guy who I took over from had set-up everybody connecting via SSH, whcich was causing a lot of permissions problems with the shared files. So I took a friends advice and moved over to a VPN; installing OpenVPN. It seems to work prefectly except for an irritating problem, which is preventing me from migrating everybody over. I run the OpenVPNserver from the command line (bash, on ubuntu), because I like to see an error log. The problem I'm having is that clients connect fine when connecting to the OpenVPN server if it's started from the terminal, but whenever the daemon is running, clients can't connect. This would be fine if we could just have the program run from command line all the time. However, something that the client is doing is causing OpenVPN (running from the command line) to restart and then revert back to the daemon which then proceeds to stop users from connecting. Do you have any ideas what might be causing this or how to resolve the problem?

Thanks.

Re: Issues with remote connectivity on OpenVPN (Ubuntu). He

Posted: Thu Mar 10, 2011 1:39 pm
by janjust
what does the server configuration look like?
try adding

Code: Select all

daemon
log-append /var/log/openvpn.log
and then do a 'tail -f /var/log/openvpn.log' when a client connects.

..

Re: Issues with remote connectivity on OpenVPN (Ubuntu). He

Posted: Tue Mar 15, 2011 3:58 pm
by MMegaTron
Thanks janjust, thats solved my problem. :D

Re: Issues with remote connectivity on OpenVPN (Ubuntu). He

Posted: Mon Mar 21, 2011 1:05 am
by Douglas
MMegaTron wrote:Thanks janjust, thats solved my problem. :D
janjust to the rescue! :)