diff options
Diffstat (limited to 'tests/regression/ip6')
-rw-r--r-- | tests/regression/ip6/dnat.t (renamed from tests/regression/ip6/nat.t) | 3 | ||||
-rw-r--r-- | tests/regression/ip6/snat.t | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/regression/ip6/nat.t b/tests/regression/ip6/dnat.t index 2fb4ac81..a2555c72 100644 --- a/tests/regression/ip6/nat.t +++ b/tests/regression/ip6/dnat.t @@ -1,6 +1,5 @@ *ip6;test-ip6 -- *inet;test-inet -:input;type nat hook input priority 0 +:prerouting;type nat hook prerouting 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 diff --git a/tests/regression/ip6/snat.t b/tests/regression/ip6/snat.t new file mode 100644 index 00000000..73452752 --- /dev/null +++ b/tests/regression/ip6/snat.t @@ -0,0 +1,6 @@ +*ip6;test-ip6 +- *inet;test-inet +: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:: :100;ok |