Advice on upgrading Ubuntu on OpenVPN server host?

This forum is for admins who are looking to build or expand their OpenVPN setup.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
testudo
OpenVpn Newbie
Posts: 6
Joined: Fri Apr 15, 2011 7:54 pm

Advice on upgrading Ubuntu on OpenVPN server host?

Post by testudo » Mon May 16, 2011 2:12 pm

Hi,

I have a fairly standard installation of OpenVPN (i.e. installed via apt-get) running on an Ubuntu server that's in desperate need of a distribution upgrade (running 9.04, planning to go to 10.04 LTS).

Do I have to know anything OpenVPN-specific before running this upgrade? My specific questions are:

If I just backup my config stuff in /etc/openvpn will I be fine if something goes wrong?

I won't have to regenerate keys or certs or anything, right? Once I start up the service again my clients will be able to connect as before?

Thanks.

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

Re: Advice on upgrading Ubuntu on OpenVPN server host?

Post by janjust » Mon May 16, 2011 3:11 pm

If I just backup my config stuff in /etc/openvpn will I be fine if something goes wrong?
in theory, yes; I'd also have a look at the ubuntu specific network file (/etc/network ?) to see if there's anything tun/tap/openvpn related there.
I won't have to regenerate keys or certs or anything, right? Once I start up the service again my clients will be able to connect as before?
again, in theory, yes; do you have the master ca.crt and ca.key files? were the file generated in the /etc/openvpn directory as well? or elsewhere on the system?

testudo
OpenVpn Newbie
Posts: 6
Joined: Fri Apr 15, 2011 7:54 pm

Re: Advice on upgrading Ubuntu on OpenVPN server host?

Post by testudo » Mon May 16, 2011 3:15 pm

janjust wrote:do you have the master ca.crt and ca.key files? were the file generated in the /etc/openvpn directory as well? or elsewhere on the system?
They were generated in /etc/openvpn. I believe the masters are in /etc/openvpn/easy-rsa/keys still.

Thanks for the help.

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

Re: Advice on upgrading Ubuntu on OpenVPN server host?

Post by Douglas » Mon May 16, 2011 6:28 pm

testudo wrote:
janjust wrote:do you have the master ca.crt and ca.key files? were the file generated in the /etc/openvpn directory as well? or elsewhere on the system?
They were generated in /etc/openvpn. I believe the masters are in /etc/openvpn/easy-rsa/keys still.

Thanks for the help.
You should be good. Just try to keep a backup of everything.

testudo
OpenVpn Newbie
Posts: 6
Joined: Fri Apr 15, 2011 7:54 pm

Re: Advice on upgrading Ubuntu on OpenVPN server host?

Post by testudo » Wed May 18, 2011 1:49 pm

(Just an update in case anyone stumbles upon this thread in the future...)

Everything went fine with the upgrade. The OpenVPN service started automatically and worked just like before.

Thanks for the advice, everyone!

Post Reply