config tcfilter 'global' option enabled '1' # One 'rule' section per tc filter. 'spec' is everything that would follow # tc filter add dev ingress pref # i.e. the (optional) protocol, the filter kind and its match, and the action. # # 'pref' is required: it is how the rule is removed again on stop/reload. # 'label' is optional and only used for log messages and the LuCI view. # Use 'skip_sw' so a match the hardware cannot offload fails loudly instead # of silently installing in software. # # The rules below are disabled examples. Adjust 'device', then set # 'enabled' to 1. # # Drop AVM FRITZ!Box powerline (HomePlug AV / MediaXtream) discovery: config rule option label 'Drop-HomePlug-AV (FRITZ!Box)' option device 'lan1' option pref '49152' option spec 'protocol 0x88e1 flower skip_sw action drop' option enabled '0' config rule option label 'Drop-MediaXtream (FRITZ!Box)' option device 'lan1' option pref '49153' option spec 'protocol 0x8912 flower skip_sw action drop' option enabled '0' # Drop multicast DNS / service discovery (UDP port 5353), IPv4 and IPv6: config rule option label 'Drop-mDNS (IPv4)' option device 'lan1' option pref '49154' option spec 'protocol ip flower ip_proto udp dst_port 5353 skip_sw action drop' option enabled '0' config rule option label 'Drop-mDNS (IPv6)' option device 'lan1' option pref '49155' option spec 'protocol ipv6 flower ip_proto udp dst_port 5353 skip_sw action drop' option enabled '0'