selftests: netfilter: add simple masq/redirect test cases
authorFlorian Westphal <fw@strlen.de>
Tue, 29 Jan 2019 14:16:23 +0000 (15:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Mar 2019 21:03:21 +0000 (14:03 -0700)
commit0ea42d0813665ec60682eeac3ab83adbfef556c0
treec2083daf27cdcb16605c4b6b0d667c1fcd4b0eef
parent25825f52ba4138e09dfbeaaa104f363b8256e5cf
selftests: netfilter: add simple masq/redirect test cases

[ Upstream commit 98bfc3414bda335dbd7fec58bde6266f991801d7 ]

Check basic nat/redirect/masquerade for ipv4 and ipv6.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/netfilter/Makefile
tools/testing/selftests/netfilter/nft_nat.sh [new file with mode: 0755]