mirror of
https://github.com/nftables-rs/nftables-rs.git
synced 2026-10-20 08:01:34 +00:00
16 lines
270 B
Plaintext
16 lines
270 B
Plaintext
#!/sbin/nft -f
|
|
|
|
flush ruleset
|
|
|
|
table inet named_counter_demo {
|
|
flowtable flowed {
|
|
hook ingress priority filter
|
|
devices = { lo }
|
|
}
|
|
|
|
chain forward {
|
|
type filter hook forward priority filter; policy accept;
|
|
ct state established flow add @flowed
|
|
}
|
|
}
|