Is there a command that can be run on the mesh internet gateway that will show the currently active tcp/ip connections? I'm looking to verify which nodes have traffic are transiting the mesh gateway.
Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer
Since these run Linux, re-word your question to "Active tcp/ip connections linux" and google that. (The answer is netstat)
Fair enough.
"netstat-nat" is not installed on the mesh node in the AREDN lean embedded version of linux. I don't see it available as a default package, although it looks like this could be compiled and made available. The installed version of "netstat" only shows sockets directly to/from the mesh node itself, not traffic routed through it.
There is a way to see this information buried in the details found using this command:
> cat /proc/net/nf_conntrack
Joe AE6XE
This works pretty good:
cat /proc/net/nf_conntrack | grep -v -E 'dst=127.|dst=10.'