Modify : test sudo for firewall
All checks were successful
Deployment Verification Ubuntu / deploy-and-test (push) Successful in 1m59s

This commit is contained in:
Hubert Cornet 2025-04-27 11:52:08 +02:00
parent a2a47f9483
commit f6d85f96c8

View File

@ -35,8 +35,7 @@ configure_ufw() {
# Allow SSH on custom port # Allow SSH on custom port
log_message "INFO" "IPv4 : Allowing SSH on port 22" log_message "INFO" "IPv4 : Allowing SSH on port 22"
#ufw allow 22/tcp sudo ufw allow 22/tcp
ufw allow ssh
# Allow HTTP/HTTPS for web services if needed # Allow HTTP/HTTPS for web services if needed
log_message "INFO" "IPv4 : Allowing HTTP/HTTPS ports" log_message "INFO" "IPv4 : Allowing HTTP/HTTPS ports"