Sunday, September 24, 2023

CentOS how to install and use tcpdump

To install 

Sudo yum install tcpdump 

To use it with a specific interface name, -i option can be used

tcpdump -i ens192 

Now to see if any specific traffic is going through, 

tcpdump -i ens192 | grep google.com  

references:

OpenAI 

No comments:

Post a Comment