How to Filter the HTTP url with iptables

Hi Again
by typing just following command you will filter what ever you want in your http url ..

iptables -I FORWARD  -p tcp –dport 80 -s -m string –string “facebook” –algo kmp -j DROP

for Instance the above command will DROP all packet going to the :)

Regards ;)

Leave a Reply


     Copyrighted Mehdi Behamin , All Rights Reserved
Blog has been visited 204249 times