Matches - FAQs
www.faqs.org › docs › iptablesJan 01, 2019 · Match--dport, --destination-port: Example: iptables -A INPUT -p udp --dport 53: Explanation: The same goes for this match as for --source-port above. It is exactly the same as for the equivalent TCP match, but here it applies to UDP packets. It matches packets based on their UDP destination port. The match handles port ranges, single ports and ...
Matches - FAQs
www.faqs.org/docs/iptables/matches.html01.01.2019 · There are currently three types of implicit matches for three different protocols. These are TCP matches, UDP matches and ICMP matches. The TCP based matches contain a set of unique criteria that are available only for TCP packets. UDP based matches contain another set of criteria that are available only for UDP packets.