summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions/0041nat_restore_0
blob: 9e1d6c96e7a19b9f271a61f35ddf3799a9acac86 (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"