This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ configure_ufw() {
|
||||
|
||||
# Allow SSH on custom port
|
||||
log_message "INFO" "IPv4 : Allowing SSH on port 22"
|
||||
sudo ufw allow 22/tcp
|
||||
ufw allow 22/tcp
|
||||
|
||||
# Allow HTTP/HTTPS for web services if needed
|
||||
log_message "INFO" "IPv4 : Allowing HTTP/HTTPS ports"
|
||||
|
||||
Reference in New Issue
Block a user