ebtables

Ebtables has three tables:

  • filter

  • broute

  • nat

broute - 用 bridge 做 router.

The broute table has the BROUTING chain. The filter table has the FORWARD, INPUT and OUTPUT chains. The nat table has the PREROUTING, OUTPUT and POSTROUTING chains.

broute ACCEPT: to Routing

Write LOG ebtables -t broute -A GRE_LI -p ipv6 --ip6-source 2001:b021:24:8080:74eb:edd5:d837:4d64 -j DROP --log --log-level $log_level

Filter Muticast

--pkttype-type multicast

Filter Broadcast

--pkttype-type broadcast

Support protocol type

$(cat /etc/ethertypes)

debug log

$(ebtables -t $table_name -A $CHAIN_NAME --log-level info --log-ip --log-prefix $prefix_string )

Last updated

Was this helpful?