Skip to contentSkip to conversation

Packet duplication on bridge?

DISCUSSION Thomas S. Valsted 1 participant 1 message Jan 16, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

I am running an iptables bridge with 3 interfaces and I need a way to duplicate a packet based on an firewall rule.
When the firewall finds a packet from host 1 to host 2 on interface A, then it should route the packet to interface B AND C without altering it.
Likewise the other way, when the firewall finds a packet from host 2 to host 1 on interface B, then it should route the packet to interface A AND C without altering it. I have not been able to find any way to do this yet, but it should be possible anyhow. The firewall is as said earlier running in bridge mode which can not be changed, so NAT features seems impossible.
Do someone here have an idea to how this can be done?