I want to use ebtable to broute all the packets to iptable. I able to do so for the tcp packets but not able to do the UDP. If any one have info how to broute UDP. please share.
This code help me to handle the TCP packet
ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6
-j redirect --redirect-target ACCEPT
I tried to pass the UDP but it doesn't work . in --ip-protocol but no luck.