summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/snat.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/snat.t')
-rw-r--r--tests/py/ip6/snat.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/py/ip6/snat.t b/tests/py/ip6/snat.t
new file mode 100644
index 0000000..564f089
--- /dev/null
+++ b/tests/py/ip6/snat.t
@@ -0,0 +1,6 @@
+:postrouting;type nat hook postrouting priority 0
+
+*ip6;test-ip6;postrouting
+
+tcp dport 80-90 snat to [2001:838:35f:1::]-[2001:838:35f:2::]:80-100;ok
+tcp dport 80-90 snat to [2001:838:35f:1::]-[2001:838:35f:2::]:100;ok