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.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/py/ip6/snat.t b/tests/py/ip6/snat.t
new file mode 100644
index 00000000..37bf1a1d
--- /dev/null
+++ b/tests/py/ip6/snat.t
@@ -0,0 +1,5 @@
+*ip6;test-ip6
+:postrouting;type nat hook postrouting priority 0
+
+tcp dport 80-90 snat 2001:838:35f:1::-2001:838:35f:2:: :80-100;ok;tcp dport 80-90 snat 2001:838:35f:1::-2001:838:35f:2:::80-100
+tcp dport 80-90 snat 2001:838:35f:1::-2001:838:35f:2:::100;ok