summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_helper.txlate
blob: 2d94f740a37d04011cfc4ec1fe84d4251f653b26 (plain)
1
2
3
4
5
iptables-translate -A FORWARD -m helper --helper sip
nft 'add rule ip filter FORWARD ct helper "sip" counter'

iptables-translate -A FORWARD -m helper ! --helper ftp
nft 'add rule ip filter FORWARD ct helper != "ftp" counter'