blob: 1b239f411f2ae52f576745a1a1b15e715fdd0ce3 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
set -e
$NFT add table x
$NFT add chain x x
$NFT add flowtable x y { hook ingress priority 0\; devices = { lo }\;}
$NFT add rule x x flow offload @y
$NFT delete flowtable x y
echo "E: delete flowtable in use"
|