Logo
Explore Help
Sign In
mirrors/khuedoan-homelab
1
0
Fork 0
You've already forked khuedoan-homelab
mirror of https://github.com/khuedoan/homelab.git synced 2025-07-10 07:48:36 +07:00
Code Issues Packages Projects Releases Wiki Activity
Files
1c586813a2bcfcf5775d8794502f34756e74687d
khuedoan-homelab/scripts/get-wireguard-config

11 lines
261 B
Plaintext
Raw Normal View History

refactor!: replace ZeroTier with Tailscale and Wireguard - Tailscale UX is better, and the Headscale control server is also easier to self-host than ZeroTier (although Headscale is not the official control server, the author now works at Tailscale) - Wireguard is also added as an alternative to avoid relying on a third-party service, however it requires port-forwarding
2024-04-18 20:11:18 +07:00
#!/bin/sh
set -eu
PEER="${1}"
refactor: move dev cluster to master Easier to test and less maintenance
2024-12-14 21:46:27 +07:00
export KUBECONFIG=./metal/kubeconfig-${env}.yaml
refactor!: replace ZeroTier with Tailscale and Wireguard - Tailscale UX is better, and the Headscale control server is also easier to self-host than ZeroTier (although Headscale is not the official control server, the author now works at Tailscale) - Wireguard is also added as an alternative to avoid relying on a third-party service, however it requires port-forwarding
2024-04-18 20:11:18 +07:00
kubectl -n wireguard exec -it deployment/wireguard -- /app/show-peer "${PEER}"
kubectl -n wireguard exec -it deployment/wireguard -- cat "/config/peer_${PEER}/peer_${PEER}.conf"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.1 Page: 2199ms Template: 28ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API