Install Wireguard VPN for Legacy Centos 6.x

Yes, we know Centos 6 is very old now, but we had a requirement to use an old Centos 6 server for wiregaurd. Here is a quick way to get you up and running on an existing Centos 6 server. Note the wireguard-tools does not match the exact Wireguard version here but it still works as required (for wg-quick etc.)

This install requires a newer kernel so note this is the first part to get out of the way:

yum install kernel-lt* elrepo-release*
yum install git patch gcc
yum install
curl -Lo /etc/yum.repos.d/wireguard.repo
yum install wireguard-dkms
cd /usr/src/wireguard-0.0.20190702/
patch < quick.patch
vim /boot/grub/grub.conf and change default=0
dkms build -m wireguard -v 1.0.20220627
dkms install -m wireguard -v 1.0.20220627
yum install libmnl-devel
cd /usr/src/
cd wireguard-tools-1.0.20210914
make && make install

now you can go ahead and setup your Wireguard VPN as normal :)

IT Support Contracts

Support contracts to cover all your IT and Telecoms with UK wide free call-out. Our friendly support staff provide on-site, telephone, email and remote support for workstations, servers, network infrastructure and phone systems. We offer support and consultation for firewalls, VPN, Linux server and deskop, MS and Mac server and desktop.


Linux Business Servers

Linux servers to suit every requirement from drop-in Microsoft replacements to advanced firewalls, high availability, thin client servers and virtualisation. Our SME Business Server product provides your business with an IT solution taking care of networking, security, storage, email, backup, remote access and much more.


Distro Support Includes

  • FusionPBX / Issabel / FreePBX
  • RedHat / Rocky / Alma
  • Koozali / smeserver / SUSE
  • Pfsense / Unix / BSD
  • Debian / Ubuntu / Linux Mint
  • Arch / Archbang / Gentoo
  • Fedora / Kubuntu / Xubuntu
  • Raspbian¬†/ Embedded Systems

Ubuntu Server & Desktop

Pre-configured Linux server, desktop and thin client systems to suit your requirements. We offer drop-in Microsoft Server replacements and even migrate your existing Microsoft server including large AD forests or migrations from Entra/Azure to self hosted Linux auth.