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.

When I am trying to install Openvpn on Ubuntu 12.10 I get only problems. The config files are all empty and I only get error.

When I have installed it for first time it was not empty config files. but i did something wrong so I had to apt-get purge openvpn and rm -rf /etc/openvpn/ . after that I have installed it again, then the real problems started. I can't finish the guide.

I have used the ubuntuguide instructions for installingOpenVPN_server and when I come to Edit /etc/openvpn/server.conf: its nothing in there. What can I do?

share|improve this question
    
Hugely minor point but don't you mean /etc/openvpn/server.conf ? I seem to think the / in front is important –  Journeyman Geek Feb 17 '13 at 9:26
    
that was a type error here ;) but thanks for putting that out. and the /etc/openvpn/easy-rsa/vars is all empty too –  Thomas Håvarstein Feb 17 '13 at 9:33
    
Added that to my suggested edit then, I didn't want to edit it in case that was actually that was your problem –  Journeyman Geek Feb 17 '13 at 9:44

1 Answer 1

/etc/openvpn/ is empty by default (ok, except for update-resolv-conf). The server.conf file is copied from /usr/share. From that page:

sudo cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz /etc/openvpn/
sudo gzip -d /etc/openvpn/server.conf.gz

Depending on your goals, this guide may also be of interest to you:

share|improve this answer
    
thanks will have a look on it :) –  Thomas Håvarstein Feb 17 '13 at 11:23

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.