Remote Capture to Your Windows Desktop
- Download and install Wireshark from https://www.wireshark.org/download.html.
- Download putty and plink from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
- Add both putty and plink to c:/Windows/System32 - this makes basically puts them into the path.
- Run putty and connect to the Ubiquiti device - this adds the encryption key to registry
Then run the following in cmd (modify for your environment) - Port 22 is excluded so you aren't capturing the packets being sent to you:
plink -batch -l youruser -pw yourpassword -P 22 192.168.1.1 sudo tcpdump -f -i eth0 -w - not port 22 | "c:\Program Files\Wireshark\Wireshark.exe" -k -i -
To get out, CTRL+c and close the cmd window.