summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_LOG.txlate
blob: 81f64fb27094c75c19420fb8ac32499ddce22889 (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\"