I'm using following code for capturing incoming and outgoing tcp packets by ports:
tcpdump -i any -s 0 -vvv -A port 3727 or port 5016 or port 3724 -w /home/admin/dump1.cap
But tcpdump captures only incoming packets, I need incoming and outgoing packets at the same time. Anybody know where my mistake?
Thanks in advance.