ProPrivacy is reader supported and sometimes receives a commission when you make purchases using links on this site.

Guide to Using VPNs With WireShark - How to Test That Your VPN Traffic Is Encrypted

Wireshark VPN: Introduction

VPNs are the top choice for staying secure online. By adding an extra layer of protection to your online browsing, VPNs can prevent many things – from internet service providers (ISPs) logging your internet activity to a variety of other network vulnerabilities. This is why, when using a VPN, it’s important to ensure that it’s operating as it should.

VPNs can be subject to false advertising. Some VPNs claim to encrypt your data- the main point of using a VPN in the first place - only for users to find out that their network traffic wasn't encrypted when the VPN was turned on after all. Luckily, packet sniffers like Wireshark can be used to verify exactly that.

At, we want to provide you with the proper means to ensure that your VPN is acting exactly as it should. This handy guide will help you do just that.

What is a packet sniffer?

Packet sniffers – otherwise known as protocol analyzers or packet analyzers – are tools that are used for identifying network-related problems. While packet sniffers are sometimes used to collect user traffic and/or passwords by cyber criminals, they are also used for things like finding network solutions by technicians and system administrators.

Whether it’s being used for troubleshooting network problems or identifying network intrusions, packet sniffers are extremely useful. For example, a packet sniffer is a great tool for a system administrator to use to identify why network traffic is slower than usual. They can also help businesses monitor network activity to ensure productivity and they can assist individual users like you in keeping your network secure.

Packet sniffers can also be used with VPNs. From sniffing network traffic to verifying your VPN’s encryption, packet sniffers have a multitude of uses. Luckily, at, we want you to understand how to use this tool to improve your online security. This is why we put together this guide on using the packet sniffer Wireshark with VPN technology!

What is a VPN?

A virtual private network (VPN) is a piece of software that allows users to establish a secure connection to another network over the web. In other words, a VPN allows you to send and receive data in a safe online environment by encrypting your connection via a remote server. While VPNs are a must for digital privacy, they can also be used for things like accessing blocked websites or other regionally restricted content.

Unfortunately, the quest to find a grade A VPN provider is not always easy. You always want to verify that your choice is operating as it should – which means you want to verify that your connection is actually encrypted. If your VPN is failing in encrypting your data, its entire purpose is defeated. This is where a Wireshark VPN comes in handy.

What is Wireshark?

Wireshark is a network packet analyzer (or packet sniffer) that captures network packets and then displays the captured packet data in detail for the user. Wireshark has many different uses – from troubleshooting network problems to examining security vulnerabilities.

Most commonly, Wireshark is used by network administrators, network security engineers, developers, and individuals like you and me. Unfortunately, Wireshark can also be used by hackers looking to infiltrate systems by sniffing their network traffic and data and collecting passwords and other private information.

When paired with a VPN, Wireshark can confirm that a connection is encrypted and working as it should. It can also be used to collect traffic from your network and VPN tunnel. Check out our what is Wireshark page for more information about it.

What is the cost of Wireshark?

While in the past packer sniffers were sold with a high bounty on their heads, that is not the case anymore: Wireshark is free for use at any time. As a free software, Wireshark works to provide all users with access to its features as a whole. When downloaded, users will be using the full version of Wireshark.

What protocols are supported by Wireshark?

In addition to troubleshooting network problems and examining security vulnerabilities, Wireshark can also be used to debug protocol implementations or to learn network protocol internals. As such, there are literally hundreds of protocols supported by Wireshark. If you have a specific protocol in mind, chances are Wireshark supports it.

If Wireshark does not support the protocol you favor, they offer a HowToEdit page that offers tips on adding missing protocols. For more information on the protocols supported by Wireshark, check out their Protocol Reference page.

Installing a Wireshark VPN

A Wireshark VPN can be installed on any operating system. Despite there being a slight difference in the installation on Windows/Linux vs. Mac, both installations are easy to do.

Installing Wireshark on PC

