You can capture on all three interfaces with "tshark -i 1 -i 2 -i 3".
To filter on TCP and UDP ports, use the port directive. This captures both TCP and UDP traffic using the specified port either as a source or destination port. It can be combined with tcp or udp to specify the protocol, and src or dst to specify a source or destination port.
Can I specify more than 1 dst
ip address for tcpdump
?
If not, how shall I filter the information nicely if I only want the traffic for two specific destinations?
Thank you very much!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With