I’m looking for the correct iptables rules for the following scenario:
Router R running ddwrt (so I can set iptables rules, but can’t install mitmproxy / wireshark)
Device A which is sending traffic I want to analyze to the internet. Device B running Ubuntu on which I have mitmproxy and wireshark. Many other devices on the network connected to R which I don’t want to disrupt.
How do I set up the rules so that traffic from A (and only traffic from A) is routed to device B? I don’t have any control over the device A besides setting to which wifi AP it connects.