ssh traffic forwarding from linux to windows

Job ID: 33553885

Budget: $10 – $20 USD

Hi all!

I have developed a custom C# Network sniffer that works ok on my Windows computer (A) hanging on network (a.x.x.x).

Now I need to sniff using my running C# program on (A), the network traffic (TCP and UDP) coming from a remote computer (C) which is on another network (b.x.x.x)
There’s a Gateway Linux Pc (B) which I can access over ssh from my Pc (A), but I am not allowed to install any new program on it.

What would the Linux commands be I need to type on the (B) console to redirect the TCP and UDP network traffic coming from (C) to my Pc (A), so that I can read it with my sniffer custom program?

- It would be accepted to pipe the network traffic from (C) to a fifo file on a folder on (A) but
- It would be better desired to read in real time
- I am not using Wireshark, Wincap or whatever else and those are not an oiption to be used.
Related categories: Linux Network Administration Piping