diff --git a/README.md b/README.md index 0c1c40c..2e8ee30 100644 --- a/README.md +++ b/README.md @@ -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`