mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 06:31:04 +01:00
11 lines
375 B
Markdown
11 lines
375 B
Markdown
|
# Role Native Wireguard
|
||
|
Manages wireguard natively on host. More information are available in the [Arch wiki](https://wiki.archlinux.org/index.php/WireGuard#Manual_WireGuard_setup).
|
||
|
|
||
|
## Create Client Key
|
||
|
``bash
|
||
|
wg genkey | tee peer_A.key | wg pubkey > peer_A.pub
|
||
|
``
|
||
|
|
||
|
# chown root:systemd-network /etc/systemd/network/99-*.netdev
|
||
|
# chmod 0640 /etc/systemd/network/99-*.netdev
|