diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2016-03-22 14:06:09 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-03-23 12:09:29 +0100 |
commit | 7fa2b0534745f53881ec74a0a73d4f870ea4b026 (patch) | |
tree | ca2e06bcc30a239c50947fbc820388474b5a652c /tests/shell/testcases/chains/0006masquerade_0 | |
parent | 4de76d7f998ed7ef4698f4f5135457b4f58591a2 (diff) |
tests/shell: add chain validations tests
Some basic test regarding chains: jumps and validations.
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/chains/0006masquerade_0')
-rwxr-xr-x | tests/shell/testcases/chains/0006masquerade_0 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/testcases/chains/0006masquerade_0 b/tests/shell/testcases/chains/0006masquerade_0 new file mode 100755 index 00000000..79349988 --- /dev/null +++ b/tests/shell/testcases/chains/0006masquerade_0 @@ -0,0 +1,7 @@ +#!/bin/bash + +set -e + +$NFT add table t +$NFT add chain t c1 {type nat hook postrouting priority 0 \; } +$NFT add rule t c1 masquerade |