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