blob: 0c35636efaa9885439f10873a4f421a65d2d1041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
set -e
RULESET="table ip x {
chain y {
ip daddr 192.168.0.1 counter accept
ip daddr 192.168.0.2 counter accept
ip daddr 192.168.0.3 counter accept
}
}"
$NFT -o -f - <<< $RULESET
|