summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/netmap.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/features/netmap.nft')
-rw-r--r--tests/shell/features/netmap.nft8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/shell/features/netmap.nft b/tests/shell/features/netmap.nft
new file mode 100644
index 00000000..2580a8dc
--- /dev/null
+++ b/tests/shell/features/netmap.nft
@@ -0,0 +1,8 @@
+# 3ff7ddb1353d ("netfilter: nft_nat: add netmap support")
+# v5.8-rc1~165^2~393^2
+table ip x {
+ chain y {
+ type nat hook postrouting priority srcnat; policy accept;
+ snat ip prefix to ip saddr map { 10.141.11.0/24 : 192.168.2.0/24 }
+ }
+}