mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-10-31 18:52:31 +00:00
RHEL 8 client instructions
After quite some frustration, it works for me. Compiled instructions for RHEL 8 for the README.
This commit is contained in:
parent
88ae1c0d0f
commit
ded5fd3de0
21
README.md
21
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:
|
||||
|
Loading…
Reference in New Issue
Block a user