Port mirroring using iptables on ddwrt.

If you use ddwrt and have snort/snorby in your home network on a different machine and would like port mirroring using iptables, you can send all logging this way.

iptables -A PREROUTING -t mangle -j ROUTE –gw –tee
iptables -A POSTROUTING -t mangle -j ROUTE –gw –tee

12.254 is the machine where you do a copy forward all packets

Posts created 59

2 thoughts on “Port mirroring using iptables on ddwrt.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top