aboutsummaryrefslogtreecommitdiff
path: root/tnet/README.md
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-08-11 21:35:22 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-08-11 21:35:22 +0200
commitad25e02d5bf7bfadb0ac160c37e9f06adfe15a68 (patch)
tree31c92d72261bbbdf183a5f91e6cc19701c430f91 /tnet/README.md
parentb1fafb49c38377f4a985034cf5fc91d815224409 (diff)
downloadinfra-ad25e02d5bf7bfadb0ac160c37e9f06adfe15a68.tar.gz
infra-ad25e02d5bf7bfadb0ac160c37e9f06adfe15a68.tar.bz2
infra-ad25e02d5bf7bfadb0ac160c37e9f06adfe15a68.tar.xz
infra-ad25e02d5bf7bfadb0ac160c37e9f06adfe15a68.zip
tnet += conflotario
Diffstat (limited to 'tnet/README.md')
-rw-r--r--tnet/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/tnet/README.md b/tnet/README.md
new file mode 100644
index 0000000..d65106e
--- /dev/null
+++ b/tnet/README.md
@@ -0,0 +1,8 @@
+Generating link-local ULA address:
+
+ echo fe80:$(uuid -v4|cut -c1-4):$(uuid -v4|cut -c1-4):$(uuid -v4|cut -c1-4):$(uuid -v4|cut -c1-4):$(uuid -v4|cut -c1-4):$(uuid -v4|cut -c1-4):$(uuid -v4|cut -c1-4)
+
+Generating Wireguard link keys:
+
+ from=conflatorio to=knot; wg genkey | tee keys/wg-$from-$to.sops.key | wg pubkey > keys/wg-$from-$to.pub; sops -e -i keys/wg-$from-$to.sops.key
+