I have been wondering what sort of traffic my house sends to the internet. I fancied building a little sniffer.
I used a NUC with three ethernet ports. One provides the normal connection, the other two are bridged together and plugged into the UDM and the starlink bridge adaptor. You can then sniff the bridge.
networking.networkmanager.unmanaged = ["enp2s0" "enp3s0"];
networking.interfaces."enp2s0".useDHCP = false;
networking.interfaces."enp3s0".useDHCP = false;
networking.bridges = {
"br0" = {
interfaces = [ "enp2s0" "enp3s0" ];
};
};
I wrote a program using gopacket. It