I am trying to capture remote tcp packets using tshark/pyshark. I can see the packets in wireshark if the firewall in the remote machine is turned off. It doesn't work with the firewall on. I have the tcp ports 2002 and 1448 opened in the remote machine firewall.
I have run the rpcapd service with the command rpcapd -n
If any of you have done remote capturing behind the firewall, your help will be much appreciated