Skip to content

How-ToOS

How to Capture and Filter Network Traffic on Windows 11 With Wireshark

Wireshark shows exactly what your PC is sending and receiving, which makes it ideal for tracking down connection problems. This beginner's guide covers installing Wireshark and Npcap on Windows 11, starting a capture, using capture and display filters, following a conversation and saving your results, using Wireshark's own documentation.

By , Systems & Technical Editor

6 min read

How to Capture and Filter Network Traffic on Windows 11 With Wireshark

When a game keeps disconnecting, an app won't reach its server or you want to know what a new smart device is talking to, the quickest way to find out is to look at the traffic itself. Wireshark is the standard free tool for that. Its developers call it "the world's leading network protocol analyzer", and it lets you record every packet passing through your PC's network adapter and then filter them down to the handful that matter. This beginner's guide covers installing Wireshark and Npcap on Windows 11, starting your first capture, using capture and display filters, following a conversation and saving your results, based on the Wireshark Foundation's download page, User's Guide and FAQ, checked on 30 November 2026.

A quick word on responsibility: only capture traffic on networks and devices you own or have permission to monitor.

Step 1: Download the right version

Wireshark's download page lists three release lines. On 30 November 2026 the Stable Release was 4.6.10, the Old Stable Release was 4.4.20 and a Development Release, 5.0.0rc2, was also available. For everyday use, pick the Stable Release. Windows users get a choice of a Windows x64 Installer, a Windows Arm64 Installer for Snapdragon and other Arm PCs, and a Windows x64 PortableApps version that runs without installing. The download page also lists the security fixes in the latest release notes, which is a good reason to keep Wireshark up to date: it reads untrusted data from the network all day.

If you prefer the command line, Wireshark is also in Microsoft's WinGet package repository under the ID WiresharkFoundation.Wireshark, though that package can lag slightly behind the download page; our guide to installing apps with WinGet explains how to search for and install packages.

Step 2: Install Wireshark and Npcap

Run the installer and accept the defaults unless you have a reason not to. The User's Guide says Wireshark installs into C:\Program Files\Wireshark on most systems, and optional tasks include a Start menu shortcut, a desktop icon and associating trace files with Wireshark.

The important part is Npcap. Npcap is the Nmap Project's packet capture library for Windows; its developers say it uses a custom Windows kernel driver so that Windows software can capture raw network traffic, "including wireless networks, wired ethernet, localhost traffic, and many VPNs". The Wireshark installer contains the latest Npcap installer, and the User's Guide is clear on why it matters: without Npcap "you won't be able to capture live network traffic", although you can still open saved capture files. Leave the Npcap box ticked. One catch for scripted installs: the guide notes that the silent installer (/S) will not install Npcap.

Step 3: Pick an interface and start capturing

Open Wireshark and you'll see the Welcome Screen, which lists recent capture files and your available capture interfaces. Each interface has a small sparkline next to its name showing its network activity, which makes it easy to spot the one you're actually using, typically Ethernet or Wi-Fi. Hovering over an interface shows its IPv4 and IPv6 addresses, and you can select more than one interface to capture from them at the same time.

To start capturing, the User's Guide gives several options: double-click an interface on the Welcome Screen, or select it and choose Capture → Start (or click the first toolbar button). For more control, use Capture → Options. Packets will start scrolling past immediately. Reproduce the problem you're investigating, such as launching the game or opening the app, then stop the capture so the list stops moving. If you'd rather not babysit it, the Capture Options dialog can also stop a capture automatically after a set number of packets, a file size or other conditions.

Step 4: Use a capture filter to record less

A busy PC generates a lot of traffic, so if you already know what you're looking for, you can tell Wireshark to record only matching packets. Capture filters are entered in the Filter field of the Capture Options dialog and use the libpcap filter language. The User's Guide's examples show the pattern: tcp port 23 and host 10.0.0.5 captures traffic on TCP port 23 to and from one host, and tcp port 23 and not src host 10.0.0.5 excludes traffic from that host. Primitives include host, net and port, optionally with src or dst.

In practice, something like host 192.168.1.50 (swap in the address of a games console or smart plug) or port 53 (DNS lookups) is enough to get started. The catch is that a capture filter throws everything else away, so if you're not sure what you need, capture everything and filter afterwards.

Step 5: Use display filters to find what matters

Display filters are where Wireshark becomes useful. They don't delete anything; they just hide packets that don't match. Type them into the display filter toolbar above the packet list. The User's Guide says the simplest display filter is a single protocol: type tcp to show only TCP packets, or http.request to show only HTTP requests. Some useful starting points:

  • dns shows name lookups, which is often the quickest way to see which servers an app is contacting.

  • ip.addr == 192.168.1.50 shows traffic to or from one device. The guide notes CIDR notation works too, such as ip.addr == 192.168.1.0/24 for a whole home subnet.

  • tcp.port in {80, 443, 8080} shows traffic on any of several ports.

  • tcp.flags.syn == 1 shows connection attempts, useful when something "can't connect".

