How to install wireGuard VPN in client mode Oracle Linux 7

Recently  part of NAS on LAPOTP project, enabled wireGUard VPN server  to connect my LAN from internet.

So to the check the functionality on various Operating Systems and devices, tested wireguard VPN in client mode on Android mobile and Windows Desktop.

Now its time install Wire Guard VPN in client mode on Oracle Linux 7. Here are the steps.

# yum install oraclelinux-developer-release-el7
# yum-config-manager --disable ol7_developer
# yum-config-manager --enable ol7_developer_UEKR6
# yum-config-manager --save --setopt=ol7_developer_UEKR6.includepkgs='wireguard-tools*'
# yum install wireguard-tools

now time to create conf file.

root@localhost nas]# vi /etc/wireguard/wg0.conf
[root@localhost nas]# wg-quick up wg0

This conf file you will get from  server with show-peer command.
This is for client mode only. Next post will share server install.

Leave a comment

Your email address will not be published.