Use port range

This commit is contained in:
Mo 2022-12-14 19:18:10 +01:00
parent e27601b26e
commit 02bf3752bc

View file

@ -7,7 +7,10 @@ dnf install -y \
buildah \
git-lfs \
podman \
sqlite-devel # For compilation of diesel-sqlite
# For helix grammer compliation
gcc-c++ \
# For compilation of diesel-sqlite
sqlite-devel
loginctl enable-linger $user
@ -22,7 +25,7 @@ for port in \
# Git SSH
2222 \
# Rustdesk
(seq 21115 21119)
21115-21119
firewall-cmd --add-port $port/tcp
end