Wireguard on Centos 7

Pim Zandbergen pim at zandbergen.org
Tue May 16 19:12:23 CEST 2017

Hi Jason,

For RHEL/CentOS 7, I suppose would be something like this

# install elrepo repo
sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
sudo yum install 

# install wireguard repo
sudo wget --timestamping --directory-prefix /etc/yum.repos.d 

# install elrepo mainline kernel and wireguard
sudo yum --enablerepo=elrepo-kernel install kernel-ml kernel-devel 
wireguard-dkms wireguard-tools

You might leave out the elrepo stuff and leave that an exercise to the user.
There's an elrepo for RHEL/CentOS 5 and 6 as well, but I can't test that.


On 05/12/2017 05:31 PM, Jason A. Donenfeld wrote:
> Hey Pim,
> That sounds like a good idea to me. I'm not super qualified to write
> the optimal instructions. Think you could come up with a 2 or 3 line
> command blurb for the new RHEL/CentOS section?
> Jason

More information about the WireGuard mailing list