system/notes/vpn.md

14 lines
161 B
Markdown
Raw Permalink Normal View History

2023-03-02 16:00:19 +03:00
# WireGuard
## Generate keypair
```sh
umask 077
wg genkey > ./private
wg pubkey < ./private > ./public
```
# References:
- https://nixos.wiki/wiki/WireGuard