Modify : test sudo for firewall
All checks were successful
Deployment Verification Ubuntu / deploy-and-test (push) Successful in 1m59s
All checks were successful
Deployment Verification Ubuntu / deploy-and-test (push) Successful in 1m59s
This commit is contained in:
parent
a2a47f9483
commit
f6d85f96c8
@ -35,8 +35,7 @@ configure_ufw() {
|
||||
|
||||
# Allow SSH on custom port
|
||||
log_message "INFO" "IPv4 : Allowing SSH on port 22"
|
||||
#ufw allow 22/tcp
|
||||
ufw allow ssh
|
||||
sudo ufw allow 22/tcp
|
||||
|
||||
# Allow HTTP/HTTPS for web services if needed
|
||||
log_message "INFO" "IPv4 : Allowing HTTP/HTTPS ports"
|
||||
|
Loading…
x
Reference in New Issue
Block a user