The following is mentioned in the user guide and in the help when adding ports to something.
Define a port group. A port name are any name defined in /etc/services. e.g.: http
I’m wondering, How do i find out what is listed in this /etc/services file?
I would have expected the following command to list them but i just get the following.
vyos@vyos-sh# set firewall group port-group name port ?
Named port (any name in /etc/services, e.g., http)
<1-65535> Numbered port
Numbered port range (e.g. 1001-1050)
So when making firewall rules, how do i know if i have to list port number? or service?