Linux – How to configure nDPI for iptables

centosiptableslinuxloggingprotocol

I am new to nDPI, I have installed nDPI but when I add rules like;

iptables -I OUTPUT -m ndpi –http -j REJECT
it shows error

iptables v1.4.7: Couldn't load match `ndpi':/lib64/xtables/libipt_ndpi.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables –help' for more information.

Plz, if anyone can tell me how to configure iptables for nDPI. I am using centOS 6.5

Thanks;

Best Answer

It Seems you have not configured ndpi-netfilter properly. follow all the steps in my blog. https://thingsinlinux.blogspot.com/2016/02/installing-and-configuring-ndpi.html if one step fails, it will not work properly.