blob: 62971852dfa13e14eb81f6c3d292872096c57b9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
set -e
RULESET="
add table ip t
add chain ip t c { type nat hook postrouting priority 0; }
"
$NFT -f - <<< $RULESET
RULESET="
flush ruleset
$RULESET
"
$NFT -f - <<< $RULESET
|