All of lore.kernel.org
 help / color / mirror / Atom feed
* How to implement transparent proxy in bridge through nftables
@ 2019-10-22 13:04 Ttttabcd
  2019-10-22 13:25 ` Florian Westphal
  0 siblings, 1 reply; 5+ messages in thread
From: Ttttabcd @ 2019-10-22 13:04 UTC (permalink / raw)
  To: netfilter-devel@vger.kernel.org

In ebtables, I can pull the direct Layer 2 forwarding traffic to the network layer through the "broute" table, but I can't find the "broute" table in nftables.

Later, I want to perform target MAC address redirection in PREROUTING, and change the target MAC to the bridge itself or the MAC of the slave interface, so that the data frame can reach the network layer.

But nftables doesn't seem to be able to perform MAC address redirection in bridge families, so there is no way to use it.

Finally, I searched the Internet for a long time, found br_netfilter, can open bridge-nf-call-iptables to pass the bridge frame to the iptables hook processing, but nftables does not support this feature.

Now I have tried all the methods that I can think of and can search. All of them are not working. I can only come here for help.

Can someone tell me how to run transparent proxy in the bridge with nftables, and the transparent proxy uses the tproxy module.

Does anyone know how to do it?

^ permalink raw reply	[flat|nested] 5+ messages in thread
* How to implement transparent proxy in bridge through nftables
@ 2019-10-22  8:02 Ttttabcd
  0 siblings, 0 replies; 5+ messages in thread
From: Ttttabcd @ 2019-10-22  8:02 UTC (permalink / raw)
  To: netfilter@vger.kernel.org

In ebtables, I can pull the direct Layer 2 forwarding traffic to the network layer through the "broute" table, but I can't find the "broute" table in nftables.

Later, I want to perform target MAC address redirection in PREROUTING, and change the target MAC to the bridge itself or the MAC of the slave interface, so that the data frame can reach the network layer.

But nftables doesn't seem to be able to perform MAC address redirection in bridge families, so there is no way to use it.

Finally, I searched the Internet for a long time, found br_netfilter, can open bridge-nf-call-iptables to pass the bridge frame to the iptables hook processing, but nftables does not support this feature.

Now I have tried all the methods that I can think of and can search. All of them are not working. I can only come here for help.

Can someone tell me how to run transparent proxy in the bridge with nftables, and the transparent proxy uses the tproxy module.

Does anyone know how to do it?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-24 11:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-22 13:04 How to implement transparent proxy in bridge through nftables Ttttabcd
2019-10-22 13:25 ` Florian Westphal
2019-10-24  7:57   ` Ttttabcd
2019-10-24 11:46     ` Florian Westphal
  -- strict thread matches above, loose matches on Subject: below --
2019-10-22  8:02 Ttttabcd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.