blob: b15d1595ff02aad431ae131178104586a0cdb70b (
plain)
1
2
3
4
5
6
7
8
9
10
|
#! nft -f
add table ip filter
add chain ip filter output NF_INET_LOCAL_OUT 0
# IP address
add rule ip filter output ip daddr 192.168.0.1 counter
# TCP ports
add rule ip filter output ip protocol 6 tcp dport 22 counter
|