Hello,
Background:
After installing and running tcpdump on my old WRT54GL, I could never get it running perfect. The router has only 2MB of memory, so I was saving the tcpdump outputs (pcap) on my local machine via an SSH connection. tcpdump, however, would also copy the data from my SSH connection and snowball into oblivion. I could never get tcpdump functioning perfectly, mostly I believe, because vlan and/or ipv6 were not playing well with my commands. I messed with vlan settings in OpenWRT and eventually locked myself out of the router, thinking it was bricked. Lots of troubleshooting and I'm now back to square one on a clean OpenWRT build (firmware- OpenWrt Backfire 10.03.1 / LuCI 0.10.0, and kernal-2.4.37.9).
More research led me to "Port-Mirroring". I think this may be a simpler way to accomplish my goal. I want to analyze packets from a wireless client (smartphone app) on my local machine with wireshark. This is in a lab setting, and seems like it should be straight forward.
Bottom line:
Can anyone tell me if port mirroring is a function in openwrt? I cannot find that info. If it is not, is the iptables TEE command still a viable option for me? To be clear, I want to copy and forward (mirror) all my router's wireless traffic to my PC over ethernet. I'll continue reading about the subject, but I'm hoping an experienced person can point me in the right direction as I fumble through.