Combine conditions with and, or and not (or &&, || and !), for example ip.src == 192.168.1.50 and dns. The full list of supported protocols and fields is under View → Internals → Supported Protocols.

Step 6: Follow a conversation

Individual packets are hard to read. To see a whole exchange the way the application sees it, select a packet from the connection you're interested in and choose Analyze → Follow (or right-click it in the packet list) and pick the stream type, such as TCP Stream. Wireshark sets a display filter for that stream and opens a dialog with the data laid out in order. The User's Guide offers a handy tip: opening the Follow dialog and closing it straight away is a quick way to isolate a stream, while closing it with the Back button resets the display filter.

Step 7: Save the capture

Use File → Save or File → Save As to keep a capture, which is useful if you want to compare before and after a change or send it to someone helping you troubleshoot. You can choose which packets to save and the file format, and Wireshark can compress the file as it's written, with gzip, LZ4 or Zstandard depending on your build. Be careful about sharing captures publicly, since they can contain addresses, device names and anything sent unencrypted.

Why you might not see the traffic you expect

Wireshark's FAQ explains the most common surprise. If you capture on your PC while trying to watch another device, such as a console on the same router, you usually won't see its traffic, because on a switched network "unicast traffic between two ports will not necessarily appear on other ports - only broadcast and multicast traffic will be sent to all ports". Most home routers have a built-in switch, so to watch another device you'd need a switch that can mirror a port, or capture on the device itself. For traffic from apps on your own PC, capturing on your own adapter works fine.

Where Wireshark fits with other tools

Wireshark is the deep-dive tool. For a quick view of which app is holding which connection, TCPView or netstat is faster, Windows' built-in Pktmon can capture without installing anything, pathping and tracert find where along the route packets are lost, and iperf3 measures your home network's real speed. Our best free network troubleshooting tools roundup compares them all.

The bottom line

Wireshark is the best free way to see exactly what your Windows 11 PC is sending and receiving. Download the Stable Release (4.6.10 on 30 November 2026), keep the bundled Npcap ticked so live capture works, double-click your active interface, then stop the capture and narrow it down with display filters such as dns, ip.addr == and tcp.port in. Use Analyze, Follow to read a whole conversation, save captures with File, Save As, and only capture on networks you own or have permission to monitor.

Sources

  1. 01Wireshark Foundation, Wireshark home page
  2. 02Wireshark Foundation, Download Wireshark
  3. 03Wireshark User's Guide, Installing Wireshark under Windows
  4. 04Nmap Project, Npcap: Windows Packet Capture Library and Driver
  5. 05Wireshark User's Guide, The Capture Section of the Welcome Screen
  6. 06Wireshark User's Guide, Start Capturing
  7. 07Wireshark User's Guide, The Capture Options Dialog Box
  8. 08Wireshark User's Guide, Filtering while capturing
  9. 09Wireshark User's Guide, Building Display Filter Expressions
  10. 10Wireshark User's Guide, Following Protocol Streams
  11. 11Wireshark User's Guide, Saving Captured Packets
  12. 12Wireshark Foundation, Wireshark FAQ
  13. 13Microsoft, winget-pkgs manifests for WiresharkFoundation.Wireshark on GitHub

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best Free Emulators for PC in 2026

Best Picks

Best Free Emulators for PC in 2026

The best free emulators for PC in 2026: RetroArch for retro systems in one app, PCSX2 for PS2, Dolphin for GameCube and Wii, DuckStation for PS1 and PPSSPP for PSP. We compare the systems each covers, licences, BIOS needs, hardware requirements and features from each project's official site, and explain how to stay legal with your own games and BIOS dumps.

Hannah Vance6 min

How to Set Up PCSX2 on Windows: Play Your PS2 Games on PC

How-To

How to Set Up PCSX2 on Windows: Play Your PS2 Games on PC

PCSX2 can play much of the PlayStation 2 library on a Windows PC at higher resolutions than the original console. Using PCSX2's official documentation, we explain the hardware you need, how to install it, how to dump the BIOS from your own PS2 and your game discs, which renderer to choose, how to save safely and what to check if games run slowly.

Marcus Thorne8 min

Best Local AI Video Translation and Dubbing Tools in 2026

Best Picks

Best Local AI Video Translation and Dubbing Tools in 2026

Free AI tools can now transcribe a video, translate it and dub it into another language on your own PC. We pick the best: pyVideoTrans, VideoLingo, OpenCreator (formerly KrillinAI) and SoniTranslate, comparing offline use, languages, voices, setup, licences and hardware from each project's official docs.

Hannah Vance5 min

pyVideoTrans vs VideoLingo: Which Local AI Video Translator Should You Use?

Versus

pyVideoTrans vs VideoLingo: Which Local AI Video Translator Should You Use?

pyVideoTrans and VideoLingo are popular open-source tools for translating and dubbing videos with AI on your own PC. Using each project's official docs, we compare installation, speech recognition, translation engines, dubbing voices, offline use, GPU support and licences, and say which suits which job.

Callum Reid4 min