18.3.4.2. UDP Protocol
These match options are available for the UDP protocol (
-p udp
):
--dport
— Specifies the destination port of the UDP packet, using the service name, port number, or range of port numbers. The--destination-port
match option is synonymous with--dport
.--sport
— Specifies the source port of the UDP packet, using the service name, port number, or range of port numbers. The--source-port
match option is synonymous with--sport
.