Install WireGuard on odroid hc2

I recently got an odroid hc2 that I want to use as local NAS device. Since it took me a while to find the correct linux headers so I could install WireGuard I’m doing a quick write-up. Of course I’m using arch linux for this.

Getting the correct linux headers

Initially when I installed the linux-headers package I got linux-headers-odroid which are not up to date. I had to manually install the linux-odroid-xu3-headers to get everything working.

Installing WireGuard

After that WireGuard can be installed the same way as on any other system:

$ pacman -S linux-headers-xu3-headers wireguard-tools wireguard-dkms