Update
All checks were successful
Deployment Verification Ubuntu / deploy-and-test (push) Successful in 2m0s

This commit is contained in:
2025-04-27 11:45:41 +02:00
parent 60b2e9877f
commit a2a47f9483
3 changed files with 9 additions and 7 deletions

View File

@@ -35,12 +35,13 @@ configure_ufw() {
# Allow SSH on custom port
log_message "INFO" "IPv4 : Allowing SSH on port 22"
ufw allow 22/tcp
#ufw allow 22/tcp
ufw allow ssh
# Allow HTTP/HTTPS for web services if needed
log_message "INFO" "IPv4 : Allowing HTTP/HTTPS ports"
ufw allow 80/tcp
ufw allow 443/tcp
#ufw allow 80/tcp
#ufw allow 443/tcp
# Allow SNMP for monitoring
log_message "INFO" "IPv4 : Allowing SNMP port for monitoring"