blob: 1ddb53e521e0a5771140fa3fe1cfb405ad1d380f (
plain)
1
2
3
4
5
6
7
8
9
10
|
#! nft -f
add table ip6 filter
add chain ip6 filter output NF_INET_LOCAL_OUT 0
# IP address
add rule ip6 filter output ip6 daddr 2001:6f8:974::1 counter
# TCP ports
add rule ip6 filter output ip6 nexthdr 6 tcp dport 22 counter
|