Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
This commit is contained in:
CanbiZ 2024-11-15 18:13:26 +01:00 committed by GitHub
parent 89f84a015b
commit 31071c978f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ echo "net.ipv4.ip_forward=1" >>/etc/sysctl.conf
$STD sysctl -p /etc/sysctl.conf $STD sysctl -p /etc/sysctl.conf
msg_ok "Installed WGDashboard" msg_ok "Installed WGDashboard"
msg_info "Setup Example Config for WGDashboard" msg_info "Create Example Config for WGDashboard"
private_key=$(wg genkey) private_key=$(wg genkey)
cat <<EOF >/etc/wireguard/wg0.conf cat <<EOF >/etc/wireguard/wg0.conf
[Interface] [Interface]