blob: d19447d42b228d5e0df420b5c568ced19273ff66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
set -e
RULESET="
add table ip6 t
add chain ip6 t c { type filter hook input priority filter; }
add rule ip6 t c meta mark set ip6 dscp lshift 26 or 0x10
"
$NFT -f - <<< "$RULESET"
|