Link to home
Start Free TrialLog in
Avatar of Zolf
ZolfFlag for United Arab Emirates

asked on

Wireshark filtering IP and port

Hello there,

I have these 2 machine with IP 192.168.1.123 and 192.168.1.103. The port of the machine 192.168.1.103 is 2111 and 2112 which it is listening on. How can I just sniff these ip and ports with TCP protocol only.

cheers
Zolf
Avatar of Qlemo
Qlemo
Flag of Germany image

A capture (not display!) filter of
   (host 192.168.1.123 or host 192.168.1.103) and tcp portrange 2111-2112
should work. It is not 100% exact but should be sufficient.
Avatar of Zolf

ASKER

thanks for your comments. But I get red display in the filter meaning our filter is not correct
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zolf

ASKER

Cheers