system/notes/vpn.md

13 lines
161 B
Markdown

# WireGuard
## Generate keypair
```sh
umask 077
wg genkey > ./private
wg pubkey < ./private > ./public
```
# References:
- https://nixos.wiki/wiki/WireGuard