service <name>
Go to configuration submenu of service with name <name>
.
service=['name']> [no] (tcp|udp) src-port (<port>|<port-range>|any) dst-port (<port>|<port-range>|any)
Add to service (or remove from service, if no
) a TCP / UDP protocol with source and destination ports. If <port>
is one number, it is the first and the last in the range of ports. For a <port-range>
, two port numbers are specified, separated by :
, as in pf
(that is, <port-range>
is <port>:<port>
). The any
value is equivalent to a 0:65535
range.
service=['name']> [no] icmp type <number> code <number>
Add to service (or remove from service, if no
) an ICMP protocol with a message type and code.
service=['name']> [no] protocol [number]
Add to service (or remove from service, if no
) other protocol according to its <number>
.