Questo contenuto non è disponibile nella lingua selezionata.
48.9.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
.
For the
--dport
and --sport
options, to specify a range of port numbers, separate the two numbers with a colon (:). For example: -p tcp --dport 3000:3200
. The largest acceptable valid range is 0:65535.