vault backup: 2025-05-30 18:27:45
This commit is contained in:
@@ -25,12 +25,12 @@ apt install ufw -y
|
||||
#ufw reset -y
|
||||
ufw default allow incoming
|
||||
ufw default allow outgoing
|
||||
ufw deny in on eth0
|
||||
ufw allow in on eth0 proto tcp to any port 22
|
||||
ufw deny in on eth0
|
||||
ufw allow from 10.16.0.0/16
|
||||
ufw limit 22/tcp comment "Rate limit SSH"
|
||||
|
||||
ufw enable
|
||||
iptables -I DOCKER-USER -i eth0 -p tcp --dport 8000:10000 -j DROP
|
||||
ufw status numbered
|
||||
|
||||
#node exporter run + cerberus prometheus add
|
||||
|
||||
Reference in New Issue
Block a user