Use port range
This commit is contained in:
parent
e27601b26e
commit
02bf3752bc
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue