Updated README.md

This commit is contained in:
Kevin Veen-Birkenbach 2021-01-12 11:19:08 +01:00
parent f9abd2d9be
commit 3125161468

View File

@ -2,6 +2,11 @@
Manages wireguard on host. Manages wireguard on host.
## Client ## Client
### Setup wireguard
```bash
pacman -S wireguard-tools
```
### Create Client Keys ### Create Client Keys
```bash ```bash
wg_private_key="$(wg genkey)" wg_private_key="$(wg genkey)"
@ -17,7 +22,13 @@ Manages wireguard on host.
systemctl enable wg-quick@wg0.service --now systemctl enable wg-quick@wg0.service --now
``` ```
### Check status
```bash
systemctl status wg-quick@wg0.service
```
## See ## See
- https://golb.hplar.ch/2019/01/expose-server-vpn.html - https://golb.hplar.ch/2019/01/expose-server-vpn.html
- https://wiki.archlinux.org/index.php/WireGuard - https://wiki.archlinux.org/index.php/WireGuard
- https://wireguard.how/server/raspbian/ - https://wireguard.how/server/raspbian/
- https://www.scaleuptech.com/de/blog/was-ist-und-wie-funktioniert-subnetting/