diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-09-26 18:51:55 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-10-07 16:35:50 +0200 |
commit | f62d5770765cff20288cc20c2c087544d37e1cbd (patch) | |
tree | 6ce7262302535b806c85fb7c5d57cff9ab7c3ce3 /extensions/libipt_DNAT.t | |
parent | c2881394a5e50f1963f6dff61d492d679201b6c8 (diff) |
extensions: libip6t_DNAT: add unit test
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libipt_DNAT.t')
-rw-r--r-- | extensions/libipt_DNAT.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extensions/libipt_DNAT.t b/extensions/libipt_DNAT.t new file mode 100644 index 00000000..e3fd5632 --- /dev/null +++ b/extensions/libipt_DNAT.t @@ -0,0 +1,8 @@ +:PREROUTING +*nat +-j DNAT --to-destination 1.1.1.1;=;OK +-j DNAT --to-destination 1.1.1.1-1.1.1.10;=;OK +-p tcp -j DNAT --to-destination 1.1.1.1:1025-65535;=;OK +-p tcp -j DNAT --to-destination 1.1.1.1-1.1.1.10:1025-65535;=;OK +-p tcp -j DNAT --to-destination 1.1.1.1-1.1.1.10:1025-65536;;FAIL +-j DNAT;;FAIL |