Created
July 13, 2023 18:06
-
-
Save leotaku/bd681e06050cc61d1794360e49a25b60 to your computer and use it in GitHub Desktop.
nftables filter configuration to drop diagnostic packets sent by some AMV brand routers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/sbin/nft -f | |
| table netdev filter { | |
| chain ingress { | |
| type filter hook ingress device wlp61s0 priority 0; policy accept; | |
| meta protocol {0x8912, 0x88e1} drop; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment