mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-09 04:02:03 +00:00
Update README.md
Co-authored-by: jaminmc <jaminmc@gmail.com>
This commit is contained in:
parent
80f4ee8933
commit
f4cdf96597
1 changed files with 3 additions and 1 deletions
|
@ -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`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue