summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/snat.t
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-04-27 20:10:34 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-04-28 17:32:35 +0200
commit01ae74cdd7579510c7e5d2be40f32404f53f5ec1 (patch)
tree4acf193849c3d5e90b3a21687ff5fe904e80b8ad /tests/py/ip/snat.t
parent84829f1f557fb745cb4dbf9fcf05bdb01b23f989 (diff)
tests: py: concatenation, netmap and nat mappings
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/snat.t')
-rw-r--r--tests/py/ip/snat.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/py/ip/snat.t b/tests/py/ip/snat.t
index 7281bf5f..c6e8a8e6 100644
--- a/tests/py/ip/snat.t
+++ b/tests/py/ip/snat.t
@@ -8,3 +8,7 @@ iifname "eth0" tcp dport {80, 90, 23} snat to 192.168.3.2;ok
iifname "eth0" tcp dport != {80, 90, 23} snat to 192.168.3.2;ok
iifname "eth0" tcp dport != 23-34 snat to 192.168.3.2;ok
+
+snat ip addr . port to ip saddr map { 10.141.11.4 : 192.168.2.3 . 80 };ok
+snat ip interval to ip saddr map { 10.141.11.4 : 192.168.2.2-192.168.2.4 };ok
+snat ip prefix to ip saddr map { 10.141.11.0/24 : 192.168.2.0/24 };ok