I am trying to find a way to read multiple ports using tcpdump. Suppose I have two ports, p1 and p2, and I want to read the traffic moving through both ports simultaneously. Is
if you want to filter ports based on the range then use portrange.
E.g:
tcpdump -an portrange 1-25