Skip to content

Instantly share code, notes, and snippets.

View 9967819's full-sized avatar
🤗
Tching tching !

Jack Bortone 9967819

🤗
Tching tching !
View GitHub Profile
@9967819
9967819 / gist:efe2fde389b5ca24c8f0aace23d28473
Last active March 10, 2024 22:55
Simple netdev based firewall using nft
flush ruleset
table netdev firewall {
chain inbound {
type filter hook ingress device wlp2s0 priority 0; policy drop;
iif lo accept
iif wlp2s0 accept
meta l4proto ipv6-icmp accept