I need to open multiple different ports (not in ranges) on a CentOS machine.
I know how to open a port with
firewall-cmd, but that gets bothersome for opening like 40 and more ports.
Is there a configuration file where I can define all open ports in one place? Sadly I didn't find anything regarding this.