I'm trying to use NC to divert tcpdump output from UTM to a windows client, but i get literally nothing at both ends - no errors, no data, no network traffic, nothing at all.
UTM command: tcpdump -i wlan1 port 21 -vv -s 0 -XX | nc -s [UTM IP] [destination IP] 45678
client command: ncat -l 45678
This works fine between the Windows client and another linux-based system, but not from the UTM. I know that no traffic is making it to the workstation, even with the client's firewall turned off, suggesting UTM is the cause. I've tried without the -s switch, and also using a Linux client, all with the same result. running TCPDUMP in another console session on the UTM also doesn't see any traffic in either direction under any scenario i have tried.
Although it would be nice if it did work, it doesn't need to, as there are other (albeit slightly more complicated) ways of achieving the same result, but i'm curious why it doesn't.
According to http://www.greenvalleyconsulting.org/2019/01/31/sophos-xg-firewall-how-to-create-and-download-packet-capture-with-netcat/ it works (or at least did work) on XG.
Thanks
This thread was automatically locked due to age.