blob: 2bce02687d6bbecd17842e88254e639e17fd4157 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#! nft -f
add table filter
# chains: add and delete chain
add chain filter testchain
delete chain filter testchain
# chains: add and delete base chain
add chain filter input { type filter hook input priority 0 ; }
delete chain filter input
# chains: can not delete chain while referenced
add chain filter testchain
add chain filter testchain2
add rule filter testchain handle 1 jump testchain2
delete chain filter testchain2
delete rule filter testchain handle 1
delete chain filter testchain2
delete chain filter testchain
|