From 3efea829a8cd1817e427ed8e960f00df4cd676d8 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 4 Jan 2024 13:20:04 +0100 Subject: Set up wireguard on oolah --- data.d/vpn-wireguard/.gitignore | 1 + data.d/vpn-wireguard/oolah.tyil.net | 4 ++++ data.d/vpn-wireguard/qohrei.tyil.net | 4 ++++ hosts.d/oolah.tyil.net | 2 ++ registry.d/oolah.tyil.net | 3 ++- 5 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 data.d/vpn-wireguard/.gitignore create mode 100644 data.d/vpn-wireguard/oolah.tyil.net create mode 100644 data.d/vpn-wireguard/qohrei.tyil.net diff --git a/data.d/vpn-wireguard/.gitignore b/data.d/vpn-wireguard/.gitignore new file mode 100644 index 0000000..ae60a25 --- /dev/null +++ b/data.d/vpn-wireguard/.gitignore @@ -0,0 +1 @@ +privkey diff --git a/data.d/vpn-wireguard/oolah.tyil.net b/data.d/vpn-wireguard/oolah.tyil.net new file mode 100644 index 0000000..8fa2037 --- /dev/null +++ b/data.d/vpn-wireguard/oolah.tyil.net @@ -0,0 +1,4 @@ +[Peer] +AllowedIPs = fd68:1e45:bc6c:4c7b::57:101:1 +Endpoint = 2a10:3781:2453:1:6e90:6753:8273:fa57:52345 +PublicKey = R0ENHRU5ZI2Zi2yorCZKaJhfvc/RT/6CX8f9BqB3gEM= diff --git a/data.d/vpn-wireguard/qohrei.tyil.net b/data.d/vpn-wireguard/qohrei.tyil.net new file mode 100644 index 0000000..fd9c8ed --- /dev/null +++ b/data.d/vpn-wireguard/qohrei.tyil.net @@ -0,0 +1,4 @@ +[Peer] +AllowedIPs = fd68:1e45:bc6c:4c7b::57:20:8 +Endpoint = 2a01:4f9:c012:6273::1:52345 +PublicKey = LY+L8jGdQwn545m71oBazey1QdJliibz1ejf3wpMgy0= diff --git a/hosts.d/oolah.tyil.net b/hosts.d/oolah.tyil.net index 0db655c..88b11ad 100644 --- a/hosts.d/oolah.tyil.net +++ b/hosts.d/oolah.tyil.net @@ -4,3 +4,5 @@ k3s-node.role=server k3s-node.entry.host=10.57.101.20 meta.provider=self vpn-tinc.ipv4=10.57.101.1 +vpn-wireguard.ip=fd68:1e45:bc6c:4c7b::57:101:1 +vpn-wireguard.endpoint=2a10:3781:2453:1:6e90:6753:8273:fa57 diff --git a/registry.d/oolah.tyil.net b/registry.d/oolah.tyil.net index 2e7ea04..07624a3 100644 --- a/registry.d/oolah.tyil.net +++ b/registry.d/oolah.tyil.net @@ -1,4 +1,5 @@ -k3s-master +proxy-privoxy ssh user-tyil vpn-tinc +vpn-wireguard -- cgit v1.1