By utilizing the tcpdump library included in Wago PFC controllers (as well as Edge Controllers and Edge Computers), it is possible to capture network traffic in & out of the Wago controllers in Wireshark without the need for mirroring traffic back to the PC running Wireshark (by using a managed switch or other networking device). Using this method also has the added benefit of being able to capture EtherCAT and Profinet traffic on the PFC.
To setup the remote capture in Wireshark, follow these steps. Note: These instructions will refer to the remote device as a PFC but these instructions will also work when using Edge Controllers & Edge Computers
-
Open Wireshark on host machine. Ensure host machine is able to communicate with the PFC (via ping, Wago Ethernet Settings, or any other method)
-
In Wireshark, navigate to Capture → Options menu
-
In the Capture Options menu, click on the Gear Icon next to the “SSH remote capture” listed under the “Input” menu
-
In the SSH remote capture menu that opens, in the “Server” tab, enter the IP address of the PFC and enter ‘22’ for the SSH port
-
Click on the “Authentication” tab in the SSH remote capture menu. Enter the username as root and password of the PFC (default password is ‘wago’)
-
Click on the “Capture” tab in the SSH remote capture menu. Enter the Remote Interface you would like to capture packets on (typically br0, or br1. For Edge Computers this value would be X1, X2… etc).
-
Note: for PFC devices, keep “tcpdump” selected. For Edge Computers, select “dumpcap”
-
-
Click “Start” and Wireshark will start capturing packet information on the PFC port selected






