Skip to content

Instantly share code, notes, and snippets.

View Everyone05's full-sized avatar

Maxim Nekhaev Everyone05

View GitHub Profile
@Everyone05
Everyone05 / full_setup_a.sh
Last active May 19, 2026 18:27
rn-xray-front-setup
set -e
export DEBIAN_FRONTEND=noninteractive
echo "===== 1. apt install ====="
apt-get update -qq
apt-get install -y -qq curl unzip nginx ufw ca-certificates >/dev/null
echo "===== 2. ufw — открываем :22 :80 :443 ====="
ufw --force reset >/dev/null
ufw default deny incoming