diff options
author | Patrick McHardy <kaber@trash.net> | 2009-03-18 04:55:00 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-03-18 04:55:00 +0100 |
commit | fac10ea799fe9b6158d74f66d6ad46536d38a545 (patch) | |
tree | 8c093bcbb2144aab54c70103e6ed438456ae0d48 /tests/family-ipv6 |
Initial commitv0.01-alpha1
Diffstat (limited to 'tests/family-ipv6')
-rwxr-xr-x | tests/family-ipv6 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/family-ipv6 b/tests/family-ipv6 new file mode 100755 index 00000000..7cf54d6f --- /dev/null +++ b/tests/family-ipv6 @@ -0,0 +1,10 @@ +#! nft -f + +table add ip6 filter +chain add ip6 filter output NF_INET_LOCAL_OUT 0 + +# IP address +rule add ip6 filter output ip6 daddr 2001:6f8:974::1 counter + +# TCP ports +rule add ip6 filter output ip6 nexthdr 6 tcp dport 22 counter |