1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-06-05 04:50:49 +00:00

Update README.md

Co-authored-by: jaminmc <jaminmc@gmail.com>
This commit is contained in:
Danila Vershinin 2021-07-18 16:21:19 +03:00 committed by GitHub
parent 80f4ee8933
commit f4cdf96597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,9 @@ 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).
* Create file in `/etc/wireguard/` with the name you want the network interface to be with extension of `.conf`. IE: `/etc/wireguard/wg0.conf`, then put in the contents of the client config generated by the script (copy paste from server). Also run `sudo chown -R root. /etc/wireguard ; chmod -R 600 /etc/wireguard` for proper permissions.
To enable the connection run `sudo wg-quick up [Interface name]`, like `sudo wg-quick up wg0` and to disable `wg-quick down [Interface name]`
* Connect: `systemctl start wg-quick@wg0.service`