Skip to content

Instantly share code, notes, and snippets.

@leotaku
Created July 13, 2023 18:06
Show Gist options
  • Select an option

  • Save leotaku/bd681e06050cc61d1794360e49a25b60 to your computer and use it in GitHub Desktop.

Select an option

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
#!/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