Fixed ufw no starting on boot
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
##--------------------##
|
||||
if [ "$shortdist" = "cent8" ]; then
|
||||
semanage port -a -t ssh_port_t -p tcp 4242
|
||||
systemctl enable ufw
|
||||
fi
|
||||
|
||||
##-------##
|
||||
|
||||
@@ -47,7 +47,7 @@ elif [ "$shortdist" = "cent8" ]; then
|
||||
|
||||
localectl set-keymap us-int
|
||||
useradd -r -U -s /usr/sbin/nologin -d /var/www www-data
|
||||
dnf remove firewalld -y
|
||||
systemctl disable firewald --now
|
||||
|
||||
##-------------##
|
||||
# Postfix #
|
||||
|
||||
Reference in New Issue
Block a user