Thanks TrevorH,I saw your reply only after mine. But you still where precious since I wasn't sure of what I was doing. [by Zane]
I'm trying to redirect (actually, capture) traffic from one internal device to another. They are all on the same network, which is run by a dd-wrt router.
How do I use iptables to reject all traffic to localhost port 80 but allow the one that comes from local machine?
Here is my current solution that doesn't seems to block the traffic. the ip, the the ip of the local machine.