add initial setup scripts used for by-02 host (vpnwg.ulakar.com)

This commit is contained in:
v.karaychentsev
2026-02-13 18:24:00 +03:00
parent cc467dcdf4
commit 428f694eaa
5 changed files with 116 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
echo "== UFW =="
apt-get install -y ufw
ufw default deny incoming
ufw default allow outgoing
ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
# enable with interactive = off
echo "y" | ufw enable
echo "== UFW enabled =="