summaryrefslogtreecommitdiffstats
path: root/tests/regression/ip6/nat.t
diff options
context:
space:
mode:
authorAna Rey <anarey@gmail.com>2014-09-18 12:39:17 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-09-18 12:52:44 +0200
commita4253ba1f72face3f3d76cb3559c1ffb07625388 (patch)
tree74c2e135af2753e0c7b086eaad142801535a7847 /tests/regression/ip6/nat.t
parent08435cc55fbd89b271309d5ebba3dda775232898 (diff)
tests: Add ip6 folder with test files.
"ip6" folder contains the test files that are executed in ip6 and inet family of tables. These test files are executed with nft-tests.py Signed-off-by: Ana Rey <anarey@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/regression/ip6/nat.t')
-rw-r--r--tests/regression/ip6/nat.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/regression/ip6/nat.t b/tests/regression/ip6/nat.t
new file mode 100644
index 00000000..2fb4ac81
--- /dev/null
+++ b/tests/regression/ip6/nat.t
@@ -0,0 +1,6 @@
+*ip6;test-ip6
+- *inet;test-inet
+:input;type nat hook input priority 0
+
+tcp dport 80-90 dnat 2001:838:35f:1::-2001:838:35f:2:: :80-100;ok
+tcp dport 80-90 dnat 2001:838:35f:1::-2001:838:35f:2:: :100;ok