From 254bd726bb7e3037273b6b6efa0c5c6fca7c2c20 Mon Sep 17 00:00:00 2001 From: "Harry (hjbdev)" Date: Sun, 6 Apr 2025 18:00:40 +0100 Subject: [PATCH] add wireguard to the provision script --- provision.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/provision.sh b/provision.sh index 134c1cd..544865d 100644 --- a/provision.sh +++ b/provision.sh @@ -34,7 +34,7 @@ apt update apt_wait apt upgrade -y apt_wait -apt install unzip curl fail2ban ufw -y +apt install unzip curl fail2ban ufw wireguard -y # No password logins sed -i "/PasswordAuthentication yes/d" /etc/ssh/sshd_config @@ -91,8 +91,7 @@ chmod 700 /home/keystone/.ssh/id_rsa # Setup UFW Firewall ufw allow 22 -# ufw allow 80 # only if web -# ufw allow 443 +ufw allow 51820 # wireguard ufw --force enable # Add Keystone User To www-data Group