How to add port to network alias

Started by process, March 18, 2023, 01:45:54 PM

Previous topic - Next topic
I want to simplify some firewall rules and combine them into one. Today I have  have two broadcasting addresses with ip 255.255.255.255/24 and 239.255.255.255/24 on port 1900.
So I created an alias of type network(s) and added 255.255.255.255/24 and 239.255.255.255/24 but in that context I can't add the port 1900. But it does'nt seems to be possible in the "add rule" context either after I selected the alias.

Am I doing this wrong or do you have any advice? The best of both worlds would be if it was possible to add
255.255.255.255/24 and 239.255.255.255/24 on port 1900 and 224.0.0.251/24 on port 5353. And combine those three addresses into one alias.


Sorry my bad! It is possible to specify a port when I changed the protocol.