添加 1.sh

This commit is contained in:
lqs 2025-03-08 18:54:14 +08:00
commit 443ecbc4d4

5
1.sh Normal file
View File

@ -0,0 +1,5 @@
sudo ufw allow 22/tcp comment "SSH"
sudo ufw allow 80/tcp comment "HTTP"
sudo ufw allow 443/tcp comment "HTTPS"
sudo systemctl enable ufw
sudo systemctl ufw status