summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/dumps/0024priority_0.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/nft-f/dumps/0024priority_0.nft')
-rw-r--r--tests/shell/testcases/nft-f/dumps/0024priority_0.nft10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/shell/testcases/nft-f/dumps/0024priority_0.nft b/tests/shell/testcases/nft-f/dumps/0024priority_0.nft
new file mode 100644
index 00000000..cd7fc504
--- /dev/null
+++ b/tests/shell/testcases/nft-f/dumps/0024priority_0.nft
@@ -0,0 +1,10 @@
+table inet statelessnat {
+ chain prerouting {
+ type filter hook prerouting priority dstnat; policy accept;
+ ip daddr set numgen inc mod 16 map { 0-7 : 10.0.1.1, 8-15 : 10.0.1.2 }
+ }
+
+ chain postrouting {
+ type filter hook postrouting priority srcnat; policy accept;
+ }
+}