To set up a Wireshark VPN on PC, you’ll need a few things:

  • Router/Firewall that allows VPN connections
  • Your IP address (grab it at
  • A Wireshark VPN

When the requirements are met, you can proceed to your Wireshark VPN setup.

  1. Navigate to your VPN’s website
  2. Choose the corresponding installation fileChoose OS for VPN
  3. Download the installation fileAir VPN download
  4. Follow the installation directions provided by your VPN providerAirVPN Instructions
  5. Review terms & conditions
  6. Find your VPN application & launch it to begin configurationAirVPN start menu
  7. Register a username and passwordAirVPN start up window
  8. Connect to a recommended serverAirVPN connection server
  9. Run your Wireshark VPN & enjoy digital privacyAirVPN connected

Installing Wireshark on Mac

Similar to Windows/Linux, you’ll need a few things before you can configure your Wireshark VPN using Mac:

  • Server IP address or eligible domain
  • Username & password
  • Connection type (L2TP/PPTP)

After obtaining the requirements necessary, you can proceed to your Wireshark VPN’s setup.

  1. Select System Preferences
  2. Select Network
  3. Click on the +button
  4. Under interface, select VPN
  5. Specify your connection type as PPTP or L2TP
  6. Select Configuration
  7. Choose the Add Configuration option
  8. Name it "Server 1”
  9. Type your VPN server’s IP address/FQDN and username
  10. Select Authentication Settings
  11. Enter your password
  12. If your connection is L2TP, enter the shared secret
  13. Select Show VPN status in menu bar
  14. Select Apply
  15. Enjoy your Wireshark VPN!

By default, Mac only passes necessary Wireshark VPN traffic through your Wireshark VPN. If you want to pass all traffic through it, you need to complete a few extra steps.

  1. Go to System Preferences
  2. Select Advanced
  3. Tick Send all traffic over VPN connections
  4. Select Ok
  5. Select the drop down cog menu
  6. Select Set Service Order
  7. Drag the services so your VPN is at the top
  8. Enjoy your Wireshark VPN!

Installing Wireshark

Installation for Wireshark is fairly straight forward. Depending on your OS, you simply need to download the corresponding installation file and then execute it.

Installation on Windows

  1. Navigate to Wireshark’s download page & select Windows 32 or 64-bitWireshark installation page

  2. Let the installation file complete its download & then click on it Wireshark Download

  3. Wireshark Setup will appear – select "Next”Wireshark Config

  4. When prompted with the License Agreement, select "I Agree”Wireshark Installation Prompt

  5. Choose the components you’d like to install & select "Next”Wireshark Applications to Install
  6. Tick any shortcuts you’d like to make & select "Next”Wireshark shortcuts

  7. Choose your Destination Folder & select "Next”Wireshark directory
  8. When prompted, tick the option to install WinPcap & select "Next”Wireshark install add on
  9. OPTIONAL: tick the option to install USBPcap & select "Next”Wireshark install usb
  10. Wireshark will begin installationWireshark installation
  11. Setup for WinPcap will pop up – follow the installation promptsWinPCap install
  12. Setup for USBPcap will pop up (if you chose to install it) – follow the promptsUSBPcap Install
  13. After Wireshark Setup is complete, reboot your system by ticking it and selecting "Finish”Wireshark Finish Installation
  14. After the reboot, you’re ready to use Wireshark!

Installing Wireshark on Linux

  1. Open up Terminal by selecting CTRL+ALT+T
  2. Type (without quotations): "sudo apt-get update”
  3. And then "sudo apt-get install wireshark”
  4. Wait for installation to complete & type "wireshark”
  5. The Wireshark application will open up!

Installing Wireshark on Mac

  1. Select Command+Space
  2. Type "Terminal”
  3. Select Enter/Return
  4. Type in the Terminal (without quotations): "ruby -e "$(curl -fsSL" < /dev/null 2> /dev/null”
  5. Select Enter/Return
  6. After the command is complete, type "brew install wireshark”

If that installation brings up issues, you can try:

  1. Downloading Wireshark straight from the website
  2. Mount the disk image
  3. Follow the installation prompts
  4. Once installation is complete, drag the Wireshark app to your Applications folder
  5. Open your Utilities Folder via the disk image
  6. Drag the Startup folder to your desktop
  7. Eject the disk image
  8. Open the copied Startup folder
  9. Delete "README.macosx”
  10. Rename the folder to ChmodBPF
  11. Open your Library folder (NOT the one in your home directory)
  12. Look for a folder called StartupItems
  13. If the folder is not there, create it
  14. Open Terminal & type (without quotations) "cd Desktop”
  15. Type "sudo mv ChmodBPF /Library/StartupItems/
  16. Type in your account password
  17. After setup is complete, restart your computer
  18. Wireshark is ready to go!

Using Wireshark

Due to Wireshark’s multitude of uses, using it can be a bit overwhelming in the beginning. We want to start out small, as pairing a VPN with Wireshark is only the beginning of its capabilities. Luckily, the beginning steps are easy to master.

Sniffing Network Traffic

The basic use of Wireshark is to capture network packets by sniffing your network traffic. In order to verify your Wireshark VPN encryption, you need to know how to run a simple packet capture.

  1. tart WiresharkWireshark Default Screen

  2. Select the interface to scan from the Capture menuWireshark Interface Selection

  3. Select the Start buttonWireshark Network Sniffing
  4. Analyze the information by referring to Wireshark’s default color codesWireshark Color Codes

VerifyingWiresharkVPN Encryption

Wireshark is probably the best tool to use when verifying that your VPN is encrypting data. By inspecting the data packets that your computer is sending and receiving, you are able to see with your own eyes that your Wireshark VPN is working as it should. Luckily, it’s also easy to do.

  1. Open your VPN
  2. Start Wireshark
  3. Select your network interface (WiFi/Ethernet) to record
  4. Begin recording
  5. Search for the packets that have the "Protocol” as "OpenVPN”
  6. Right click on the OpenVPN packet
  7. Select "Follow...UDP/TCP stream”Wireshark Selecting Interface

  8. Review the full stream to verify encryption – it will appear as nonsenseWireshark Encryption VPN Traffic

Protect Yourself from Packet Sniffers

The intended use of packet sniffers is to assist network technicians and system administrators in identifying network problems. Unfortunately, that doesn’t mean that criminals don’t abuse packet sniffers like Wireshark for their own sinister use. If you want to stay secure online, consider following these tips to help you avoid packet sniffing:

  • Double check that you’re using HTTPS by looking in the upper left corner of your browser
  • Use a DD-WRT Router
  • Use email encryption when applicable (think PGP encryption)
  • Try remote computing
  • Use tools like Antisniff
  • Use one of ourbest vpn services!

Wireshark VPN:Conclusion

If you want to have the ultimate in online security, you’ll use a Wireshark VPN. With a Wireshark VPN, you can browse the internet in complete anonymity while verifying that your Wireshark VPN traffic is actually being encrypted. Don’t waste another second putting your privacy and security at risk - install one of our best VPNs for Wiresharktoday!

Written by: Sean McGrath

Sean McGrath is Editor of An experienced investigative journalist, writer and editor, he has worked for some of the world's best-known IT publications including the ComputerWeekly, PCPro, TechWeekEurope & InformationWeek. He regularly comments on industry matters for the likes of Forbes, Silicon, iTWire, Cyber Defense Magazine & Android Headlines.


There are no comments yet.

Write Your Own Comment

Your comment has been sent to the queue. It will appear shortly.

Your comment has been sent to the queue. It will appear shortly.

Your comment has been sent to the queue. It will appear shortly.

  Your comment has been sent to the queue. It will appear shortly.

We recommend you check out one of these alternatives:

The fastest VPN we test, unblocks everything, with amazing service all round

A large brand offering great value at a cheap price

One of the largest VPNs, voted best VPN by Reddit

One of the cheapest VPNs out there, but an incredibly good service