Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 192.168.0.0/255.255.0.0 The (eth0) ip of ubuntu server will be 192.168.9.10. The LAN gateway and dns server will be 192.168.0.1 (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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.