summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_helper.txlate
blob: 8259aba3196880b546809a4fc9e53cef1c544bfc (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