1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash set -e RULESET="table ip x { chain y { ip saddr { 1.1.1.1-1.1.1.2, 1.1.1.1 } } }" $NFT -f - <<< $RULESET