Remote packet capture via netcat and Wireshark

I’ve only ever done this on windows and followed this guide:

that uses the command:

C:\nc\nc.exe -l -p 12345 | “C:\Program Files\Wireshark\wireshark.exe” -ki –

Looks like you’re missing the p option to bind the port number?