Would you know how to apply this method to Ubuntu as well? Sorry I'm new to Linux.
What i did was follow this article:
https://docs.openvpn.net/configuration/keeping-openvpn-access-server-updated/
I downloaded latest version:
http://swupdate.openvpn.org/as/openvpn-as-2.5-Ubuntu16.amd_64.deb
Then i went to install using:
sudo dpkg -i openvpn-as-2.5-Ubuntu16.amd_64.deb
(Reading database ... 259665 files and directories currently installed.)
Preparing to unpack openvpn-as-2.5-Ubuntu16.amd_64.deb ...
Upgrade detected (debian)...
Unpacking openvpn-as (2.5-Ubuntu16) over (2.5-Ubuntu16) ...
Setting up openvpn-as (2.5-Ubuntu16) ...
Backing up configuration and DB files to /usr/local/openvpn_as/etc/backup prior to update.
Looks like it was successfull. I did the
sudo apt-get update && apt-get upgrade && apt-get dist-upgrade
Works fine, 0 updates available. Then i rebooted my server and restarted OpenVPN.
When i do:
openvpn --version
OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017
library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08
and openvpn update gives me:
apt-get update && apt-get install openvpn
Hit:1 http://si.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://si.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://si.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Fetched 102 kB in 0s (316 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
openvpn is already the newest version (2.3.10-1ubuntu2.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I downloaded version 2.5 and it says already on newest version 2.3.... WTH?!
Anyone any ideas?
Thanks,
Ryan