blob: 55447f0b97379d273bd8ccacb6be2af567480556 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
set -e
RULESET="
add table t
add chain t c { type filter hook output priority mangle; }
add rule t c oif lo ct mark set (meta mark | 0x10) << 8
"
$NFT --debug=eval -f - <<< "$RULESET"
|