diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-12-14 17:54:52 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-12-14 17:54:52 -0800 |
| commit | cd54909e6ef6faa27c3066100782acf7fd704890 (patch) | |
| tree | 5953b23f268347051090b65aa14348d1a9802d37 /docs/wireguard.org | |
| parent | use the `update-flake-lock` to update nix flakes (diff) | |
| download | infra-cd54909e6ef6faa27c3066100782acf7fd704890.tar.gz | |
update the main documentation
Delete unused/outdated documentations.
Diffstat (limited to 'docs/wireguard.org')
| -rw-r--r-- | docs/wireguard.org | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/wireguard.org b/docs/wireguard.org deleted file mode 100644 index 154c159..0000000 --- a/docs/wireguard.org +++ /dev/null @@ -1,21 +0,0 @@ -#+TITLE: Configuration for wireguard - -* Creating the keys -We need a key for the host: -#+begin_src sh -(umask 0077; wg genkey > peer_A.key) -#+end_src - -Next we create the public key: -#+begin_src sh -wg pubkey < peer_A.key > peer_A.pub -#+end_src - -Now we need to add the private key to the list of secrets: -#+begin_src sh -nix run github:ryantm/agenix -- -e secrets/network/<host name>/wireguard_privatekey.age -#+end_src - -Once this is done, update [[file:~/workspace/world/configs/wireguard.toml][wireguard.toml]] to add the new peer with the public key. - -Once this is completed, we can delete the files =peer_A.key= and =peer_A.pub=. |
