Our license server has two daemons running to serve licenses to client one has fixed port and the other is having port number changing after restarting the service(ephemeral port), I have added added exceptions for first port, but I dont know how to add exception for variable port number? And is it secure? Is there something like program-specific exception on LINUX instead of port specific?(I tried service specific exception but in service specific exception the port number is fix and in our case the port number is not fix.) Your help in this matter would be greatly appreciated. Thank you.
How to open ephemeral ports in LINUX firewall? Is it secure to open?
linux;firewall;firewalld