vault backup: 2025-05-30 18:07:41
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user