Wireshark is a free and open-source network protocol analyzer that is used for troubleshooting, analysis, development, education, and security auditing. In this tutorial, we will cover how to install Wireshark on FreeBSD Latest.
Before starting the installation process make sure your FreeBSD system is up to date by running the following command:
sudo pkg update && sudo pkg upgrade
To install the Wireshark package on FreeBSD Latest, run the following command:
sudo pkg install wireshark
To allow Wireshark to capture packets without root privileges, we need to grant permission to the user.
To grant permission, add the user to the 'wheel' group by running the following command:
sudo pw groupmod wheel -m <username>
After adding the user to the group, we need to allow the user to capture packets by running the following command:
sudo sysctl net.inet.raw.allowusers=1
To run Wireshark, open the terminal and run the following command:
wireshark
This will launch the Wireshark Graphical User Interface (GUI).
By following this tutorial, you have successfully installed Wireshark on FreeBSD Latest. You are now ready to analyze your network traffic for troubleshooting, development, and security purposes.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!