summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/chains/0006masquerade_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/chains/0006masquerade_0')
-rwxr-xr-xtests/shell/testcases/chains/0006masquerade_07
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/testcases/chains/0006masquerade_0 b/tests/shell/testcases/chains/0006masquerade_0
new file mode 100755
index 00000000..79349988
--- /dev/null
+++ b/tests/shell/testcases/chains/0006masquerade_0
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -e
+
+$NFT add table t
+$NFT add chain t c1 {type nat hook postrouting priority 0 \; }
+$NFT add rule t c1 masquerade