cluster-deployment/src/steps-config/50-wesher-wireguard.sh

15 lines
501 B
Bash
Raw Normal View History

#!/usr/bin/env bash
wesher_secret="$(ask_password "wesher configuration" "Enter the wesher shared secret:")";
wesher_join_ip="$(ask_text "wesher configuration" "Enter an IP of a host in the cluster to join:")";
queue_apt_install "raspberrypi-kernel-headers" "wireguard" "wesher" "wesher-systemd";
queue_postinstall_step "10-wesher.sh";
2022-03-21 03:13:38 +00:00
queue_firewall_rule allow 7946 comment wesher-gossip;
queue_firewall_rule allow 51820/udp comment wesher-wireguard;
queue_firewall_rule allow in on wgoverlay;