From ded5fd3de068c5aff20e1709ab54895ac4b68bea Mon Sep 17 00:00:00 2001 From: Danila Vershinin Date: Fri, 11 Dec 2020 23:57:51 +0300 Subject: [PATCH] RHEL 8 client instructions After quite some frustration, it works for me. Compiled instructions for RHEL 8 for the README. --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 2f0b6f6..8c2891c 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,27 @@ It will install WireGuard (kernel module and tools) on the server, configure it, Run the script again to add or remove clients! +## Configure clients + +### RHEL 8 + +Install the necessary packages: + +``` +sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm +sudo dnf install dnf-plugins-core +sudo dnf config-manager --enable elrepo +sudo dnf install kmod-wireguard wireguard-tools +``` + +Create file `/etc/wireguard/wg0.conf` with contents of the client config generated by the script (copy paste from server). + +Connect: + + systemctl start wg-quick@wg0.service + +Verify your public has changed to server's IP, e.g.: `curl https://ident.me` + ## Providers I recommend these cheap cloud providers for your VPN server: