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

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Locked
MMegaTron
OpenVpn Newbie
Posts: 4
Joined: Thu Mar 10, 2011 1:05 pm

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

Post by MMegaTron » Thu Mar 10, 2011 1:08 pm

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.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

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

Post by janjust » Thu Mar 10, 2011 1:39 pm

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.

..

MMegaTron
OpenVpn Newbie
Posts: 4
Joined: Thu Mar 10, 2011 1:05 pm

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

Post by MMegaTron » Tue Mar 15, 2011 3:58 pm

Thanks janjust, thats solved my problem. :D

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

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

Post by Douglas » Mon Mar 21, 2011 1:05 am

MMegaTron wrote:Thanks janjust, thats solved my problem. :D
janjust to the rescue! :)

Locked