[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 100
  • Last Modified:

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
0
zolf
Asked:
zolf
  • 2
  • 2
1 Solution
 
QlemoC++ DeveloperCommented:
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.
0
 
zolfAuthor Commented:
thanks for your comments. But I get red display in the filter meaning our filter is not correct
0
 
QlemoC++ DeveloperCommented:
As said, you need to set this up as capture filter. You might have to click on the interface first, then set the filter.
WireShark-Capturefilter.png
0
 
zolfAuthor Commented:
Cheers
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now