blob: b491565ca5732f424ffe3dddc3d53e2cd774f7a7 (
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 input priority filter; }
add rule t c meta mark set ip dscp lshift 2 or 0x10
"
$NFT -f - <<< "$RULESET"
|