summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_LOG.txlate
blob: 13a2ef55a2b75b5d7b9ceae09d6488fa002d0ba1 (plain)
1
2
3
4
5
iptables-translate -A FORWARD -p tcp -j LOG --log-level error
nft 'add rule ip filter FORWARD ip protocol tcp counter log level err'

iptables-translate -A FORWARD -p tcp -j LOG --log-prefix "Random prefix"
nft 'add rule ip filter FORWARD ip protocol tcp counter log prefix "Random prefix"'