vault backup: 2025-05-30 18:07:41

This commit is contained in:
sShemet
2025-05-30 18:07:41 +05:00
parent bff037c090
commit c3bbdbf58b

View File

@@ -23,9 +23,12 @@ npm install -g typescript
#firewall install & enable
apt install ufw -y
ufw reset
ufw allow in on eth0 proto tcp to any port 22
ufw deny in on eth0
ufw allow in on eth1 from 10.16.0.0/16
ufw default allow incoming
ufw default allow outgoing
ufw deny proto tcp from any to eth0
ufw allow proto tcp from any to eth0 port 22
ufw allow from 10.16.0.0/16
ufw limit 22/tcp comment "Rate limit SSH"
ufw enable