Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running an ubuntu server with LAN ip on which I want to run openvpn server which will provide access to the LAN that ubuntu server is in. I will be opening a port on my router through which the ubuntu server will listen on. The network will be The (eth0) ip of ubuntu server will be The LAN gateway and dns server will be (router). I have partially worked on it by using this guide. But the openvpn server fails to start, so something isn't right in my conf file. So what settings should I have in my openvpn conf file?

share|improve this question
Have you took a look in your system log for error messages? – ulidtko Jan 20 '11 at 14:35
up vote 1 down vote accepted

In order to help you debug your problem, you should do the following:

sudo /etc/init.d/openvpn stop
# Or 'sudo stop openvpn' if you are on a very new Ubuntu system
sudo openvpn --cd /etc/openvpn --config /etc/openvpn/server.conf

You should now get the openvpn output right on your terminal.

share|improve this answer
It seams the guide that I linked is somewhat outdated, I somehow got it working by following the official openvpn guide. – nixnotwin Jan 21 '11 at 10:51
Ok, could you please close the question? – Florian Jan 21 '11 at 12:01
What was the problem/solution? – teeks99 Jan 22 '11 at 22:59
Can anyone link to the Official OpenVPN Guide? – Sukima Mar 5 '12 at 13:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.