1

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?

1
  • Have you took a look in your system log for error messages? – ulidtko Jan 20 '11 at 14:35
1

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.

4
  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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