Skip to content

Instantly share code, notes, and snippets.

@schuerg
schuerg / ruleset.nft
Created June 15, 2025 15:54
ruleset.nft
table ip nat {
chain DOCKER {
iifname "docker0" counter packets 0 bytes 0 return
}
chain PREROUTING {
type nat hook prerouting priority dstnat; policy accept;
fib daddr type local counter packets 170 bytes 31777 jump DOCKER
}