How to install wireshark on proxmox ?

Lana

New Member
Nov 13, 2023
18
1
3
can someone help we with getting wireshark in proxmox. and maybe how to use it to capture any network traffic or username password.
Thanks
 
Last edited:
Using `apt install wireshark` you can install the wireshark, however, wireshark needs a graphical interface installed to be running in your Proxmox node. If you didn't have, you have to use `tcpdump` instead.
 
Wireshark package contains "tshark" which is terminal equivalent of wireshark, if one needs advanced filtering and analyses then the tshark is much more capable than tcpdump. Of course, tshark can read files saved with tcpdump.

Another option is to export the XTERM session to a GUI capable PC/VM.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Wireshark package contains "tshark" which is terminal equivalent of wireshark, if one needs advanced filtering and analyses then the tshark is much more capable than tcpdump. Of course, tshark can read files saved with tcpdump.

Another option is to export the XTERM session to a GUI capable PC/VM.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
i tried install tshark using apt-get install tshark and i got these error1704333854776.png
and i tried to apt-get update it first and still got these error
 
tshark is part of wireshark, you would install as shown by @Moayad

that said, the error you've shown (please use text copy/paste using CODE tags next time) indicates that you have a DNS configuration issue.
Examine your /etc/resolv.conf, it should contain a proper nameserver. If you dont have one, use 8.8.8.8 (google public dns).

Code:
search localnet
nameserver 172.16.100.1


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
tshark is part of wireshark, you would install as shown by @Moayad

that said, the error you've shown (please use text copy/paste using CODE tags next time) indicates that you have a DNS configuration issue.
Examine your /etc/resolv.conf, it should contain a proper nameserver. If you dont have one, use 8.8.8.8 (google public dns).

Code:
search localnet
nameserver 172.16.100.1


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
ill try it . Thank you so much
 
tshark is part of wireshark, you would install as shown by @Moayad

that said, the error you've shown (please use text copy/paste using CODE tags next time) indicates that you have a DNS configuration issue.
Examine your /etc/resolv.conf, it should contain a proper nameserver. If you dont have one, use 8.8.8.8 (google public dns).

Code:
search localnet
nameserver 172.16.100.1


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
it worked thank you so much
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!