summaryrefslogtreecommitdiffstats
path: root/tests/regression/ip/snat.t
Commit message (Collapse)AuthorAgeFilesLines
* tests: regression: fix NAT testsPablo Neira Ayuso2015-06-021-0/+12
snat can be only used from prerouting and input, and dnat from output and postrouting. ip/nat.t: ERROR: line 12: nft add rule ip test-ip4 output iifname eth0 tcp sport 23-34 snat 192.168.3.2: This rule should not have failed. Split the test file as they require different chain configuration. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>